Test duration : 10.367s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2020-11-09 22:00:05 |
2020-11-09 22:00:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:05 | ------------------------------------ 2020-11-09 22:00:05 | [Mutex] waiting for: [configured:node:node-3d8577e8-d8d0-4004-aaab-a01474944354:node-bde18c37-14df-4585-8761-baa76179c7de] 2020-11-09 22:00:05 | [Mutex] received everything. 2020-11-09 22:00:05 | [Mutex] isItemNotified: configured:node:node-3d8577e8-d8d0-4004-aaab-a01474944354:node-bde18c37-14df-4585-8761-baa76179c7de :: true 2020-11-09 22:00:06 | [Mutex] waiting for: [received:nodes:f4fefe3b-a13a-40f2-9e91-cc63b53b5425:localhost] 2020-11-09 22:00:06 | [Mutex] received everything. 2020-11-09 22:00:06 | [Mutex] isItemNotified: received:node:f4fefe3b-a13a-40f2-9e91-cc63b53b5425:localhost:node-3d8577e8-d8d0-4004-aaab-a01474944354:Node 3d8577e8-d8d0-4004-aaab-a01474944354 :: true 2020-11-09 22:00:06 | [Mutex] waiting for: [received:nodes:17e926d7-9ea1-4277-9ca4-f9aeb75df809:localhost] 2020-11-09 22:00:06 | [Mutex] received everything. 2020-11-09 22:00:06 | [Mutex] isItemNotified: received:node:17e926d7-9ea1-4277-9ca4-f9aeb75df809:localhost:node-3d8577e8-d8d0-4004-aaab-a01474944354:Node 3d8577e8-d8d0-4004-aaab-a01474944354 :: false |
createNodes | 1.667s |
2020-11-09 22:00:02 |
2020-11-09 22:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:02 | ------------------------------------ 2020-11-09 22:00:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3d8577e8-d8d0-4004-aaab-a01474944354</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3d8577e8-d8d0-4004-aaab-a01474944354</title></pubsub></data> 2020-11-09 22:00:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 22:00:04 | [Mutex] waiting for: [received:nodes:4d535f5f-5a20-4e64-a9a9-61d1d8c76a4e:localhost] 2020-11-09 22:00:04 | [Mutex] received everything. 2020-11-09 22:00:04 | [Mutex] isItemNotified: received:node:4d535f5f-5a20-4e64-a9a9-61d1d8c76a4e:localhost:node-3d8577e8-d8d0-4004-aaab-a01474944354:Node 3d8577e8-d8d0-4004-aaab-a01474944354 :: true |
createSubnodes | 1.026s |
2020-11-09 22:00:04 |
2020-11-09 22:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:04 | ------------------------------------ 2020-11-09 22:00:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bde18c37-14df-4585-8761-baa76179c7de</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bde18c37-14df-4585-8761-baa76179c7de</title></pubsub></data> 2020-11-09 22:00:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 22:00:05 | [Mutex] waiting for: [received:nodes:3d417569-56e8-4d00-ba92-7734cd92580d:localhost] 2020-11-09 22:00:05 | [Mutex] received everything. 2020-11-09 22:00:05 | [Mutex] isItemNotified: received:node:3d417569-56e8-4d00-ba92-7734cd92580d:localhost:node-bde18c37-14df-4585-8761-baa76179c7de:Node bde18c37-14df-4585-8761-baa76179c7de :: true |
deleteNodes | 1.019s |
2020-11-09 22:00:11 |
2020-11-09 22:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:11 | ------------------------------------ 2020-11-09 22:00:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bde18c37-14df-4585-8761-baa76179c7de</node></data> 2020-11-09 22:00:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 22:00:12 | [Mutex] waiting for: [received:nodes:4bf208fe-8550-4da1-b239-68f14d69bd94:localhost] 2020-11-09 22:00:12 | [Mutex] waiting for: [received:nodes:4bf208fe-8550-4da1-b239-68f14d69bd94:localhost] 2020-11-09 22:00:12 | [Mutex] received everything. 2020-11-09 22:00:12 | [Mutex] isItemNotified: received:node:4bf208fe-8550-4da1-b239-68f14d69bd94:localhost:node-bde18c37-14df-4585-8761-baa76179c7de:Node bde18c37-14df-4585-8761-baa76179c7de :: false |
deleteSubnodes | 1.137s |
2020-11-09 22:00:10 |
2020-11-09 22:00:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:10 | ------------------------------------ 2020-11-09 22:00:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3d8577e8-d8d0-4004-aaab-a01474944354</node></data> 2020-11-09 22:00:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-09 22:00:11 | [Mutex] waiting for: [received:nodes:d09e81ae-b4f3-43c9-b958-bcf37fa45d01:localhost] 2020-11-09 22:00:11 | [Mutex] received everything. 2020-11-09 22:00:11 | [Mutex] isItemNotified: received:node:d09e81ae-b4f3-43c9-b958-bcf37fa45d01:localhost:node-3d8577e8-d8d0-4004-aaab-a01474944354:Node 3d8577e8-d8d0-4004-aaab-a01474944354 :: false 2020-11-09 22:00:11 | [Mutex] waiting for: [received:nodes:cbbbb72c-83db-418e-83a5-154f40e585b5:localhost] 2020-11-09 22:00:11 | [Mutex] received everything. 2020-11-09 22:00:11 | [Mutex] isItemNotified: received:node:cbbbb72c-83db-418e-83a5-154f40e585b5:localhost:node-3d8577e8-d8d0-4004-aaab-a01474944354:Node 3d8577e8-d8d0-4004-aaab-a01474944354 :: false |
publishItemsToNodes | 0.193s |
2020-11-09 22:00:07 |
2020-11-09 22:00:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:07 | ------------------------------------ 2020-11-09 22:00:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3d8577e8-d8d0-4004-aaab-a01474944354</node><item-id>item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</item-id><entry><test>item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</test></entry></data> 2020-11-09 22:00:08 | 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-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</value></item-id></result> 2020-11-09 22:00:08 | [Mutex] waiting for: [published:item:notifieditem-1fe8987e-1583-46c1-91a0-4ca4f95d0f76:admin@test-domain.com] 2020-11-09 22:00:08 | [Mutex] received everything. 2020-11-09 22:00:08 | [Mutex] isItemNotified: published:item:notifieditem-1fe8987e-1583-46c1-91a0-4ca4f95d0f76:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2020-11-09 22:00:08 |
2020-11-09 22:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:08 | ------------------------------------ 2020-11-09 22:00:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3d8577e8-d8d0-4004-aaab-a01474944354</node><item-id>item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</item-id></data> 2020-11-09 22:00:08 | 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-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</value></item-id></result> 2020-11-09 22:00:08 | [Mutex] received everything. 2020-11-09 22:00:08 | [Mutex] isItemNotified: retracted:item:notifieditem-1fe8987e-1583-46c1-91a0-4ca4f95d0f76:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.280s |
2020-11-09 22:00:08 |
2020-11-09 22:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:08 | ------------------------------------ 2020-11-09 22:00:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3d8577e8-d8d0-4004-aaab-a01474944354</node><item-id>item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</item-id></data> 2020-11-09 22:00:08 | 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-3d8577e8-d8d0-4004-aaab-a01474944354</value></node><item-id type="text-single" label="Item ID"><value>item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</value></item-id><item type="text-multi" label="Item"><value><item id="item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76"><test>item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76</test></item></value></item></result> 2020-11-09 22:00:08 | [Mutex] notify: [retrieved:item:item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76:payload-matches:true:localhost] 2020-11-09 22:00:08 | [Mutex] received everything. 2020-11-09 22:00:08 | [Mutex] isItemNotified: retrieved:item:item-1fe8987e-1583-46c1-91a0-4ca4f95d0f76:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-11-09 22:00:08 |
2020-11-09 22:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:08 | ------------------------------------ 2020-11-09 22:00:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-09 22:00:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-bde18c37-14df-4585-8761-baa76179c7de</value><value>test</value><value>node-3d8577e8-d8d0-4004-aaab-a01474944354</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-09 22:00:08 |
2020-11-09 22:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:08 | ------------------------------------ 2020-11-09 22:00: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-3d8577e8-d8d0-4004-aaab-a01474944354)</node-pattern></data> 2020-11-09 22:00:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.160s |
2020-11-09 22:00:06 |
2020-11-09 22:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:06 | ------------------------------------ 2020-11-09 22:00:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3d8577e8-d8d0-4004-aaab-a01474944354</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-09 22:00: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.359s |
2020-11-09 22:00:08 |
2020-11-09 22:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-09 22:00:08 | ------------------------------------ 2020-11-09 22:00:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3d8577e8-d8d0-4004-aaab-a01474944354</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-09 22:00:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |