Test duration : 10.259s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2020-09-19 00:07:26 |
2020-09-19 00:07:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:26 | ------------------------------------ 2020-09-19 00:07:26 | [Mutex] waiting for: [configured:node:node-b18ad575-262c-4af4-aeaa-f533b4860413:node-683887e0-ea07-4ce5-8369-43e13a3a6b55] 2020-09-19 00:07:26 | [Mutex] received everything. 2020-09-19 00:07:26 | [Mutex] isItemNotified: configured:node:node-b18ad575-262c-4af4-aeaa-f533b4860413:node-683887e0-ea07-4ce5-8369-43e13a3a6b55 :: true 2020-09-19 00:07:27 | [Mutex] waiting for: [received:nodes:98f35870-68a4-4362-8d00-28d4de5aa9f8:localhost] 2020-09-19 00:07:27 | [Mutex] received everything. 2020-09-19 00:07:27 | [Mutex] isItemNotified: received:node:98f35870-68a4-4362-8d00-28d4de5aa9f8:localhost:node-b18ad575-262c-4af4-aeaa-f533b4860413:Node b18ad575-262c-4af4-aeaa-f533b4860413 :: true 2020-09-19 00:07:27 | [Mutex] waiting for: [received:nodes:5d14c3fa-dfd1-4bac-a2cc-7bcaf323ac39:localhost] 2020-09-19 00:07:27 | [Mutex] received everything. 2020-09-19 00:07:27 | [Mutex] isItemNotified: received:node:5d14c3fa-dfd1-4bac-a2cc-7bcaf323ac39:localhost:node-b18ad575-262c-4af4-aeaa-f533b4860413:Node b18ad575-262c-4af4-aeaa-f533b4860413 :: false |
createNodes | 1.525s |
2020-09-19 00:07:23 |
2020-09-19 00:07:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:23 | ------------------------------------ 2020-09-19 00:07:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b18ad575-262c-4af4-aeaa-f533b4860413</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b18ad575-262c-4af4-aeaa-f533b4860413</title></pubsub></data> 2020-09-19 00:07:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 00:07:24 | [Mutex] waiting for: [received:nodes:1ceb8aa6-0913-4c0e-9645-e54ae8ae0e3c:localhost] 2020-09-19 00:07:24 | [Mutex] received everything. 2020-09-19 00:07:24 | [Mutex] isItemNotified: received:node:1ceb8aa6-0913-4c0e-9645-e54ae8ae0e3c:localhost:node-b18ad575-262c-4af4-aeaa-f533b4860413:Node b18ad575-262c-4af4-aeaa-f533b4860413 :: true |
createSubnodes | 1.032s |
2020-09-19 00:07:24 |
2020-09-19 00:07:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:24 | ------------------------------------ 2020-09-19 00:07:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-683887e0-ea07-4ce5-8369-43e13a3a6b55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 683887e0-ea07-4ce5-8369-43e13a3a6b55</title></pubsub></data> 2020-09-19 00:07:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 00:07:25 | [Mutex] waiting for: [received:nodes:9a140daa-3541-4003-a7a2-d0b26db51df8:localhost] 2020-09-19 00:07:26 | [Mutex] waiting for: [received:nodes:9a140daa-3541-4003-a7a2-d0b26db51df8:localhost] 2020-09-19 00:07:26 | [Mutex] received everything. 2020-09-19 00:07:26 | [Mutex] isItemNotified: received:node:9a140daa-3541-4003-a7a2-d0b26db51df8:localhost:node-683887e0-ea07-4ce5-8369-43e13a3a6b55:Node 683887e0-ea07-4ce5-8369-43e13a3a6b55 :: true |
deleteNodes | 1.023s |
2020-09-19 00:07:31 |
2020-09-19 00:07:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:31 | ------------------------------------ 2020-09-19 00:07:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-683887e0-ea07-4ce5-8369-43e13a3a6b55</node></data> 2020-09-19 00:07:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 00:07:32 | [Mutex] waiting for: [received:nodes:7857e9cc-de83-4acd-bac2-ae38b18e2302:localhost] 2020-09-19 00:07:32 | [Mutex] received everything. 2020-09-19 00:07:32 | [Mutex] isItemNotified: received:node:7857e9cc-de83-4acd-bac2-ae38b18e2302:localhost:node-683887e0-ea07-4ce5-8369-43e13a3a6b55:Node 683887e0-ea07-4ce5-8369-43e13a3a6b55 :: false |
deleteSubnodes | 1.141s |
2020-09-19 00:07:30 |
2020-09-19 00:07:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:30 | ------------------------------------ 2020-09-19 00:07:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b18ad575-262c-4af4-aeaa-f533b4860413</node></data> 2020-09-19 00:07:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 00:07:31 | [Mutex] waiting for: [received:nodes:ab9e4e1d-00df-442c-a3a3-87e2fc47cac2:localhost] 2020-09-19 00:07:31 | [Mutex] received everything. 2020-09-19 00:07:31 | [Mutex] isItemNotified: received:node:ab9e4e1d-00df-442c-a3a3-87e2fc47cac2:localhost:node-b18ad575-262c-4af4-aeaa-f533b4860413:Node b18ad575-262c-4af4-aeaa-f533b4860413 :: false 2020-09-19 00:07:31 | [Mutex] waiting for: [received:nodes:de8a1986-9513-4b2a-9801-7562204f4fa0:localhost] 2020-09-19 00:07:31 | [Mutex] received everything. 2020-09-19 00:07:31 | [Mutex] isItemNotified: received:node:de8a1986-9513-4b2a-9801-7562204f4fa0:localhost:node-b18ad575-262c-4af4-aeaa-f533b4860413:Node b18ad575-262c-4af4-aeaa-f533b4860413 :: false |
publishItemsToNodes | 0.243s |
2020-09-19 00:07:28 |
2020-09-19 00:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:28 | ------------------------------------ 2020-09-19 00:07:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b18ad575-262c-4af4-aeaa-f533b4860413</node><item-id>item-335874c3-c177-4edb-993b-cf88163c5dd6</item-id><entry><test>item-335874c3-c177-4edb-993b-cf88163c5dd6</test></entry></data> 2020-09-19 00:07:28 | 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-335874c3-c177-4edb-993b-cf88163c5dd6</value></item-id></result> 2020-09-19 00:07:28 | [Mutex] waiting for: [published:item:notifieditem-335874c3-c177-4edb-993b-cf88163c5dd6:admin@test-domain.com] 2020-09-19 00:07:28 | [Mutex] received everything. 2020-09-19 00:07:28 | [Mutex] isItemNotified: published:item:notifieditem-335874c3-c177-4edb-993b-cf88163c5dd6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2020-09-19 00:07:28 |
2020-09-19 00:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:28 | ------------------------------------ 2020-09-19 00:07:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b18ad575-262c-4af4-aeaa-f533b4860413</node><item-id>item-335874c3-c177-4edb-993b-cf88163c5dd6</item-id></data> 2020-09-19 00:07:29 | 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-335874c3-c177-4edb-993b-cf88163c5dd6</value></item-id></result> 2020-09-19 00:07:29 | [Mutex] received everything. 2020-09-19 00:07:29 | [Mutex] isItemNotified: retracted:item:notifieditem-335874c3-c177-4edb-993b-cf88163c5dd6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.308s |
2020-09-19 00:07:28 |
2020-09-19 00:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:28 | ------------------------------------ 2020-09-19 00:07:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b18ad575-262c-4af4-aeaa-f533b4860413</node><item-id>item-335874c3-c177-4edb-993b-cf88163c5dd6</item-id></data> 2020-09-19 00:07:28 | 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-b18ad575-262c-4af4-aeaa-f533b4860413</value></node><item-id type="text-single" label="Item ID"><value>item-335874c3-c177-4edb-993b-cf88163c5dd6</value></item-id><item type="text-multi" label="Item"><value><item id="item-335874c3-c177-4edb-993b-cf88163c5dd6"><test>item-335874c3-c177-4edb-993b-cf88163c5dd6</test></item></value></item></result> 2020-09-19 00:07:28 | [Mutex] notify: [retrieved:item:item-335874c3-c177-4edb-993b-cf88163c5dd6:payload-matches:true:localhost] 2020-09-19 00:07:28 | [Mutex] received everything. 2020-09-19 00:07:28 | [Mutex] isItemNotified: retrieved:item:item-335874c3-c177-4edb-993b-cf88163c5dd6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2020-09-19 00:07:28 |
2020-09-19 00:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:28 | ------------------------------------ 2020-09-19 00:07:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-19 00:07:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-683887e0-ea07-4ce5-8369-43e13a3a6b55</value><value>test</value><value>node-b18ad575-262c-4af4-aeaa-f533b4860413</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.061s |
2020-09-19 00:07:28 |
2020-09-19 00:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:28 | ------------------------------------ 2020-09-19 00:07:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b18ad575-262c-4af4-aeaa-f533b4860413)</node-pattern></data> 2020-09-19 00:07:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.154s |
2020-09-19 00:07:27 |
2020-09-19 00:07:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:27 | ------------------------------------ 2020-09-19 00:07:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b18ad575-262c-4af4-aeaa-f533b4860413</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-19 00:07:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.307s |
2020-09-19 00:07:29 |
2020-09-19 00:07:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 00:07:29 | ------------------------------------ 2020-09-19 00:07:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b18ad575-262c-4af4-aeaa-f533b4860413</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-19 00:07:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |