Test duration : 10.085s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2020-10-11 22:57:29 |
2020-10-11 22:57:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:29 | ------------------------------------ 2020-10-11 22:57:29 | [Mutex] waiting for: [configured:node:node-7c25b1c2-ddaf-4cd0-9858-d01963f08377:node-898fe4ca-cbed-4571-85eb-f3c18db63daa] 2020-10-11 22:57:29 | [Mutex] received everything. 2020-10-11 22:57:29 | [Mutex] isItemNotified: configured:node:node-7c25b1c2-ddaf-4cd0-9858-d01963f08377:node-898fe4ca-cbed-4571-85eb-f3c18db63daa :: true 2020-10-11 22:57:30 | [Mutex] waiting for: [received:nodes:8a0adf2b-b304-406a-bf3c-7c999a6accc2:localhost] 2020-10-11 22:57:30 | [Mutex] received everything. 2020-10-11 22:57:30 | [Mutex] isItemNotified: received:node:8a0adf2b-b304-406a-bf3c-7c999a6accc2:localhost:node-7c25b1c2-ddaf-4cd0-9858-d01963f08377:Node 7c25b1c2-ddaf-4cd0-9858-d01963f08377 :: true 2020-10-11 22:57:30 | [Mutex] waiting for: [received:nodes:968d1010-597f-4639-884b-6a5e3ceb81f7:localhost] 2020-10-11 22:57:30 | [Mutex] waiting for: [received:nodes:968d1010-597f-4639-884b-6a5e3ceb81f7:localhost] 2020-10-11 22:57:30 | [Mutex] received everything. 2020-10-11 22:57:30 | [Mutex] isItemNotified: received:node:968d1010-597f-4639-884b-6a5e3ceb81f7:localhost:node-7c25b1c2-ddaf-4cd0-9858-d01963f08377:Node 7c25b1c2-ddaf-4cd0-9858-d01963f08377 :: false |
createNodes | 1.445s |
2020-10-11 22:57:26 |
2020-10-11 22:57:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:26 | ------------------------------------ 2020-10-11 22:57:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7c25b1c2-ddaf-4cd0-9858-d01963f08377</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7c25b1c2-ddaf-4cd0-9858-d01963f08377</title></pubsub></data> 2020-10-11 22:57:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:57:28 | [Mutex] waiting for: [received:nodes:769ff124-e5c6-415d-9059-c0a7f1de6f25:localhost] 2020-10-11 22:57:28 | [Mutex] received everything. 2020-10-11 22:57:28 | [Mutex] isItemNotified: received:node:769ff124-e5c6-415d-9059-c0a7f1de6f25:localhost:node-7c25b1c2-ddaf-4cd0-9858-d01963f08377:Node 7c25b1c2-ddaf-4cd0-9858-d01963f08377 :: true |
createSubnodes | 1.028s |
2020-10-11 22:57:28 |
2020-10-11 22:57:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:28 | ------------------------------------ 2020-10-11 22:57:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-898fe4ca-cbed-4571-85eb-f3c18db63daa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 898fe4ca-cbed-4571-85eb-f3c18db63daa</title></pubsub></data> 2020-10-11 22:57:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:57:29 | [Mutex] waiting for: [received:nodes:3f8bb30c-e027-4c6a-921e-c5b262e22f37:localhost] 2020-10-11 22:57:29 | [Mutex] received everything. 2020-10-11 22:57:29 | [Mutex] isItemNotified: received:node:3f8bb30c-e027-4c6a-921e-c5b262e22f37:localhost:node-898fe4ca-cbed-4571-85eb-f3c18db63daa:Node 898fe4ca-cbed-4571-85eb-f3c18db63daa :: true |
deleteNodes | 1.021s |
2020-10-11 22:57:34 |
2020-10-11 22:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:34 | ------------------------------------ 2020-10-11 22:57:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-898fe4ca-cbed-4571-85eb-f3c18db63daa</node></data> 2020-10-11 22:57:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:57:35 | [Mutex] waiting for: [received:nodes:3c8cff30-aeef-43e7-9454-a4b2e92586bb:localhost] 2020-10-11 22:57:35 | [Mutex] received everything. 2020-10-11 22:57:35 | [Mutex] isItemNotified: received:node:3c8cff30-aeef-43e7-9454-a4b2e92586bb:localhost:node-898fe4ca-cbed-4571-85eb-f3c18db63daa:Node 898fe4ca-cbed-4571-85eb-f3c18db63daa :: false |
deleteSubnodes | 1.151s |
2020-10-11 22:57:33 |
2020-10-11 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:33 | ------------------------------------ 2020-10-11 22:57:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7c25b1c2-ddaf-4cd0-9858-d01963f08377</node></data> 2020-10-11 22:57:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:57:34 | [Mutex] waiting for: [received:nodes:887470ac-a8c7-43df-904e-177ff163193a:localhost] 2020-10-11 22:57:34 | [Mutex] received everything. 2020-10-11 22:57:34 | [Mutex] isItemNotified: received:node:887470ac-a8c7-43df-904e-177ff163193a:localhost:node-7c25b1c2-ddaf-4cd0-9858-d01963f08377:Node 7c25b1c2-ddaf-4cd0-9858-d01963f08377 :: false 2020-10-11 22:57:34 | [Mutex] waiting for: [received:nodes:c4aa7b12-7861-4f30-b365-b39b9b0c91f0:localhost] 2020-10-11 22:57:34 | [Mutex] received everything. 2020-10-11 22:57:34 | [Mutex] isItemNotified: received:node:c4aa7b12-7861-4f30-b365-b39b9b0c91f0:localhost:node-7c25b1c2-ddaf-4cd0-9858-d01963f08377:Node 7c25b1c2-ddaf-4cd0-9858-d01963f08377 :: false |
publishItemsToNodes | 0.216s |
2020-10-11 22:57:31 |
2020-10-11 22:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:31 | ------------------------------------ 2020-10-11 22:57:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7c25b1c2-ddaf-4cd0-9858-d01963f08377</node><item-id>item-601b5e9f-70ce-4544-9eda-4874e7e61902</item-id><entry><test>item-601b5e9f-70ce-4544-9eda-4874e7e61902</test></entry></data> 2020-10-11 22:57: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-601b5e9f-70ce-4544-9eda-4874e7e61902</value></item-id></result> 2020-10-11 22:57:31 | [Mutex] received everything. 2020-10-11 22:57:31 | [Mutex] isItemNotified: published:item:notifieditem-601b5e9f-70ce-4544-9eda-4874e7e61902:admin@test-domain.com :: true |
retractItemsFromNodes | 0.303s |
2020-10-11 22:57:32 |
2020-10-11 22:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:32 | ------------------------------------ 2020-10-11 22:57:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7c25b1c2-ddaf-4cd0-9858-d01963f08377</node><item-id>item-601b5e9f-70ce-4544-9eda-4874e7e61902</item-id></data> 2020-10-11 22:57: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-601b5e9f-70ce-4544-9eda-4874e7e61902</value></item-id></result> 2020-10-11 22:57:32 | [Mutex] waiting for: [retracted:item:notifieditem-601b5e9f-70ce-4544-9eda-4874e7e61902:admin@test-domain.com] 2020-10-11 22:57:32 | [Mutex] received everything. 2020-10-11 22:57:32 | [Mutex] isItemNotified: retracted:item:notifieditem-601b5e9f-70ce-4544-9eda-4874e7e61902:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.337s |
2020-10-11 22:57:31 |
2020-10-11 22:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:31 | ------------------------------------ 2020-10-11 22:57:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7c25b1c2-ddaf-4cd0-9858-d01963f08377</node><item-id>item-601b5e9f-70ce-4544-9eda-4874e7e61902</item-id></data> 2020-10-11 22:57:32 | 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-7c25b1c2-ddaf-4cd0-9858-d01963f08377</value></node><item-id type="text-single" label="Item ID"><value>item-601b5e9f-70ce-4544-9eda-4874e7e61902</value></item-id><item type="text-multi" label="Item"><value><item id="item-601b5e9f-70ce-4544-9eda-4874e7e61902"><test>item-601b5e9f-70ce-4544-9eda-4874e7e61902</test></item></value></item></result> 2020-10-11 22:57:32 | [Mutex] notify: [retrieved:item:item-601b5e9f-70ce-4544-9eda-4874e7e61902:payload-matches:true:localhost] 2020-10-11 22:57:32 | [Mutex] received everything. 2020-10-11 22:57:32 | [Mutex] isItemNotified: retrieved:item:item-601b5e9f-70ce-4544-9eda-4874e7e61902:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-10-11 22:57:32 |
2020-10-11 22:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:32 | ------------------------------------ 2020-10-11 22:57:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-11 22:57:32 | 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-7c25b1c2-ddaf-4cd0-9858-d01963f08377</value><value>node-898fe4ca-cbed-4571-85eb-f3c18db63daa</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-10-11 22:57:32 |
2020-10-11 22:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:32 | ------------------------------------ 2020-10-11 22:57:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7c25b1c2-ddaf-4cd0-9858-d01963f08377)</node-pattern></data> 2020-10-11 22:57:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.123s |
2020-10-11 22:57:30 |
2020-10-11 22:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:30 | ------------------------------------ 2020-10-11 22:57:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7c25b1c2-ddaf-4cd0-9858-d01963f08377</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-11 22:57: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.258s |
2020-10-11 22:57:32 |
2020-10-11 22:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:57:32 | ------------------------------------ 2020-10-11 22:57:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7c25b1c2-ddaf-4cd0-9858-d01963f08377</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-11 22:57:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |