Test duration : 10.090s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.109s |
2021-03-08 21:28:45 |
2021-03-08 21:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:45 | ------------------------------------ 2021-03-08 21:28:45 | [Mutex] waiting for: [configured:node:node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6:node-de60d6a8-b97d-4d7b-be3c-d0f607247c20] 2021-03-08 21:28:45 | [Mutex] received everything. 2021-03-08 21:28:45 | [Mutex] isItemNotified: configured:node:node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6:node-de60d6a8-b97d-4d7b-be3c-d0f607247c20 :: true 2021-03-08 21:28:46 | [Mutex] waiting for: [received:nodes:faae4c6d-42c7-4506-b522-c3b7cdacae61:localhost] 2021-03-08 21:28:46 | [Mutex] received everything. 2021-03-08 21:28:46 | [Mutex] isItemNotified: received:node:faae4c6d-42c7-4506-b522-c3b7cdacae61:localhost:node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6:Node a2b7363b-7f24-4c3d-bc2d-e30969f06bc6 :: true 2021-03-08 21:28:46 | [Mutex] waiting for: [received:nodes:059b319d-aebf-4b7c-b5d9-b0329dc7b1cb:localhost] 2021-03-08 21:28:46 | [Mutex] received everything. 2021-03-08 21:28:46 | [Mutex] isItemNotified: received:node:059b319d-aebf-4b7c-b5d9-b0329dc7b1cb:localhost:node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6:Node a2b7363b-7f24-4c3d-bc2d-e30969f06bc6 :: false |
createNodes | 1.516s |
2021-03-08 21:28:42 |
2021-03-08 21:28:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:42 | ------------------------------------ 2021-03-08 21:28:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</title></pubsub></data> 2021-03-08 21:28:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:28:44 | [Mutex] waiting for: [received:nodes:1bb051a6-f2a1-4b81-988c-85684bcac970:localhost] 2021-03-08 21:28:44 | [Mutex] received everything. 2021-03-08 21:28:44 | [Mutex] isItemNotified: received:node:1bb051a6-f2a1-4b81-988c-85684bcac970:localhost:node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6:Node a2b7363b-7f24-4c3d-bc2d-e30969f06bc6 :: true |
createSubnodes | 1.022s |
2021-03-08 21:28:44 |
2021-03-08 21:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:44 | ------------------------------------ 2021-03-08 21:28:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-de60d6a8-b97d-4d7b-be3c-d0f607247c20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node de60d6a8-b97d-4d7b-be3c-d0f607247c20</title></pubsub></data> 2021-03-08 21:28:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:28:45 | [Mutex] waiting for: [received:nodes:0480363f-60d0-43db-8279-d337318778b9:localhost] 2021-03-08 21:28:45 | [Mutex] received everything. 2021-03-08 21:28:45 | [Mutex] isItemNotified: received:node:0480363f-60d0-43db-8279-d337318778b9:localhost:node-de60d6a8-b97d-4d7b-be3c-d0f607247c20:Node de60d6a8-b97d-4d7b-be3c-d0f607247c20 :: true |
deleteNodes | 1.016s |
2021-03-08 21:28:51 |
2021-03-08 21:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:51 | ------------------------------------ 2021-03-08 21:28:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-de60d6a8-b97d-4d7b-be3c-d0f607247c20</node></data> 2021-03-08 21:28:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:28:52 | [Mutex] waiting for: [received:nodes:3c236d13-d337-4239-b09b-6754804d5ef9:localhost] 2021-03-08 21:28:52 | [Mutex] received everything. 2021-03-08 21:28:52 | [Mutex] isItemNotified: received:node:3c236d13-d337-4239-b09b-6754804d5ef9:localhost:node-de60d6a8-b97d-4d7b-be3c-d0f607247c20:Node de60d6a8-b97d-4d7b-be3c-d0f607247c20 :: false |
deleteSubnodes | 1.129s |
2021-03-08 21:28:49 |
2021-03-08 21:28:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:49 | ------------------------------------ 2021-03-08 21:28:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</node></data> 2021-03-08 21:28:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:28:50 | [Mutex] waiting for: [received:nodes:17e141b0-e21f-4a39-ad6e-370a41ef1727:localhost] 2021-03-08 21:28:51 | [Mutex] waiting for: [received:nodes:17e141b0-e21f-4a39-ad6e-370a41ef1727:localhost] 2021-03-08 21:28:51 | [Mutex] received everything. 2021-03-08 21:28:51 | [Mutex] isItemNotified: received:node:17e141b0-e21f-4a39-ad6e-370a41ef1727:localhost:node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6:Node a2b7363b-7f24-4c3d-bc2d-e30969f06bc6 :: false 2021-03-08 21:28:51 | [Mutex] waiting for: [received:nodes:c29639cf-fc4a-4d0c-8b1b-198c172f184c:localhost] 2021-03-08 21:28:51 | [Mutex] received everything. 2021-03-08 21:28:51 | [Mutex] isItemNotified: received:node:c29639cf-fc4a-4d0c-8b1b-198c172f184c:localhost:node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6:Node a2b7363b-7f24-4c3d-bc2d-e30969f06bc6 :: false |
publishItemsToNodes | 0.198s |
2021-03-08 21:28:47 |
2021-03-08 21:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:47 | ------------------------------------ 2021-03-08 21:28:47 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</node><item-id>item-9299c558-d5f1-46d3-a555-a9848a95d57c</item-id><entry><test>item-9299c558-d5f1-46d3-a555-a9848a95d57c</test></entry></data> 2021-03-08 21:28:47 | 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-9299c558-d5f1-46d3-a555-a9848a95d57c</value></item-id></result> 2021-03-08 21:28:47 | [Mutex] received everything. 2021-03-08 21:28:47 | [Mutex] isItemNotified: published:item:notifieditem-9299c558-d5f1-46d3-a555-a9848a95d57c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.387s |
2021-03-08 21:28:48 |
2021-03-08 21:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:48 | ------------------------------------ 2021-03-08 21:28:48 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</node><item-id>item-9299c558-d5f1-46d3-a555-a9848a95d57c</item-id></data> 2021-03-08 21:28:48 | 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-9299c558-d5f1-46d3-a555-a9848a95d57c</value></item-id></result> 2021-03-08 21:28:48 | [Mutex] received everything. 2021-03-08 21:28:48 | [Mutex] isItemNotified: retracted:item:notifieditem-9299c558-d5f1-46d3-a555-a9848a95d57c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.288s |
2021-03-08 21:28:47 |
2021-03-08 21:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:47 | ------------------------------------ 2021-03-08 21:28:47 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</node><item-id>item-9299c558-d5f1-46d3-a555-a9848a95d57c</item-id></data> 2021-03-08 21:28:48 | 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-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</value></node><item-id type="text-single" label="Item ID"><value>item-9299c558-d5f1-46d3-a555-a9848a95d57c</value></item-id><item type="text-multi" label="Item"><value><item id="item-9299c558-d5f1-46d3-a555-a9848a95d57c"><test>item-9299c558-d5f1-46d3-a555-a9848a95d57c</test></item></value></item></result> 2021-03-08 21:28:48 | [Mutex] notify: [retrieved:item:item-9299c558-d5f1-46d3-a555-a9848a95d57c:payload-matches:true:localhost] 2021-03-08 21:28:48 | [Mutex] received everything. 2021-03-08 21:28:48 | [Mutex] isItemNotified: retrieved:item:item-9299c558-d5f1-46d3-a555-a9848a95d57c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-08 21:28:48 |
2021-03-08 21:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:48 | ------------------------------------ 2021-03-08 21:28:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-08 21:28:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-de60d6a8-b97d-4d7b-be3c-d0f607247c20</value><value>test</value><value>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-03-08 21:28:48 |
2021-03-08 21:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:48 | ------------------------------------ 2021-03-08 21:28:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6)</node-pattern></data> 2021-03-08 21:28:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.147s |
2021-03-08 21:28:46 |
2021-03-08 21:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:46 | ------------------------------------ 2021-03-08 21:28:46 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-08 21:28:46 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2021-03-08 21:28:48 |
2021-03-08 21:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:28:48 | ------------------------------------ 2021-03-08 21:28:48 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a2b7363b-7f24-4c3d-bc2d-e30969f06bc6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-08 21:28:48 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |