Test duration : 10.131s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.146s |
2021-01-18 21:36:35 |
2021-01-18 21:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:35 | ------------------------------------ 2021-01-18 21:36:35 | [Mutex] waiting for: [configured:node:node-74843af6-7acc-4e68-a1bc-62415b4cc643:node-dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9] 2021-01-18 21:36:35 | [Mutex] received everything. 2021-01-18 21:36:35 | [Mutex] isItemNotified: configured:node:node-74843af6-7acc-4e68-a1bc-62415b4cc643:node-dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9 :: true 2021-01-18 21:36:36 | [Mutex] waiting for: [received:nodes:60fa37ba-7ce6-4993-8133-1a3f0f517503:localhost] 2021-01-18 21:36:36 | [Mutex] received everything. 2021-01-18 21:36:36 | [Mutex] isItemNotified: received:node:60fa37ba-7ce6-4993-8133-1a3f0f517503:localhost:node-74843af6-7acc-4e68-a1bc-62415b4cc643:Node 74843af6-7acc-4e68-a1bc-62415b4cc643 :: true 2021-01-18 21:36:36 | [Mutex] waiting for: [received:nodes:40eace99-4ee9-45ae-958f-162357aa94e1:localhost] 2021-01-18 21:36:36 | [Mutex] received everything. 2021-01-18 21:36:36 | [Mutex] isItemNotified: received:node:40eace99-4ee9-45ae-958f-162357aa94e1:localhost:node-74843af6-7acc-4e68-a1bc-62415b4cc643:Node 74843af6-7acc-4e68-a1bc-62415b4cc643 :: false |
createNodes | 1.471s |
2021-01-18 21:36:33 |
2021-01-18 21:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:33 | ------------------------------------ 2021-01-18 21:36:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-74843af6-7acc-4e68-a1bc-62415b4cc643</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 74843af6-7acc-4e68-a1bc-62415b4cc643</title></pubsub></data> 2021-01-18 21:36:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-18 21:36:34 | [Mutex] waiting for: [received:nodes:960928b5-fa30-4f79-8784-38ad98a3eda4:localhost] 2021-01-18 21:36:34 | [Mutex] received everything. 2021-01-18 21:36:34 | [Mutex] isItemNotified: received:node:960928b5-fa30-4f79-8784-38ad98a3eda4:localhost:node-74843af6-7acc-4e68-a1bc-62415b4cc643:Node 74843af6-7acc-4e68-a1bc-62415b4cc643 :: true |
createSubnodes | 1.037s |
2021-01-18 21:36:34 |
2021-01-18 21:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:34 | ------------------------------------ 2021-01-18 21:36:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9</title></pubsub></data> 2021-01-18 21:36:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-18 21:36:35 | [Mutex] waiting for: [received:nodes:07692f89-3619-4d03-a6b2-88bb74a3baeb:localhost] 2021-01-18 21:36:35 | [Mutex] received everything. 2021-01-18 21:36:35 | [Mutex] isItemNotified: received:node:07692f89-3619-4d03-a6b2-88bb74a3baeb:localhost:node-dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9:Node dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9 :: true |
deleteNodes | 1.026s |
2021-01-18 21:36:41 |
2021-01-18 21:36:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:41 | ------------------------------------ 2021-01-18 21:36:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9</node></data> 2021-01-18 21:36:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-18 21:36:42 | [Mutex] waiting for: [received:nodes:535ef35f-3250-4ddc-8e16-c2b4c45a634f:localhost] 2021-01-18 21:36:42 | [Mutex] waiting for: [received:nodes:535ef35f-3250-4ddc-8e16-c2b4c45a634f:localhost] 2021-01-18 21:36:42 | [Mutex] received everything. 2021-01-18 21:36:42 | [Mutex] isItemNotified: received:node:535ef35f-3250-4ddc-8e16-c2b4c45a634f:localhost:node-dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9:Node dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9 :: false |
deleteSubnodes | 1.149s |
2021-01-18 21:36:39 |
2021-01-18 21:36:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:39 | ------------------------------------ 2021-01-18 21:36:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-74843af6-7acc-4e68-a1bc-62415b4cc643</node></data> 2021-01-18 21:36:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-18 21:36:41 | [Mutex] waiting for: [received:nodes:dd0b2606-59b9-48cc-9d8d-ce98da50e60e:localhost] 2021-01-18 21:36:41 | [Mutex] waiting for: [received:nodes:dd0b2606-59b9-48cc-9d8d-ce98da50e60e:localhost] 2021-01-18 21:36:41 | [Mutex] received everything. 2021-01-18 21:36:41 | [Mutex] isItemNotified: received:node:dd0b2606-59b9-48cc-9d8d-ce98da50e60e:localhost:node-74843af6-7acc-4e68-a1bc-62415b4cc643:Node 74843af6-7acc-4e68-a1bc-62415b4cc643 :: false 2021-01-18 21:36:41 | [Mutex] waiting for: [received:nodes:91d1a926-96a4-4dc1-9e59-39bc95c99908:localhost] 2021-01-18 21:36:41 | [Mutex] received everything. 2021-01-18 21:36:41 | [Mutex] isItemNotified: received:node:91d1a926-96a4-4dc1-9e59-39bc95c99908:localhost:node-74843af6-7acc-4e68-a1bc-62415b4cc643:Node 74843af6-7acc-4e68-a1bc-62415b4cc643 :: false |
publishItemsToNodes | 0.237s |
2021-01-18 21:36:37 |
2021-01-18 21:36:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:37 | ------------------------------------ 2021-01-18 21:36:37 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-74843af6-7acc-4e68-a1bc-62415b4cc643</node><item-id>item-80ed2c4a-5d98-4198-b748-dc4278cb7c10</item-id><entry><test>item-80ed2c4a-5d98-4198-b748-dc4278cb7c10</test></entry></data> 2021-01-18 21:36:38 | 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-80ed2c4a-5d98-4198-b748-dc4278cb7c10</value></item-id></result> 2021-01-18 21:36:38 | [Mutex] waiting for: [published:item:notifieditem-80ed2c4a-5d98-4198-b748-dc4278cb7c10:admin@test-domain.com] 2021-01-18 21:36:38 | [Mutex] received everything. 2021-01-18 21:36:38 | [Mutex] isItemNotified: published:item:notifieditem-80ed2c4a-5d98-4198-b748-dc4278cb7c10:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2021-01-18 21:36:38 |
2021-01-18 21:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:38 | ------------------------------------ 2021-01-18 21:36:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-74843af6-7acc-4e68-a1bc-62415b4cc643</node><item-id>item-80ed2c4a-5d98-4198-b748-dc4278cb7c10</item-id></data> 2021-01-18 21:36:38 | 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-80ed2c4a-5d98-4198-b748-dc4278cb7c10</value></item-id></result> 2021-01-18 21:36:38 | [Mutex] received everything. 2021-01-18 21:36:38 | [Mutex] isItemNotified: retracted:item:notifieditem-80ed2c4a-5d98-4198-b748-dc4278cb7c10:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.130s |
2021-01-18 21:36:38 |
2021-01-18 21:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:38 | ------------------------------------ 2021-01-18 21:36:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-74843af6-7acc-4e68-a1bc-62415b4cc643</node><item-id>item-80ed2c4a-5d98-4198-b748-dc4278cb7c10</item-id></data> 2021-01-18 21:36:38 | 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-74843af6-7acc-4e68-a1bc-62415b4cc643</value></node><item-id label="Item ID" type="text-single"><value>item-80ed2c4a-5d98-4198-b748-dc4278cb7c10</value></item-id><item label="Item" type="text-multi"><value><item id="item-80ed2c4a-5d98-4198-b748-dc4278cb7c10"><test>item-80ed2c4a-5d98-4198-b748-dc4278cb7c10</test></item></value></item></result> 2021-01-18 21:36:38 | [Mutex] notify: [retrieved:item:item-80ed2c4a-5d98-4198-b748-dc4278cb7c10:payload-matches:true:localhost] 2021-01-18 21:36:38 | [Mutex] received everything. 2021-01-18 21:36:38 | [Mutex] isItemNotified: retrieved:item:item-80ed2c4a-5d98-4198-b748-dc4278cb7c10:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.057s |
2021-01-18 21:36:38 |
2021-01-18 21:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:38 | ------------------------------------ 2021-01-18 21:36:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-18 21:36:38 | 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-dd4f9a80-a6cd-4de3-81ee-cf9be7a173e9</value><value>node-74843af6-7acc-4e68-a1bc-62415b4cc643</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-01-18 21:36:38 |
2021-01-18 21:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:38 | ------------------------------------ 2021-01-18 21:36:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-74843af6-7acc-4e68-a1bc-62415b4cc643)</node-pattern></data> 2021-01-18 21:36:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.154s |
2021-01-18 21:36:36 |
2021-01-18 21:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:36 | ------------------------------------ 2021-01-18 21:36:36 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-74843af6-7acc-4e68-a1bc-62415b4cc643</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-18 21:36:36 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.334s |
2021-01-18 21:36:38 |
2021-01-18 21:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-18 21:36:38 | ------------------------------------ 2021-01-18 21:36:38 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-74843af6-7acc-4e68-a1bc-62415b4cc643</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-18 21:36:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |