Test duration : 9.896s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2020-11-09 21:29:04 |
2020-11-09 21:29:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:04 | ------------------------------------ 2020-11-09 21:29:04 | [Mutex] waiting for: [configured:node:node-8bd13cc6-d87e-40de-8a16-c95ece2384d1:node-6e3b02d5-58a5-478a-a420-612c835021ce] 2020-11-09 21:29:04 | [Mutex] received everything. 2020-11-09 21:29:04 | [Mutex] isItemNotified: configured:node:node-8bd13cc6-d87e-40de-8a16-c95ece2384d1:node-6e3b02d5-58a5-478a-a420-612c835021ce :: true 2020-11-09 21:29:05 | [Mutex] waiting for: [received:nodes:0f995b5e-09e8-461c-a7ae-c92caf39ae28:localhost] 2020-11-09 21:29:05 | [Mutex] received everything. 2020-11-09 21:29:05 | [Mutex] isItemNotified: received:node:0f995b5e-09e8-461c-a7ae-c92caf39ae28:localhost:node-8bd13cc6-d87e-40de-8a16-c95ece2384d1:Node 8bd13cc6-d87e-40de-8a16-c95ece2384d1 :: true 2020-11-09 21:29:05 | [Mutex] waiting for: [received:nodes:2b5e5974-4120-451b-9e50-ca4337588f32:localhost] 2020-11-09 21:29:05 | [Mutex] waiting for: [received:nodes:2b5e5974-4120-451b-9e50-ca4337588f32:localhost] 2020-11-09 21:29:05 | [Mutex] received everything. 2020-11-09 21:29:05 | [Mutex] isItemNotified: received:node:2b5e5974-4120-451b-9e50-ca4337588f32:localhost:node-8bd13cc6-d87e-40de-8a16-c95ece2384d1:Node 8bd13cc6-d87e-40de-8a16-c95ece2384d1 :: false |
createNodes | 1.437s |
2020-11-09 21:29:01 |
2020-11-09 21:29:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:01 | ------------------------------------ 2020-11-09 21:29:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8bd13cc6-d87e-40de-8a16-c95ece2384d1</title></pubsub></data> 2020-11-09 21:29:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 21:29:03 | [Mutex] waiting for: [received:nodes:0ece2c3d-900b-41ba-9dec-562395fc166e:localhost] 2020-11-09 21:29:03 | [Mutex] waiting for: [received:nodes:0ece2c3d-900b-41ba-9dec-562395fc166e:localhost] 2020-11-09 21:29:03 | [Mutex] received everything. 2020-11-09 21:29:03 | [Mutex] isItemNotified: received:node:0ece2c3d-900b-41ba-9dec-562395fc166e:localhost:node-8bd13cc6-d87e-40de-8a16-c95ece2384d1:Node 8bd13cc6-d87e-40de-8a16-c95ece2384d1 :: true |
createSubnodes | 1.024s |
2020-11-09 21:29:03 |
2020-11-09 21:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:03 | ------------------------------------ 2020-11-09 21:29:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6e3b02d5-58a5-478a-a420-612c835021ce</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6e3b02d5-58a5-478a-a420-612c835021ce</title></pubsub></data> 2020-11-09 21:29:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 21:29:04 | [Mutex] waiting for: [received:nodes:460e466d-b971-4ef8-b787-855bf44ddeea:localhost] 2020-11-09 21:29:04 | [Mutex] received everything. 2020-11-09 21:29:04 | [Mutex] isItemNotified: received:node:460e466d-b971-4ef8-b787-855bf44ddeea:localhost:node-6e3b02d5-58a5-478a-a420-612c835021ce:Node 6e3b02d5-58a5-478a-a420-612c835021ce :: true |
deleteNodes | 1.019s |
2020-11-09 21:29:09 |
2020-11-09 21:29:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:09 | ------------------------------------ 2020-11-09 21:29:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6e3b02d5-58a5-478a-a420-612c835021ce</node></data> 2020-11-09 21:29:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 21:29:10 | [Mutex] waiting for: [received:nodes:79ef2c63-7ba3-40fd-aea9-9a4905faa2ab:localhost] 2020-11-09 21:29:10 | [Mutex] received everything. 2020-11-09 21:29:10 | [Mutex] isItemNotified: received:node:79ef2c63-7ba3-40fd-aea9-9a4905faa2ab:localhost:node-6e3b02d5-58a5-478a-a420-612c835021ce:Node 6e3b02d5-58a5-478a-a420-612c835021ce :: false |
deleteSubnodes | 1.133s |
2020-11-09 21:29:08 |
2020-11-09 21:29:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:08 | ------------------------------------ 2020-11-09 21:29:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</node></data> 2020-11-09 21:29:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 21:29:09 | [Mutex] waiting for: [received:nodes:fa543b6f-808b-4018-9682-e9047756a179:localhost] 2020-11-09 21:29:09 | [Mutex] waiting for: [received:nodes:fa543b6f-808b-4018-9682-e9047756a179:localhost] 2020-11-09 21:29:09 | [Mutex] received everything. 2020-11-09 21:29:09 | [Mutex] isItemNotified: received:node:fa543b6f-808b-4018-9682-e9047756a179:localhost:node-8bd13cc6-d87e-40de-8a16-c95ece2384d1:Node 8bd13cc6-d87e-40de-8a16-c95ece2384d1 :: false 2020-11-09 21:29:09 | [Mutex] waiting for: [received:nodes:d39d8e78-3236-4739-8f8b-3eac20b2a635:localhost] 2020-11-09 21:29:09 | [Mutex] received everything. 2020-11-09 21:29:09 | [Mutex] isItemNotified: received:node:d39d8e78-3236-4739-8f8b-3eac20b2a635:localhost:node-8bd13cc6-d87e-40de-8a16-c95ece2384d1:Node 8bd13cc6-d87e-40de-8a16-c95ece2384d1 :: false |
publishItemsToNodes | 0.199s |
2020-11-09 21:29:06 |
2020-11-09 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:06 | ------------------------------------ 2020-11-09 21:29:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</node><item-id>item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</item-id><entry><test>item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</test></entry></data> 2020-11-09 21:29:06 | 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-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</value></item-id></result> 2020-11-09 21:29:06 | [Mutex] received everything. 2020-11-09 21:29:06 | [Mutex] isItemNotified: published:item:notifieditem-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.232s |
2020-11-09 21:29:06 |
2020-11-09 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:06 | ------------------------------------ 2020-11-09 21:29:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</node><item-id>item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</item-id></data> 2020-11-09 21:29:07 | 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-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</value></item-id></result> 2020-11-09 21:29:07 | [Mutex] received everything. 2020-11-09 21:29:07 | [Mutex] isItemNotified: retracted:item:notifieditem-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.287s |
2020-11-09 21:29:06 |
2020-11-09 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:06 | ------------------------------------ 2020-11-09 21:29:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</node><item-id>item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</item-id></data> 2020-11-09 21:29:06 | 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-8bd13cc6-d87e-40de-8a16-c95ece2384d1</value></node><item-id type="text-single" label="Item ID"><value>item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</value></item-id><item type="text-multi" label="Item"><value><item id="item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8"><test>item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8</test></item></value></item></result> 2020-11-09 21:29:06 | [Mutex] notify: [retrieved:item:item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8:payload-matches:true:localhost] 2020-11-09 21:29:06 | [Mutex] received everything. 2020-11-09 21:29:06 | [Mutex] isItemNotified: retrieved:item:item-01fe0ee3-e1a4-4cc5-8365-2a6de1d313a8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-11-09 21:29:06 |
2020-11-09 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:06 | ------------------------------------ 2020-11-09 21:29:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-09 21:29:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</value><value>test</value><value>node-6e3b02d5-58a5-478a-a420-612c835021ce</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-09 21:29:06 |
2020-11-09 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:06 | ------------------------------------ 2020-11-09 21:29:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8bd13cc6-d87e-40de-8a16-c95ece2384d1)</node-pattern></data> 2020-11-09 21:29:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.135s |
2020-11-09 21:29:05 |
2020-11-09 21:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:05 | ------------------------------------ 2020-11-09 21:29:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-09 21:29:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.286s |
2020-11-09 21:29:07 |
2020-11-09 21:29:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 21:29:07 | ------------------------------------ 2020-11-09 21:29:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8bd13cc6-d87e-40de-8a16-c95ece2384d1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-09 21:29:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |