Test duration : 9.443s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2023-02-27 21:43:34 |
2023-02-27 21:43:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:34 | ------------------------------------ 2023-02-27 21:43:34 | [Mutex] waiting for: [configured:node:node-7e6f51ac-c290-4666-8577-706ff3628e17:node-ecce0f35-0939-44c9-97f7-f0953b431ead] 2023-02-27 21:43:34 | [Mutex] received everything. 2023-02-27 21:43:34 | [Mutex] isItemNotified: configured:node:node-7e6f51ac-c290-4666-8577-706ff3628e17:node-ecce0f35-0939-44c9-97f7-f0953b431ead :: true 2023-02-27 21:43:35 | [Mutex] waiting for: [received:nodes:2cfa7d40-84bc-44c3-a7d2-79087cb4de49:localhost] 2023-02-27 21:43:35 | [Mutex] received everything. 2023-02-27 21:43:35 | [Mutex] isItemNotified: received:node:2cfa7d40-84bc-44c3-a7d2-79087cb4de49:localhost:node-7e6f51ac-c290-4666-8577-706ff3628e17:Node 7e6f51ac-c290-4666-8577-706ff3628e17 :: true 2023-02-27 21:43:35 | [Mutex] waiting for: [received:nodes:c50a7608-c6dc-4d93-8bad-cc9364df533d:localhost] 2023-02-27 21:43:35 | [Mutex] waiting for: [received:nodes:c50a7608-c6dc-4d93-8bad-cc9364df533d:localhost] 2023-02-27 21:43:35 | [Mutex] waiting for: [received:nodes:c50a7608-c6dc-4d93-8bad-cc9364df533d:localhost] 2023-02-27 21:43:35 | [Mutex] waiting for: [received:nodes:c50a7608-c6dc-4d93-8bad-cc9364df533d:localhost] 2023-02-27 21:43:35 | [Mutex] received everything. 2023-02-27 21:43:35 | [Mutex] isItemNotified: received:node:c50a7608-c6dc-4d93-8bad-cc9364df533d:localhost:node-7e6f51ac-c290-4666-8577-706ff3628e17:Node 7e6f51ac-c290-4666-8577-706ff3628e17 :: false |
createNodes | 1.405s |
2023-02-27 21:43:31 |
2023-02-27 21:43:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:31 | ------------------------------------ 2023-02-27 21:43:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7e6f51ac-c290-4666-8577-706ff3628e17</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7e6f51ac-c290-4666-8577-706ff3628e17</title></pubsub></data> 2023-02-27 21:43:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-27 21:43:33 | [Mutex] waiting for: [received:nodes:34b6fb3f-8035-4f43-9eb5-e9db7a5a1f44:localhost] 2023-02-27 21:43:33 | [Mutex] waiting for: [received:nodes:34b6fb3f-8035-4f43-9eb5-e9db7a5a1f44:localhost] 2023-02-27 21:43:33 | [Mutex] waiting for: [received:nodes:34b6fb3f-8035-4f43-9eb5-e9db7a5a1f44:localhost] 2023-02-27 21:43:33 | [Mutex] waiting for: [received:nodes:34b6fb3f-8035-4f43-9eb5-e9db7a5a1f44:localhost] 2023-02-27 21:43:33 | [Mutex] received everything. 2023-02-27 21:43:33 | [Mutex] isItemNotified: received:node:34b6fb3f-8035-4f43-9eb5-e9db7a5a1f44:localhost:node-7e6f51ac-c290-4666-8577-706ff3628e17:Node 7e6f51ac-c290-4666-8577-706ff3628e17 :: true |
createSubnodes | 1.031s |
2023-02-27 21:43:33 |
2023-02-27 21:43:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:33 | ------------------------------------ 2023-02-27 21:43:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ecce0f35-0939-44c9-97f7-f0953b431ead</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ecce0f35-0939-44c9-97f7-f0953b431ead</title></pubsub></data> 2023-02-27 21:43:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-27 21:43:34 | [Mutex] waiting for: [received:nodes:217504ca-21f3-45c1-aa2a-017087484ee0:localhost] 2023-02-27 21:43:34 | [Mutex] waiting for: [received:nodes:217504ca-21f3-45c1-aa2a-017087484ee0:localhost] 2023-02-27 21:43:34 | [Mutex] waiting for: [received:nodes:217504ca-21f3-45c1-aa2a-017087484ee0:localhost] 2023-02-27 21:43:34 | [Mutex] waiting for: [received:nodes:217504ca-21f3-45c1-aa2a-017087484ee0:localhost] 2023-02-27 21:43:34 | [Mutex] received everything. 2023-02-27 21:43:34 | [Mutex] isItemNotified: received:node:217504ca-21f3-45c1-aa2a-017087484ee0:localhost:node-ecce0f35-0939-44c9-97f7-f0953b431ead:Node ecce0f35-0939-44c9-97f7-f0953b431ead :: true |
deleteNodes | 1.022s |
2023-02-27 21:43:39 |
2023-02-27 21:43:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:39 | ------------------------------------ 2023-02-27 21:43:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ecce0f35-0939-44c9-97f7-f0953b431ead</node></data> 2023-02-27 21:43:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-27 21:43:40 | [Mutex] waiting for: [received:nodes:1ed589dd-9873-420a-b5af-84c197b65469:localhost] 2023-02-27 21:43:40 | [Mutex] waiting for: [received:nodes:1ed589dd-9873-420a-b5af-84c197b65469:localhost] 2023-02-27 21:43:40 | [Mutex] waiting for: [received:nodes:1ed589dd-9873-420a-b5af-84c197b65469:localhost] 2023-02-27 21:43:40 | [Mutex] received everything. 2023-02-27 21:43:40 | [Mutex] isItemNotified: received:node:1ed589dd-9873-420a-b5af-84c197b65469:localhost:node-ecce0f35-0939-44c9-97f7-f0953b431ead:Node ecce0f35-0939-44c9-97f7-f0953b431ead :: false |
deleteSubnodes | 1.168s |
2023-02-27 21:43:38 |
2023-02-27 21:43:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:38 | ------------------------------------ 2023-02-27 21:43:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7e6f51ac-c290-4666-8577-706ff3628e17</node></data> 2023-02-27 21:43:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-27 21:43:39 | [Mutex] waiting for: [received:nodes:fe08e4cd-d92d-4a22-8667-1c1262f90206:localhost] 2023-02-27 21:43:39 | [Mutex] waiting for: [received:nodes:fe08e4cd-d92d-4a22-8667-1c1262f90206:localhost] 2023-02-27 21:43:39 | [Mutex] waiting for: [received:nodes:fe08e4cd-d92d-4a22-8667-1c1262f90206:localhost] 2023-02-27 21:43:39 | [Mutex] waiting for: [received:nodes:fe08e4cd-d92d-4a22-8667-1c1262f90206:localhost] 2023-02-27 21:43:39 | [Mutex] received everything. 2023-02-27 21:43:39 | [Mutex] isItemNotified: received:node:fe08e4cd-d92d-4a22-8667-1c1262f90206:localhost:node-7e6f51ac-c290-4666-8577-706ff3628e17:Node 7e6f51ac-c290-4666-8577-706ff3628e17 :: false 2023-02-27 21:43:39 | [Mutex] waiting for: [received:nodes:8ca7eb7a-77e3-4ffc-ba47-2d207eafdae9:localhost] 2023-02-27 21:43:39 | [Mutex] received everything. 2023-02-27 21:43:39 | [Mutex] isItemNotified: received:node:8ca7eb7a-77e3-4ffc-ba47-2d207eafdae9:localhost:node-7e6f51ac-c290-4666-8577-706ff3628e17:Node 7e6f51ac-c290-4666-8577-706ff3628e17 :: false |
publishItemsToNodes | 0.223s |
2023-02-27 21:43:36 |
2023-02-27 21:43:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:36 | ------------------------------------ 2023-02-27 21:43:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7e6f51ac-c290-4666-8577-706ff3628e17</node><item-id>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</item-id><entry><test>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</test></entry></data> 2023-02-27 21:43:36 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</value></item-id></result> 2023-02-27 21:43:36 | [Mutex] waiting for: [published:item:notifieditem-205a5fcd-614f-44da-8b27-7f5e64e2abde:admin@test-domain.com] 2023-02-27 21:43:36 | [Mutex] received everything. 2023-02-27 21:43:36 | [Mutex] isItemNotified: published:item:notifieditem-205a5fcd-614f-44da-8b27-7f5e64e2abde:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2023-02-27 21:43:36 |
2023-02-27 21:43:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:36 | ------------------------------------ 2023-02-27 21:43:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7e6f51ac-c290-4666-8577-706ff3628e17</node><item-id>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</item-id></data> 2023-02-27 21:43:37 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</value></item-id></result> 2023-02-27 21:43:37 | [Mutex] received everything. 2023-02-27 21:43:37 | [Mutex] isItemNotified: retracted:item:notifieditem-205a5fcd-614f-44da-8b27-7f5e64e2abde:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.133s |
2023-02-27 21:43:36 |
2023-02-27 21:43:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:36 | ------------------------------------ 2023-02-27 21:43:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7e6f51ac-c290-4666-8577-706ff3628e17</node><item-id>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</item-id></data> 2023-02-27 21:43:36 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-7e6f51ac-c290-4666-8577-706ff3628e17</value></node><item-id type="text-single" label="Item ID"><value>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</value></item-id><item type="text-multi" label="Item"><value><item id="item-205a5fcd-614f-44da-8b27-7f5e64e2abde"><test>item-205a5fcd-614f-44da-8b27-7f5e64e2abde</test></item></value></item></result> 2023-02-27 21:43:36 | [Mutex] notify: [retrieved:item:item-205a5fcd-614f-44da-8b27-7f5e64e2abde:payload-matches:true:localhost] 2023-02-27 21:43:36 | [Mutex] received everything. 2023-02-27 21:43:36 | [Mutex] isItemNotified: retrieved:item:item-205a5fcd-614f-44da-8b27-7f5e64e2abde:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2023-02-27 21:43:36 |
2023-02-27 21:43:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:36 | ------------------------------------ 2023-02-27 21:43:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-02-27 21:43:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-7e6f51ac-c290-4666-8577-706ff3628e17</value><value>node-ecce0f35-0939-44c9-97f7-f0953b431ead</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2023-02-27 21:43:36 |
2023-02-27 21:43:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:36 | ------------------------------------ 2023-02-27 21:43:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7e6f51ac-c290-4666-8577-706ff3628e17)</node-pattern></data> 2023-02-27 21:43:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.131s |
2023-02-27 21:43:35 |
2023-02-27 21:43:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:35 | ------------------------------------ 2023-02-27 21:43:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7e6f51ac-c290-4666-8577-706ff3628e17</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-27 21:43:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2023-02-27 21:43:37 |
2023-02-27 21:43:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-27 21:43:37 | ------------------------------------ 2023-02-27 21:43:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7e6f51ac-c290-4666-8577-706ff3628e17</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-27 21:43:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |