Test duration: 10.273s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2020-06-22 00:14:28 |
2020-06-22 00:14:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:28 | ------------------------------------ 2020-06-22 00:14:28 | [Mutex] waiting for: [configured:node:node-27082965-2749-448a-9f3b-e9ed79043289:node-97259416-e7a4-4c25-b111-80b39185592e] 2020-06-22 00:14:29 | [Mutex] received everything. 2020-06-22 00:14:29 | [Mutex] isItemNotified: configured:node:node-27082965-2749-448a-9f3b-e9ed79043289:node-97259416-e7a4-4c25-b111-80b39185592e :: true 2020-06-22 00:14:30 | [Mutex] waiting for: [received:nodes:e2a68b86-ecbd-4b36-883f-3c665128de0c:localhost] 2020-06-22 00:14:30 | [Mutex] received everything. 2020-06-22 00:14:30 | [Mutex] isItemNotified: received:node:e2a68b86-ecbd-4b36-883f-3c665128de0c:localhost:node-27082965-2749-448a-9f3b-e9ed79043289:Node 27082965-2749-448a-9f3b-e9ed79043289 :: true 2020-06-22 00:14:30 | [Mutex] waiting for: [received:nodes:0f564bb2-83f4-42b4-a5c0-991fb951f6ba:localhost] 2020-06-22 00:14:30 | [Mutex] received everything. 2020-06-22 00:14:30 | [Mutex] isItemNotified: received:node:0f564bb2-83f4-42b4-a5c0-991fb951f6ba:localhost:node-27082965-2749-448a-9f3b-e9ed79043289:Node 27082965-2749-448a-9f3b-e9ed79043289 :: false |
createNodes | 1.676s |
2020-06-22 00:14:26 |
2020-06-22 00:14:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:26 | ------------------------------------ 2020-06-22 00:14:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-27082965-2749-448a-9f3b-e9ed79043289</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 27082965-2749-448a-9f3b-e9ed79043289</title></pubsub></data> 2020-06-22 00:14:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-22 00:14:27 | [Mutex] waiting for: [received:nodes:a106d923-89f9-428a-8047-b043e45b8ce2:localhost] 2020-06-22 00:14:27 | [Mutex] received everything. 2020-06-22 00:14:27 | [Mutex] isItemNotified: received:node:a106d923-89f9-428a-8047-b043e45b8ce2:localhost:node-27082965-2749-448a-9f3b-e9ed79043289:Node 27082965-2749-448a-9f3b-e9ed79043289 :: true |
createSubnodes | 1.026s |
2020-06-22 00:14:27 |
2020-06-22 00:14:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:27 | ------------------------------------ 2020-06-22 00:14:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-97259416-e7a4-4c25-b111-80b39185592e</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 97259416-e7a4-4c25-b111-80b39185592e</title></pubsub></data> 2020-06-22 00:14:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-22 00:14:28 | [Mutex] waiting for: [received:nodes:c831db40-3722-4b16-b57d-c771dcf6c463:localhost] 2020-06-22 00:14:28 | [Mutex] received everything. 2020-06-22 00:14:28 | [Mutex] isItemNotified: received:node:c831db40-3722-4b16-b57d-c771dcf6c463:localhost:node-97259416-e7a4-4c25-b111-80b39185592e:Node 97259416-e7a4-4c25-b111-80b39185592e :: true |
deleteNodes | 1.021s |
2020-06-22 00:14:34 |
2020-06-22 00:14:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:34 | ------------------------------------ 2020-06-22 00:14:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-97259416-e7a4-4c25-b111-80b39185592e</node></data> 2020-06-22 00:14:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-22 00:14:35 | [Mutex] waiting for: [received:nodes:3321dd22-7de9-4db2-84b0-3b1274ae9aa7:localhost] 2020-06-22 00:14:35 | [Mutex] received everything. 2020-06-22 00:14:35 | [Mutex] isItemNotified: received:node:3321dd22-7de9-4db2-84b0-3b1274ae9aa7:localhost:node-97259416-e7a4-4c25-b111-80b39185592e:Node 97259416-e7a4-4c25-b111-80b39185592e :: false |
deleteSubnodes | 1.163s |
2020-06-22 00:14:33 |
2020-06-22 00:14:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:33 | ------------------------------------ 2020-06-22 00:14:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-27082965-2749-448a-9f3b-e9ed79043289</node></data> 2020-06-22 00:14:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-22 00:14:34 | [Mutex] waiting for: [received:nodes:602ce151-1ca6-4aa4-8d13-34242faebb98:localhost] 2020-06-22 00:14:34 | [Mutex] received everything. 2020-06-22 00:14:34 | [Mutex] isItemNotified: received:node:602ce151-1ca6-4aa4-8d13-34242faebb98:localhost:node-27082965-2749-448a-9f3b-e9ed79043289:Node 27082965-2749-448a-9f3b-e9ed79043289 :: false 2020-06-22 00:14:34 | [Mutex] waiting for: [received:nodes:211fb869-cdcd-4eaf-a853-08ca9ada152f:localhost] 2020-06-22 00:14:34 | [Mutex] received everything. 2020-06-22 00:14:34 | [Mutex] isItemNotified: received:node:211fb869-cdcd-4eaf-a853-08ca9ada152f:localhost:node-27082965-2749-448a-9f3b-e9ed79043289:Node 27082965-2749-448a-9f3b-e9ed79043289 :: false |
publishItemsToNodes | 0.218s |
2020-06-22 00:14:31 |
2020-06-22 00:14:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:31 | ------------------------------------ 2020-06-22 00:14:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-27082965-2749-448a-9f3b-e9ed79043289</node><item-id>item-f5f14da2-2624-4c81-b817-9a8a9267d0fe</item-id><entry><test>item-f5f14da2-2624-4c81-b817-9a8a9267d0fe</test></entry></data> 2020-06-22 00:14:31 | 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-f5f14da2-2624-4c81-b817-9a8a9267d0fe</value></item-id></result> 2020-06-22 00:14:31 | [Mutex] waiting for: [published:item:notifieditem-f5f14da2-2624-4c81-b817-9a8a9267d0fe:admin@localhost] 2020-06-22 00:14:31 | [Mutex] received everything. 2020-06-22 00:14:31 | [Mutex] isItemNotified: published:item:notifieditem-f5f14da2-2624-4c81-b817-9a8a9267d0fe:admin@localhost :: true |
retractItemsFromNodes | 0.211s |
2020-06-22 00:14:31 |
2020-06-22 00:14:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:31 | ------------------------------------ 2020-06-22 00:14:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-27082965-2749-448a-9f3b-e9ed79043289</node><item-id>item-f5f14da2-2624-4c81-b817-9a8a9267d0fe</item-id></data> 2020-06-22 00:14:32 | 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-f5f14da2-2624-4c81-b817-9a8a9267d0fe</value></item-id></result> 2020-06-22 00:14:32 | [Mutex] received everything. 2020-06-22 00:14:32 | [Mutex] isItemNotified: retracted:item:notifieditem-f5f14da2-2624-4c81-b817-9a8a9267d0fe:admin@localhost :: true |
retrieveItemsFromNodes | 0.171s |
2020-06-22 00:14:31 |
2020-06-22 00:14:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:31 | ------------------------------------ 2020-06-22 00:14:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-27082965-2749-448a-9f3b-e9ed79043289</node><item-id>item-f5f14da2-2624-4c81-b817-9a8a9267d0fe</item-id></data> 2020-06-22 00:14:31 | 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-27082965-2749-448a-9f3b-e9ed79043289</value></node><item-id type="text-single" label="Item ID"><value>item-f5f14da2-2624-4c81-b817-9a8a9267d0fe</value></item-id><item type="text-multi" label="Item"><value><item id="item-f5f14da2-2624-4c81-b817-9a8a9267d0fe"><test>item-f5f14da2-2624-4c81-b817-9a8a9267d0fe</test></item></value></item></result> 2020-06-22 00:14:31 | [Mutex] notify: [retrieved:item:item-f5f14da2-2624-4c81-b817-9a8a9267d0fe:payload-matches:true:localhost] 2020-06-22 00:14:31 | [Mutex] received everything. 2020-06-22 00:14:31 | [Mutex] isItemNotified: retrieved:item:item-f5f14da2-2624-4c81-b817-9a8a9267d0fe:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.181s |
2020-06-22 00:14:31 |
2020-06-22 00:14:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:31 | ------------------------------------ 2020-06-22 00:14:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-06-22 00:14:31 | 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-27082965-2749-448a-9f3b-e9ed79043289</value><value>node-97259416-e7a4-4c25-b111-80b39185592e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2020-06-22 00:14:31 |
2020-06-22 00:14:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:31 | ------------------------------------ 2020-06-22 00:14:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-27082965-2749-448a-9f3b-e9ed79043289)</node-pattern></data> 2020-06-22 00:14:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.136s |
2020-06-22 00:14:30 |
2020-06-22 00:14:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:30 | ------------------------------------ 2020-06-22 00:14:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-27082965-2749-448a-9f3b-e9ed79043289</node><jids><value>admin@localhost</value></jids></data> 2020-06-22 00:14:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.300s |
2020-06-22 00:14:32 |
2020-06-22 00:14:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-22 00:14:32 | ------------------------------------ 2020-06-22 00:14:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-27082965-2749-448a-9f3b-e9ed79043289</node><jids><value>admin@localhost</value></jids></data> 2020-06-22 00:14:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |