Test duration: 10.306s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2019-12-12 20:42:33 |
2019-12-12 20:42:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:33 | ------------------------------------ 2019-12-12 20:42:33 | [Mutex] waiting for: [configured:node:node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81:node-55cb6a49-0d39-40c1-8b7e-0ea2dbccd039] 2019-12-12 20:42:33 | [Mutex] received everything. 2019-12-12 20:42:33 | [Mutex] isItemNotified: configured:node:node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81:node-55cb6a49-0d39-40c1-8b7e-0ea2dbccd039 :: true 2019-12-12 20:42:34 | [Mutex] waiting for: [received:nodes:355a8bf6-c5f3-459b-8e4c-173082a431dd:localhost] 2019-12-12 20:42:34 | [Mutex] received everything. 2019-12-12 20:42:34 | [Mutex] isItemNotified: received:node:355a8bf6-c5f3-459b-8e4c-173082a431dd:localhost:node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81:Node e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81 :: true 2019-12-12 20:42:34 | [Mutex] waiting for: [received:nodes:f0caa9e2-d1e6-45b1-a9d4-14eff67fe39a:localhost] 2019-12-12 20:42:34 | [Mutex] received everything. 2019-12-12 20:42:34 | [Mutex] isItemNotified: received:node:f0caa9e2-d1e6-45b1-a9d4-14eff67fe39a:localhost:node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81:Node e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81 :: false |
createNodes | 1.684s |
2019-12-12 20:42:30 |
2019-12-12 20:42:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:30 | ------------------------------------ 2019-12-12 20:42:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</title></pubsub></data> 2019-12-12 20:42:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-12 20:42:32 | [Mutex] waiting for: [received:nodes:b25808a6-6bcf-404e-9f6c-b4371b8caca8:localhost] 2019-12-12 20:42:32 | [Mutex] received everything. 2019-12-12 20:42:32 | [Mutex] isItemNotified: received:node:b25808a6-6bcf-404e-9f6c-b4371b8caca8:localhost:node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81:Node e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81 :: true |
createSubnodes | 1.024s |
2019-12-12 20:42:32 |
2019-12-12 20:42:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:32 | ------------------------------------ 2019-12-12 20:42:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-55cb6a49-0d39-40c1-8b7e-0ea2dbccd039</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 55cb6a49-0d39-40c1-8b7e-0ea2dbccd039</title></pubsub></data> 2019-12-12 20:42:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-12 20:42:33 | [Mutex] waiting for: [received:nodes:34860b66-1e3c-4879-aae1-78b71d57e265:localhost] 2019-12-12 20:42:33 | [Mutex] received everything. 2019-12-12 20:42:33 | [Mutex] isItemNotified: received:node:34860b66-1e3c-4879-aae1-78b71d57e265:localhost:node-55cb6a49-0d39-40c1-8b7e-0ea2dbccd039:Node 55cb6a49-0d39-40c1-8b7e-0ea2dbccd039 :: true |
deleteNodes | 1.024s |
2019-12-12 20:42:38 |
2019-12-12 20:42:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:38 | ------------------------------------ 2019-12-12 20:42:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-55cb6a49-0d39-40c1-8b7e-0ea2dbccd039</node></data> 2019-12-12 20:42:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-12 20:42:39 | [Mutex] waiting for: [received:nodes:71d87f4e-4530-4ae5-851b-44fbb0772e35:localhost] 2019-12-12 20:42:40 | [Mutex] received everything. 2019-12-12 20:42:40 | [Mutex] isItemNotified: received:node:71d87f4e-4530-4ae5-851b-44fbb0772e35:localhost:node-55cb6a49-0d39-40c1-8b7e-0ea2dbccd039:Node 55cb6a49-0d39-40c1-8b7e-0ea2dbccd039 :: false |
deleteSubnodes | 1.152s |
2019-12-12 20:42:37 |
2019-12-12 20:42:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:37 | ------------------------------------ 2019-12-12 20:42:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</node></data> 2019-12-12 20:42:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-12 20:42:38 | [Mutex] waiting for: [received:nodes:32a9e78d-0395-4b02-8095-c865aed16866:localhost] 2019-12-12 20:42:38 | [Mutex] received everything. 2019-12-12 20:42:38 | [Mutex] isItemNotified: received:node:32a9e78d-0395-4b02-8095-c865aed16866:localhost:node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81:Node e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81 :: false 2019-12-12 20:42:38 | [Mutex] waiting for: [received:nodes:5ef5dc3c-8990-45c5-8cde-1e51e7f4d5fe:localhost] 2019-12-12 20:42:38 | [Mutex] received everything. 2019-12-12 20:42:38 | [Mutex] isItemNotified: received:node:5ef5dc3c-8990-45c5-8cde-1e51e7f4d5fe:localhost:node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81:Node e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81 :: false |
publishItemsToNodes | 0.302s |
2019-12-12 20:42:35 |
2019-12-12 20:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:35 | ------------------------------------ 2019-12-12 20:42:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</node><item-id>item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</item-id><entry><test>item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</test></entry></data> 2019-12-12 20:42:35 | 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-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</value></item-id></result> 2019-12-12 20:42:35 | [Mutex] received everything. 2019-12-12 20:42:35 | [Mutex] isItemNotified: published:item:notifieditem-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6:admin@localhost :: true |
retractItemsFromNodes | 0.204s |
2019-12-12 20:42:36 |
2019-12-12 20:42:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:36 | ------------------------------------ 2019-12-12 20:42:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</node><item-id>item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</item-id></data> 2019-12-12 20:42:36 | 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-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</value></item-id></result> 2019-12-12 20:42:36 | [Mutex] received everything. 2019-12-12 20:42:36 | [Mutex] isItemNotified: retracted:item:notifieditem-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6:admin@localhost :: true |
retrieveItemsFromNodes | 0.168s |
2019-12-12 20:42:35 |
2019-12-12 20:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:35 | ------------------------------------ 2019-12-12 20:42:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</node><item-id>item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</item-id></data> 2019-12-12 20:42:36 | 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-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</value></node><item-id type="text-single" label="Item ID"><value>item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</value></item-id><item type="text-multi" label="Item"><value><item id="item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6"><test>item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6</test></item></value></item></result> 2019-12-12 20:42:36 | [Mutex] notify: [retrieved:item:item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6:payload-matches:true:localhost] 2019-12-12 20:42:36 | [Mutex] received everything. 2019-12-12 20:42:36 | [Mutex] isItemNotified: retrieved:item:item-15cfaa4f-1f2b-4aa2-a818-31d91e6562e6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.136s |
2019-12-12 20:42:36 |
2019-12-12 20:42:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:36 | ------------------------------------ 2019-12-12 20:42:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-12-12 20:42:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</value><value>node-55cb6a49-0d39-40c1-8b7e-0ea2dbccd039</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2019-12-12 20:42:36 |
2019-12-12 20:42:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:36 | ------------------------------------ 2019-12-12 20:42:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81)</node-pattern></data> 2019-12-12 20:42:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.179s |
2019-12-12 20:42:34 |
2019-12-12 20:42:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:34 | ------------------------------------ 2019-12-12 20:42:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</node><jids><value>admin@localhost</value></jids></data> 2019-12-12 20:42:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.286s |
2019-12-12 20:42:36 |
2019-12-12 20:42:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-12 20:42:36 | ------------------------------------ 2019-12-12 20:42:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e10d4d98-3acb-4e26-a5d3-d5d41b9b0b81</node><jids><value>admin@localhost</value></jids></data> 2019-12-12 20:42:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |