Test duration : 9.909s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.109s |
2021-01-03 21:29:21 |
2021-01-03 21:29:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:21 | ------------------------------------ 2021-01-03 21:29:21 | [Mutex] waiting for: [configured:node:node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9:node-acd7c7bf-81a8-4661-88d1-88f76096a79c] 2021-01-03 21:29:22 | [Mutex] received everything. 2021-01-03 21:29:22 | [Mutex] isItemNotified: configured:node:node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9:node-acd7c7bf-81a8-4661-88d1-88f76096a79c :: true 2021-01-03 21:29:23 | [Mutex] waiting for: [received:nodes:8dc37935-4c13-4b01-b270-9af295e603e4:localhost] 2021-01-03 21:29:23 | [Mutex] received everything. 2021-01-03 21:29:23 | [Mutex] isItemNotified: received:node:8dc37935-4c13-4b01-b270-9af295e603e4:localhost:node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9:Node 4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9 :: true 2021-01-03 21:29:23 | [Mutex] waiting for: [received:nodes:68a01b52-a32b-488d-867e-4f2bdc858379:localhost] 2021-01-03 21:29:23 | [Mutex] received everything. 2021-01-03 21:29:23 | [Mutex] isItemNotified: received:node:68a01b52-a32b-488d-867e-4f2bdc858379:localhost:node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9:Node 4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9 :: false |
createNodes | 1.364s |
2021-01-03 21:29:19 |
2021-01-03 21:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:19 | ------------------------------------ 2021-01-03 21:29:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</title></pubsub></data> 2021-01-03 21:29:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 21:29:20 | [Mutex] waiting for: [received:nodes:2aa32144-c49c-4517-8e8c-9eaed844a19c:localhost] 2021-01-03 21:29:20 | [Mutex] received everything. 2021-01-03 21:29:20 | [Mutex] isItemNotified: received:node:2aa32144-c49c-4517-8e8c-9eaed844a19c:localhost:node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9:Node 4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9 :: true |
createSubnodes | 1.026s |
2021-01-03 21:29:20 |
2021-01-03 21:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:20 | ------------------------------------ 2021-01-03 21:29:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-acd7c7bf-81a8-4661-88d1-88f76096a79c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node acd7c7bf-81a8-4661-88d1-88f76096a79c</title></pubsub></data> 2021-01-03 21:29:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 21:29:21 | [Mutex] waiting for: [received:nodes:68a8d53e-97bb-454e-8578-816e5caee6b6:localhost] 2021-01-03 21:29:21 | [Mutex] received everything. 2021-01-03 21:29:21 | [Mutex] isItemNotified: received:node:68a8d53e-97bb-454e-8578-816e5caee6b6:localhost:node-acd7c7bf-81a8-4661-88d1-88f76096a79c:Node acd7c7bf-81a8-4661-88d1-88f76096a79c :: true |
deleteNodes | 1.018s |
2021-01-03 21:29:27 |
2021-01-03 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:27 | ------------------------------------ 2021-01-03 21:29:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-acd7c7bf-81a8-4661-88d1-88f76096a79c</node></data> 2021-01-03 21:29:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 21:29:28 | [Mutex] waiting for: [received:nodes:2c5fe4bd-22de-4c67-9bf5-02a47ff9d735:localhost] 2021-01-03 21:29:28 | [Mutex] received everything. 2021-01-03 21:29:28 | [Mutex] isItemNotified: received:node:2c5fe4bd-22de-4c67-9bf5-02a47ff9d735:localhost:node-acd7c7bf-81a8-4661-88d1-88f76096a79c:Node acd7c7bf-81a8-4661-88d1-88f76096a79c :: false |
deleteSubnodes | 1.122s |
2021-01-03 21:29:26 |
2021-01-03 21:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:26 | ------------------------------------ 2021-01-03 21:29:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</node></data> 2021-01-03 21:29:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 21:29:27 | [Mutex] waiting for: [received:nodes:dfbf0481-02c1-4075-a7b8-fe08352d1efe:localhost] 2021-01-03 21:29:27 | [Mutex] waiting for: [received:nodes:dfbf0481-02c1-4075-a7b8-fe08352d1efe:localhost] 2021-01-03 21:29:27 | [Mutex] received everything. 2021-01-03 21:29:27 | [Mutex] isItemNotified: received:node:dfbf0481-02c1-4075-a7b8-fe08352d1efe:localhost:node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9:Node 4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9 :: false 2021-01-03 21:29:27 | [Mutex] waiting for: [received:nodes:551ad6cb-b2ad-4f78-88ff-08ff3d6f8ca8:localhost] 2021-01-03 21:29:27 | [Mutex] received everything. 2021-01-03 21:29:27 | [Mutex] isItemNotified: received:node:551ad6cb-b2ad-4f78-88ff-08ff3d6f8ca8:localhost:node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9:Node 4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9 :: false |
publishItemsToNodes | 0.203s |
2021-01-03 21:29:24 |
2021-01-03 21:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:24 | ------------------------------------ 2021-01-03 21:29:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</node><item-id>item-edf670c2-fd03-4d7a-af44-3037c6a918e5</item-id><entry><test>item-edf670c2-fd03-4d7a-af44-3037c6a918e5</test></entry></data> 2021-01-03 21:29:24 | 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-edf670c2-fd03-4d7a-af44-3037c6a918e5</value></item-id></result> 2021-01-03 21:29:24 | [Mutex] waiting for: [published:item:notifieditem-edf670c2-fd03-4d7a-af44-3037c6a918e5:admin@test-domain.com] 2021-01-03 21:29:24 | [Mutex] received everything. 2021-01-03 21:29:24 | [Mutex] isItemNotified: published:item:notifieditem-edf670c2-fd03-4d7a-af44-3037c6a918e5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.375s |
2021-01-03 21:29:24 |
2021-01-03 21:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:24 | ------------------------------------ 2021-01-03 21:29:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</node><item-id>item-edf670c2-fd03-4d7a-af44-3037c6a918e5</item-id></data> 2021-01-03 21:29:25 | 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-edf670c2-fd03-4d7a-af44-3037c6a918e5</value></item-id></result> 2021-01-03 21:29:25 | [Mutex] received everything. 2021-01-03 21:29:25 | [Mutex] isItemNotified: retracted:item:notifieditem-edf670c2-fd03-4d7a-af44-3037c6a918e5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2021-01-03 21:29:24 |
2021-01-03 21:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:24 | ------------------------------------ 2021-01-03 21:29:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</node><item-id>item-edf670c2-fd03-4d7a-af44-3037c6a918e5</item-id></data> 2021-01-03 21:29:24 | 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-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</value></node><item-id label="Item ID" type="text-single"><value>item-edf670c2-fd03-4d7a-af44-3037c6a918e5</value></item-id><item label="Item" type="text-multi"><value><item id="item-edf670c2-fd03-4d7a-af44-3037c6a918e5"><test>item-edf670c2-fd03-4d7a-af44-3037c6a918e5</test></item></value></item></result> 2021-01-03 21:29:24 | [Mutex] notify: [retrieved:item:item-edf670c2-fd03-4d7a-af44-3037c6a918e5:payload-matches:true:localhost] 2021-01-03 21:29:24 | [Mutex] received everything. 2021-01-03 21:29:24 | [Mutex] isItemNotified: retrieved:item:item-edf670c2-fd03-4d7a-af44-3037c6a918e5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2021-01-03 21:29:24 |
2021-01-03 21:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:24 | ------------------------------------ 2021-01-03 21:29:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-03 21:29:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</value><value>node-acd7c7bf-81a8-4661-88d1-88f76096a79c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-01-03 21:29:24 |
2021-01-03 21:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:24 | ------------------------------------ 2021-01-03 21:29:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9)</node-pattern></data> 2021-01-03 21:29:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.106s |
2021-01-03 21:29:23 |
2021-01-03 21:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:23 | ------------------------------------ 2021-01-03 21:29:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-03 21:29:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.319s |
2021-01-03 21:29:25 |
2021-01-03 21:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 21:29:25 | ------------------------------------ 2021-01-03 21:29:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4a046ec9-cb8c-4e2d-bcbb-8a1aa3451ff9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-03 21:29:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |