Test duration: 9.926s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2020-06-17 00:27:51 |
2020-06-17 00:27:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:51 | ------------------------------------ 2020-06-17 00:27:51 | [Mutex] waiting for: [configured:node:node-44bc2e97-77a8-4f30-910f-fb608b42d1d7:node-d48af570-1072-4888-a0ec-317a1e2d0ede] 2020-06-17 00:27:51 | [Mutex] received everything. 2020-06-17 00:27:51 | [Mutex] isItemNotified: configured:node:node-44bc2e97-77a8-4f30-910f-fb608b42d1d7:node-d48af570-1072-4888-a0ec-317a1e2d0ede :: true 2020-06-17 00:27:52 | [Mutex] waiting for: [received:nodes:16247f8f-7cd6-44b3-8fa4-8ee011f988a7:localhost] 2020-06-17 00:27:52 | [Mutex] received everything. 2020-06-17 00:27:52 | [Mutex] isItemNotified: received:node:16247f8f-7cd6-44b3-8fa4-8ee011f988a7:localhost:node-44bc2e97-77a8-4f30-910f-fb608b42d1d7:Node 44bc2e97-77a8-4f30-910f-fb608b42d1d7 :: true 2020-06-17 00:27:52 | [Mutex] waiting for: [received:nodes:2e09ee6e-24a9-4c52-be51-eac044f8a422:localhost] 2020-06-17 00:27:52 | [Mutex] received everything. 2020-06-17 00:27:52 | [Mutex] isItemNotified: received:node:2e09ee6e-24a9-4c52-be51-eac044f8a422:localhost:node-44bc2e97-77a8-4f30-910f-fb608b42d1d7:Node 44bc2e97-77a8-4f30-910f-fb608b42d1d7 :: false |
createNodes | 1.455s |
2020-06-17 00:27:48 |
2020-06-17 00:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:48 | ------------------------------------ 2020-06-17 00:27:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-44bc2e97-77a8-4f30-910f-fb608b42d1d7</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 44bc2e97-77a8-4f30-910f-fb608b42d1d7</title></pubsub></data> 2020-06-17 00:27:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-17 00:27:50 | [Mutex] waiting for: [received:nodes:eceefd41-b1bd-4c02-9988-38d0c01c2272:localhost] 2020-06-17 00:27:50 | [Mutex] received everything. 2020-06-17 00:27:50 | [Mutex] isItemNotified: received:node:eceefd41-b1bd-4c02-9988-38d0c01c2272:localhost:node-44bc2e97-77a8-4f30-910f-fb608b42d1d7:Node 44bc2e97-77a8-4f30-910f-fb608b42d1d7 :: true |
createSubnodes | 1.026s |
2020-06-17 00:27:50 |
2020-06-17 00:27:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:50 | ------------------------------------ 2020-06-17 00:27:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d48af570-1072-4888-a0ec-317a1e2d0ede</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d48af570-1072-4888-a0ec-317a1e2d0ede</title></pubsub></data> 2020-06-17 00:27:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-17 00:27:51 | [Mutex] waiting for: [received:nodes:b6f079a2-003c-4583-a3c5-62669d705ae6:localhost] 2020-06-17 00:27:51 | [Mutex] received everything. 2020-06-17 00:27:51 | [Mutex] isItemNotified: received:node:b6f079a2-003c-4583-a3c5-62669d705ae6:localhost:node-d48af570-1072-4888-a0ec-317a1e2d0ede:Node d48af570-1072-4888-a0ec-317a1e2d0ede :: true |
deleteNodes | 1.015s |
2020-06-17 00:27:56 |
2020-06-17 00:27:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:56 | ------------------------------------ 2020-06-17 00:27:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d48af570-1072-4888-a0ec-317a1e2d0ede</node></data> 2020-06-17 00:27:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-17 00:27:57 | [Mutex] waiting for: [received:nodes:c6792f65-66ba-4019-b582-ebfbc630ec45:localhost] 2020-06-17 00:27:57 | [Mutex] waiting for: [received:nodes:c6792f65-66ba-4019-b582-ebfbc630ec45:localhost] 2020-06-17 00:27:57 | [Mutex] received everything. 2020-06-17 00:27:57 | [Mutex] isItemNotified: received:node:c6792f65-66ba-4019-b582-ebfbc630ec45:localhost:node-d48af570-1072-4888-a0ec-317a1e2d0ede:Node d48af570-1072-4888-a0ec-317a1e2d0ede :: false |
deleteSubnodes | 1.131s |
2020-06-17 00:27:55 |
2020-06-17 00:27:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:55 | ------------------------------------ 2020-06-17 00:27:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-44bc2e97-77a8-4f30-910f-fb608b42d1d7</node></data> 2020-06-17 00:27:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-17 00:27:56 | [Mutex] waiting for: [received:nodes:e9c6b1b1-5429-457f-b549-b4c6cf3de376:localhost] 2020-06-17 00:27:56 | [Mutex] received everything. 2020-06-17 00:27:56 | [Mutex] isItemNotified: received:node:e9c6b1b1-5429-457f-b549-b4c6cf3de376:localhost:node-44bc2e97-77a8-4f30-910f-fb608b42d1d7:Node 44bc2e97-77a8-4f30-910f-fb608b42d1d7 :: false 2020-06-17 00:27:56 | [Mutex] waiting for: [received:nodes:bbed9972-63c8-41e5-932c-718690e91933:localhost] 2020-06-17 00:27:56 | [Mutex] received everything. 2020-06-17 00:27:56 | [Mutex] isItemNotified: received:node:bbed9972-63c8-41e5-932c-718690e91933:localhost:node-44bc2e97-77a8-4f30-910f-fb608b42d1d7:Node 44bc2e97-77a8-4f30-910f-fb608b42d1d7 :: false |
publishItemsToNodes | 0.191s |
2020-06-17 00:27:53 |
2020-06-17 00:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:53 | ------------------------------------ 2020-06-17 00:27:53 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-44bc2e97-77a8-4f30-910f-fb608b42d1d7</node><item-id>item-611a6baa-0d61-4dd8-844d-d520c79168f8</item-id><entry><test>item-611a6baa-0d61-4dd8-844d-d520c79168f8</test></entry></data> 2020-06-17 00:27:53 | 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-611a6baa-0d61-4dd8-844d-d520c79168f8</value></item-id></result> 2020-06-17 00:27:53 | [Mutex] waiting for: [published:item:notifieditem-611a6baa-0d61-4dd8-844d-d520c79168f8:admin@localhost] 2020-06-17 00:27:53 | [Mutex] received everything. 2020-06-17 00:27:53 | [Mutex] isItemNotified: published:item:notifieditem-611a6baa-0d61-4dd8-844d-d520c79168f8:admin@localhost :: true |
retractItemsFromNodes | 0.327s |
2020-06-17 00:27:53 |
2020-06-17 00:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:53 | ------------------------------------ 2020-06-17 00:27:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-44bc2e97-77a8-4f30-910f-fb608b42d1d7</node><item-id>item-611a6baa-0d61-4dd8-844d-d520c79168f8</item-id></data> 2020-06-17 00:27:54 | 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-611a6baa-0d61-4dd8-844d-d520c79168f8</value></item-id></result> 2020-06-17 00:27:54 | [Mutex] received everything. 2020-06-17 00:27:54 | [Mutex] isItemNotified: retracted:item:notifieditem-611a6baa-0d61-4dd8-844d-d520c79168f8:admin@localhost :: true |
retrieveItemsFromNodes | 0.227s |
2020-06-17 00:27:53 |
2020-06-17 00:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:53 | ------------------------------------ 2020-06-17 00:27:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-44bc2e97-77a8-4f30-910f-fb608b42d1d7</node><item-id>item-611a6baa-0d61-4dd8-844d-d520c79168f8</item-id></data> 2020-06-17 00:27:53 | 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-44bc2e97-77a8-4f30-910f-fb608b42d1d7</value></node><item-id type="text-single" label="Item ID"><value>item-611a6baa-0d61-4dd8-844d-d520c79168f8</value></item-id><item type="text-multi" label="Item"><value><item id="item-611a6baa-0d61-4dd8-844d-d520c79168f8"><test>item-611a6baa-0d61-4dd8-844d-d520c79168f8</test></item></value></item></result> 2020-06-17 00:27:53 | [Mutex] notify: [retrieved:item:item-611a6baa-0d61-4dd8-844d-d520c79168f8:payload-matches:true:localhost] 2020-06-17 00:27:53 | [Mutex] received everything. 2020-06-17 00:27:53 | [Mutex] isItemNotified: retrieved:item:item-611a6baa-0d61-4dd8-844d-d520c79168f8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.208s |
2020-06-17 00:27:53 |
2020-06-17 00:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:53 | ------------------------------------ 2020-06-17 00:27:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-06-17 00:27:53 | 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-44bc2e97-77a8-4f30-910f-fb608b42d1d7</value><value>node-d48af570-1072-4888-a0ec-317a1e2d0ede</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-06-17 00:27:53 |
2020-06-17 00:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:53 | ------------------------------------ 2020-06-17 00:27:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-44bc2e97-77a8-4f30-910f-fb608b42d1d7)</node-pattern></data> 2020-06-17 00:27:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.097s |
2020-06-17 00:27:52 |
2020-06-17 00:27:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:52 | ------------------------------------ 2020-06-17 00:27:52 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-44bc2e97-77a8-4f30-910f-fb608b42d1d7</node><jids><value>admin@localhost</value></jids></data> 2020-06-17 00:27:52 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.156s |
2020-06-17 00:27:54 |
2020-06-17 00:27:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-17 00:27:54 | ------------------------------------ 2020-06-17 00:27:54 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-44bc2e97-77a8-4f30-910f-fb608b42d1d7</node><jids><value>admin@localhost</value></jids></data> 2020-06-17 00:27:54 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |