Test duration : 10.239s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2020-10-29 22:30:05 |
2020-10-29 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:05 | ------------------------------------ 2020-10-29 22:30:05 | [Mutex] waiting for: [configured:node:node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9:node-7d92565d-3c16-4862-8afe-c001a9a901ee] 2020-10-29 22:30:05 | [Mutex] received everything. 2020-10-29 22:30:05 | [Mutex] isItemNotified: configured:node:node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9:node-7d92565d-3c16-4862-8afe-c001a9a901ee :: true 2020-10-29 22:30:06 | [Mutex] waiting for: [received:nodes:79f4f9bb-41db-476d-bb1c-b1d6ef6145af:localhost] 2020-10-29 22:30:06 | [Mutex] received everything. 2020-10-29 22:30:06 | [Mutex] isItemNotified: received:node:79f4f9bb-41db-476d-bb1c-b1d6ef6145af:localhost:node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9:Node 63abb86b-bd24-4234-bb2d-d2ac4625ffa9 :: true 2020-10-29 22:30:06 | [Mutex] waiting for: [received:nodes:cfd36cf5-473e-4951-a33e-e26925895670:localhost] 2020-10-29 22:30:06 | [Mutex] received everything. 2020-10-29 22:30:06 | [Mutex] isItemNotified: received:node:cfd36cf5-473e-4951-a33e-e26925895670:localhost:node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9:Node 63abb86b-bd24-4234-bb2d-d2ac4625ffa9 :: false |
createNodes | 1.357s |
2020-10-29 22:30:03 |
2020-10-29 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:03 | ------------------------------------ 2020-10-29 22:30:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 63abb86b-bd24-4234-bb2d-d2ac4625ffa9</title></pubsub></data> 2020-10-29 22:30:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:30:04 | [Mutex] waiting for: [received:nodes:e98a4fa5-4273-4e60-94fa-6b511c61325d:localhost] 2020-10-29 22:30:04 | [Mutex] received everything. 2020-10-29 22:30:04 | [Mutex] isItemNotified: received:node:e98a4fa5-4273-4e60-94fa-6b511c61325d:localhost:node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9:Node 63abb86b-bd24-4234-bb2d-d2ac4625ffa9 :: true |
createSubnodes | 1.037s |
2020-10-29 22:30:04 |
2020-10-29 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:04 | ------------------------------------ 2020-10-29 22:30:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7d92565d-3c16-4862-8afe-c001a9a901ee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7d92565d-3c16-4862-8afe-c001a9a901ee</title></pubsub></data> 2020-10-29 22:30:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:30:05 | [Mutex] waiting for: [received:nodes:ed6c2c43-7e00-4fbc-9981-263304561e8e:localhost] 2020-10-29 22:30:05 | [Mutex] waiting for: [received:nodes:ed6c2c43-7e00-4fbc-9981-263304561e8e:localhost] 2020-10-29 22:30:05 | [Mutex] waiting for: [received:nodes:ed6c2c43-7e00-4fbc-9981-263304561e8e:localhost] 2020-10-29 22:30:05 | [Mutex] waiting for: [received:nodes:ed6c2c43-7e00-4fbc-9981-263304561e8e:localhost] 2020-10-29 22:30:05 | [Mutex] received everything. 2020-10-29 22:30:05 | [Mutex] isItemNotified: received:node:ed6c2c43-7e00-4fbc-9981-263304561e8e:localhost:node-7d92565d-3c16-4862-8afe-c001a9a901ee:Node 7d92565d-3c16-4862-8afe-c001a9a901ee :: true |
deleteNodes | 1.020s |
2020-10-29 22:30:11 |
2020-10-29 22:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:11 | ------------------------------------ 2020-10-29 22:30:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7d92565d-3c16-4862-8afe-c001a9a901ee</node></data> 2020-10-29 22:30:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:30:12 | [Mutex] waiting for: [received:nodes:e01f0e47-b94f-45c9-bea2-acedaeb722d1:localhost] 2020-10-29 22:30:12 | [Mutex] waiting for: [received:nodes:e01f0e47-b94f-45c9-bea2-acedaeb722d1:localhost] 2020-10-29 22:30:12 | [Mutex] received everything. 2020-10-29 22:30:12 | [Mutex] isItemNotified: received:node:e01f0e47-b94f-45c9-bea2-acedaeb722d1:localhost:node-7d92565d-3c16-4862-8afe-c001a9a901ee:Node 7d92565d-3c16-4862-8afe-c001a9a901ee :: false |
deleteSubnodes | 1.136s |
2020-10-29 22:30:09 |
2020-10-29 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:09 | ------------------------------------ 2020-10-29 22:30:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</node></data> 2020-10-29 22:30:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:30:11 | [Mutex] waiting for: [received:nodes:575cc6f9-b396-4c8c-b90b-7de3363bbf49:localhost] 2020-10-29 22:30:11 | [Mutex] waiting for: [received:nodes:575cc6f9-b396-4c8c-b90b-7de3363bbf49:localhost] 2020-10-29 22:30:11 | [Mutex] received everything. 2020-10-29 22:30:11 | [Mutex] isItemNotified: received:node:575cc6f9-b396-4c8c-b90b-7de3363bbf49:localhost:node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9:Node 63abb86b-bd24-4234-bb2d-d2ac4625ffa9 :: false 2020-10-29 22:30:11 | [Mutex] waiting for: [received:nodes:b5e9a85f-09d5-4453-a2c4-91cf5c51934b:localhost] 2020-10-29 22:30:11 | [Mutex] received everything. 2020-10-29 22:30:11 | [Mutex] isItemNotified: received:node:b5e9a85f-09d5-4453-a2c4-91cf5c51934b:localhost:node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9:Node 63abb86b-bd24-4234-bb2d-d2ac4625ffa9 :: false |
publishItemsToNodes | 0.268s |
2020-10-29 22:30:07 |
2020-10-29 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:07 | ------------------------------------ 2020-10-29 22:30:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</node><item-id>item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</item-id><entry><test>item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</test></entry></data> 2020-10-29 22:30:07 | 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-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</value></item-id></result> 2020-10-29 22:30:07 | [Mutex] waiting for: [published:item:notifieditem-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5:admin@test-domain.com] 2020-10-29 22:30:07 | [Mutex] received everything. 2020-10-29 22:30:07 | [Mutex] isItemNotified: published:item:notifieditem-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.276s |
2020-10-29 22:30:08 |
2020-10-29 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:08 | ------------------------------------ 2020-10-29 22:30:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</node><item-id>item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</item-id></data> 2020-10-29 22:30:08 | 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-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</value></item-id></result> 2020-10-29 22:30:08 | [Mutex] received everything. 2020-10-29 22:30:08 | [Mutex] isItemNotified: retracted:item:notifieditem-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2020-10-29 22:30:07 |
2020-10-29 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:07 | ------------------------------------ 2020-10-29 22:30:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</node><item-id>item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</item-id></data> 2020-10-29 22:30:08 | 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-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</value></node><item-id label="Item ID" type="text-single"><value>item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</value></item-id><item label="Item" type="text-multi"><value><item id="item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5"><test>item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5</test></item></value></item></result> 2020-10-29 22:30:08 | [Mutex] notify: [retrieved:item:item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5:payload-matches:true:localhost] 2020-10-29 22:30:08 | [Mutex] received everything. 2020-10-29 22:30:08 | [Mutex] isItemNotified: retrieved:item:item-ebbb157e-cfc5-44dd-ac5d-4941de7a24c5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-29 22:30:08 |
2020-10-29 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:08 | ------------------------------------ 2020-10-29 22:30:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-29 22:30:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</value><value>test</value><value>node-7d92565d-3c16-4862-8afe-c001a9a901ee</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-10-29 22:30:08 |
2020-10-29 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:08 | ------------------------------------ 2020-10-29 22:30:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9)</node-pattern></data> 2020-10-29 22:30:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.152s |
2020-10-29 22:30:06 |
2020-10-29 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:06 | ------------------------------------ 2020-10-29 22:30:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-29 22:30:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.312s |
2020-10-29 22:30:08 |
2020-10-29 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:30:08 | ------------------------------------ 2020-10-29 22:30:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-63abb86b-bd24-4234-bb2d-d2ac4625ffa9</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-29 22:30:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |