Test duration: 10.460s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2019-11-22 20:42:41 |
2019-11-22 20:42:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:41 | ------------------------------------ 2019-11-22 20:42:41 | [Mutex] waiting for: [configured:node:node-c6fef518-ad04-4bab-8bc7-4509b5ee3053:node-c61a1029-8922-4ff2-9802-adeaa703c269] 2019-11-22 20:42:41 | [Mutex] received everything. 2019-11-22 20:42:41 | [Mutex] isItemNotified: configured:node:node-c6fef518-ad04-4bab-8bc7-4509b5ee3053:node-c61a1029-8922-4ff2-9802-adeaa703c269 :: true 2019-11-22 20:42:42 | [Mutex] waiting for: [received:nodes:3cb3e23d-7e6f-437e-97aa-a1b8d564a2ed:localhost] 2019-11-22 20:42:42 | [Mutex] received everything. 2019-11-22 20:42:42 | [Mutex] isItemNotified: received:node:3cb3e23d-7e6f-437e-97aa-a1b8d564a2ed:localhost:node-c6fef518-ad04-4bab-8bc7-4509b5ee3053:Node c6fef518-ad04-4bab-8bc7-4509b5ee3053 :: true 2019-11-22 20:42:42 | [Mutex] waiting for: [received:nodes:e32bee26-06d2-4990-b38c-25cf3fc4ee1d:localhost] 2019-11-22 20:42:42 | [Mutex] received everything. 2019-11-22 20:42:42 | [Mutex] isItemNotified: received:node:e32bee26-06d2-4990-b38c-25cf3fc4ee1d:localhost:node-c6fef518-ad04-4bab-8bc7-4509b5ee3053:Node c6fef518-ad04-4bab-8bc7-4509b5ee3053 :: false |
createNodes | 1.492s |
2019-11-22 20:42:38 |
2019-11-22 20:42:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:38 | ------------------------------------ 2019-11-22 20:42:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c6fef518-ad04-4bab-8bc7-4509b5ee3053</title></pubsub></data> 2019-11-22 20:42:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:42:40 | [Mutex] waiting for: [received:nodes:89826e86-d934-430c-a0f8-9d952e408bbd:localhost] 2019-11-22 20:42:40 | [Mutex] received everything. 2019-11-22 20:42:40 | [Mutex] isItemNotified: received:node:89826e86-d934-430c-a0f8-9d952e408bbd:localhost:node-c6fef518-ad04-4bab-8bc7-4509b5ee3053:Node c6fef518-ad04-4bab-8bc7-4509b5ee3053 :: true |
createSubnodes | 1.029s |
2019-11-22 20:42:40 |
2019-11-22 20:42:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:40 | ------------------------------------ 2019-11-22 20:42:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c61a1029-8922-4ff2-9802-adeaa703c269</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c61a1029-8922-4ff2-9802-adeaa703c269</title></pubsub></data> 2019-11-22 20:42:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:42:41 | [Mutex] waiting for: [received:nodes:b4b8f01d-3326-491d-bbd6-de326a2fdda0:localhost] 2019-11-22 20:42:41 | [Mutex] received everything. 2019-11-22 20:42:41 | [Mutex] isItemNotified: received:node:b4b8f01d-3326-491d-bbd6-de326a2fdda0:localhost:node-c61a1029-8922-4ff2-9802-adeaa703c269:Node c61a1029-8922-4ff2-9802-adeaa703c269 :: true |
deleteNodes | 1.020s |
2019-11-22 20:42:47 |
2019-11-22 20:42:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:47 | ------------------------------------ 2019-11-22 20:42:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c61a1029-8922-4ff2-9802-adeaa703c269</node></data> 2019-11-22 20:42:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:42:48 | [Mutex] waiting for: [received:nodes:df18aafb-382c-41cc-b15c-936493e0802e:localhost] 2019-11-22 20:42:48 | [Mutex] received everything. 2019-11-22 20:42:48 | [Mutex] isItemNotified: received:node:df18aafb-382c-41cc-b15c-936493e0802e:localhost:node-c61a1029-8922-4ff2-9802-adeaa703c269:Node c61a1029-8922-4ff2-9802-adeaa703c269 :: false |
deleteSubnodes | 1.210s |
2019-11-22 20:42:46 |
2019-11-22 20:42:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:46 | ------------------------------------ 2019-11-22 20:42:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</node></data> 2019-11-22 20:42:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 20:42:47 | [Mutex] waiting for: [received:nodes:9e13d823-b317-40ac-bd67-1553348d4467:localhost] 2019-11-22 20:42:47 | [Mutex] received everything. 2019-11-22 20:42:47 | [Mutex] isItemNotified: received:node:9e13d823-b317-40ac-bd67-1553348d4467:localhost:node-c6fef518-ad04-4bab-8bc7-4509b5ee3053:Node c6fef518-ad04-4bab-8bc7-4509b5ee3053 :: false 2019-11-22 20:42:47 | [Mutex] waiting for: [received:nodes:7d5625f5-4dfa-4bc2-a843-c62d838d65e7:localhost] 2019-11-22 20:42:47 | [Mutex] received everything. 2019-11-22 20:42:47 | [Mutex] isItemNotified: received:node:7d5625f5-4dfa-4bc2-a843-c62d838d65e7:localhost:node-c6fef518-ad04-4bab-8bc7-4509b5ee3053:Node c6fef518-ad04-4bab-8bc7-4509b5ee3053 :: false |
publishItemsToNodes | 0.300s |
2019-11-22 20:42:43 |
2019-11-22 20:42:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:43 | ------------------------------------ 2019-11-22 20:42:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</node><item-id>item-70b845f6-c12d-4145-816a-6992f2d8bef4</item-id><entry><test>item-70b845f6-c12d-4145-816a-6992f2d8bef4</test></entry></data> 2019-11-22 20:42:44 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-70b845f6-c12d-4145-816a-6992f2d8bef4</value></item-id></result> 2019-11-22 20:42:44 | [Mutex] waiting for: [published:item:notifieditem-70b845f6-c12d-4145-816a-6992f2d8bef4:admin@localhost] 2019-11-22 20:42:44 | [Mutex] received everything. 2019-11-22 20:42:44 | [Mutex] isItemNotified: published:item:notifieditem-70b845f6-c12d-4145-816a-6992f2d8bef4:admin@localhost :: true |
retractItemsFromNodes | 0.313s |
2019-11-22 20:42:44 |
2019-11-22 20:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:44 | ------------------------------------ 2019-11-22 20:42:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</node><item-id>item-70b845f6-c12d-4145-816a-6992f2d8bef4</item-id></data> 2019-11-22 20:42:44 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-70b845f6-c12d-4145-816a-6992f2d8bef4</value></item-id></result> 2019-11-22 20:42:44 | [Mutex] waiting for: [retracted:item:notifieditem-70b845f6-c12d-4145-816a-6992f2d8bef4:admin@localhost] 2019-11-22 20:42:44 | [Mutex] received everything. 2019-11-22 20:42:44 | [Mutex] isItemNotified: retracted:item:notifieditem-70b845f6-c12d-4145-816a-6992f2d8bef4:admin@localhost :: true |
retrieveItemsFromNodes | 0.255s |
2019-11-22 20:42:44 |
2019-11-22 20:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:44 | ------------------------------------ 2019-11-22 20:42:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</node><item-id>item-70b845f6-c12d-4145-816a-6992f2d8bef4</item-id></data> 2019-11-22 20:42:44 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</value></node><item-id label="Item ID" type="text-single"><value>item-70b845f6-c12d-4145-816a-6992f2d8bef4</value></item-id><item label="Item" type="text-multi"><value><item id="item-70b845f6-c12d-4145-816a-6992f2d8bef4"><test>item-70b845f6-c12d-4145-816a-6992f2d8bef4</test></item></value></item></result> 2019-11-22 20:42:44 | [Mutex] notify: [retrieved:item:item-70b845f6-c12d-4145-816a-6992f2d8bef4:payload-matches:true:localhost] 2019-11-22 20:42:44 | [Mutex] received everything. 2019-11-22 20:42:44 | [Mutex] isItemNotified: retrieved:item:item-70b845f6-c12d-4145-816a-6992f2d8bef4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.224s |
2019-11-22 20:42:44 |
2019-11-22 20:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:44 | ------------------------------------ 2019-11-22 20:42:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-22 20:42:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c61a1029-8922-4ff2-9802-adeaa703c269</value><value>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2019-11-22 20:42:44 |
2019-11-22 20:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:44 | ------------------------------------ 2019-11-22 20:42:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-c6fef518-ad04-4bab-8bc7-4509b5ee3053)</node-pattern></data> 2019-11-22 20:42:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.234s |
2019-11-22 20:42:42 |
2019-11-22 20:42:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:42 | ------------------------------------ 2019-11-22 20:42:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</node><jids><value>admin@localhost</value></jids></data> 2019-11-22 20:42:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.382s |
2019-11-22 20:42:44 |
2019-11-22 20:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 20:42:44 | ------------------------------------ 2019-11-22 20:42:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c6fef518-ad04-4bab-8bc7-4509b5ee3053</node><jids><value>admin@localhost</value></jids></data> 2019-11-22 20:42:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |