Test duration : 10.065s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.088s |
2020-12-16 14:20:37 |
2020-12-16 14:20:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:37 | ------------------------------------ 2020-12-16 14:20:37 | [Mutex] waiting for: [configured:node:node-206fced4-da8a-41b0-a58d-666150a9cc3d:node-d42be9c0-8138-4d7e-aa23-63c23f369362] 2020-12-16 14:20:37 | [Mutex] received everything. 2020-12-16 14:20:37 | [Mutex] isItemNotified: configured:node:node-206fced4-da8a-41b0-a58d-666150a9cc3d:node-d42be9c0-8138-4d7e-aa23-63c23f369362 :: true 2020-12-16 14:20:38 | [Mutex] waiting for: [received:nodes:266e588e-d49b-4f82-81ef-87be2c5ba666:localhost] 2020-12-16 14:20:38 | [Mutex] received everything. 2020-12-16 14:20:38 | [Mutex] isItemNotified: received:node:266e588e-d49b-4f82-81ef-87be2c5ba666:localhost:node-206fced4-da8a-41b0-a58d-666150a9cc3d:Node 206fced4-da8a-41b0-a58d-666150a9cc3d :: true 2020-12-16 14:20:38 | [Mutex] waiting for: [received:nodes:cdbb4712-4aad-42b1-bbaa-b362e6b642a3:localhost] 2020-12-16 14:20:38 | [Mutex] received everything. 2020-12-16 14:20:38 | [Mutex] isItemNotified: received:node:cdbb4712-4aad-42b1-bbaa-b362e6b642a3:localhost:node-206fced4-da8a-41b0-a58d-666150a9cc3d:Node 206fced4-da8a-41b0-a58d-666150a9cc3d :: false |
createNodes | 1.545s |
2020-12-16 14:20:34 |
2020-12-16 14:20:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:34 | ------------------------------------ 2020-12-16 14:20:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-206fced4-da8a-41b0-a58d-666150a9cc3d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 206fced4-da8a-41b0-a58d-666150a9cc3d</title></pubsub></data> 2020-12-16 14:20:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 14:20:36 | [Mutex] waiting for: [received:nodes:c9873016-b603-4505-a1b6-2330794c121c:localhost] 2020-12-16 14:20:36 | [Mutex] received everything. 2020-12-16 14:20:36 | [Mutex] isItemNotified: received:node:c9873016-b603-4505-a1b6-2330794c121c:localhost:node-206fced4-da8a-41b0-a58d-666150a9cc3d:Node 206fced4-da8a-41b0-a58d-666150a9cc3d :: true |
createSubnodes | 1.027s |
2020-12-16 14:20:36 |
2020-12-16 14:20:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:36 | ------------------------------------ 2020-12-16 14:20:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d42be9c0-8138-4d7e-aa23-63c23f369362</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d42be9c0-8138-4d7e-aa23-63c23f369362</title></pubsub></data> 2020-12-16 14:20:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 14:20:37 | [Mutex] waiting for: [received:nodes:1c1de596-b7d2-4d64-bfb6-14dc3bedbf4a:localhost] 2020-12-16 14:20:37 | [Mutex] received everything. 2020-12-16 14:20:37 | [Mutex] isItemNotified: received:node:1c1de596-b7d2-4d64-bfb6-14dc3bedbf4a:localhost:node-d42be9c0-8138-4d7e-aa23-63c23f369362:Node d42be9c0-8138-4d7e-aa23-63c23f369362 :: true |
deleteNodes | 1.019s |
2020-12-16 14:20:42 |
2020-12-16 14:20:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:42 | ------------------------------------ 2020-12-16 14:20:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d42be9c0-8138-4d7e-aa23-63c23f369362</node></data> 2020-12-16 14:20:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 14:20:43 | [Mutex] waiting for: [received:nodes:aaa3158d-40be-46c3-92bf-c562bbd8752c:localhost] 2020-12-16 14:20:43 | [Mutex] received everything. 2020-12-16 14:20:43 | [Mutex] isItemNotified: received:node:aaa3158d-40be-46c3-92bf-c562bbd8752c:localhost:node-d42be9c0-8138-4d7e-aa23-63c23f369362:Node d42be9c0-8138-4d7e-aa23-63c23f369362 :: false |
deleteSubnodes | 1.119s |
2020-12-16 14:20:41 |
2020-12-16 14:20:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:41 | ------------------------------------ 2020-12-16 14:20:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-206fced4-da8a-41b0-a58d-666150a9cc3d</node></data> 2020-12-16 14:20:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 14:20:42 | [Mutex] waiting for: [received:nodes:c545a010-0440-493c-ac16-06686d1feb71:localhost] 2020-12-16 14:20:42 | [Mutex] waiting for: [received:nodes:c545a010-0440-493c-ac16-06686d1feb71:localhost] 2020-12-16 14:20:42 | [Mutex] received everything. 2020-12-16 14:20:42 | [Mutex] isItemNotified: received:node:c545a010-0440-493c-ac16-06686d1feb71:localhost:node-206fced4-da8a-41b0-a58d-666150a9cc3d:Node 206fced4-da8a-41b0-a58d-666150a9cc3d :: false 2020-12-16 14:20:42 | [Mutex] waiting for: [received:nodes:307a4780-f20e-46b0-8c2a-fee16c074e84:localhost] 2020-12-16 14:20:42 | [Mutex] received everything. 2020-12-16 14:20:42 | [Mutex] isItemNotified: received:node:307a4780-f20e-46b0-8c2a-fee16c074e84:localhost:node-206fced4-da8a-41b0-a58d-666150a9cc3d:Node 206fced4-da8a-41b0-a58d-666150a9cc3d :: false |
publishItemsToNodes | 0.253s |
2020-12-16 14:20:39 |
2020-12-16 14:20:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:39 | ------------------------------------ 2020-12-16 14:20:39 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-206fced4-da8a-41b0-a58d-666150a9cc3d</node><item-id>item-948116a5-9bd7-4b1c-acf9-18ce34b879d4</item-id><entry><test>item-948116a5-9bd7-4b1c-acf9-18ce34b879d4</test></entry></data> 2020-12-16 14:20:39 | 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-948116a5-9bd7-4b1c-acf9-18ce34b879d4</value></item-id></result> 2020-12-16 14:20:39 | [Mutex] received everything. 2020-12-16 14:20:39 | [Mutex] isItemNotified: published:item:notifieditem-948116a5-9bd7-4b1c-acf9-18ce34b879d4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.216s |
2020-12-16 14:20:40 |
2020-12-16 14:20:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:40 | ------------------------------------ 2020-12-16 14:20:40 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-206fced4-da8a-41b0-a58d-666150a9cc3d</node><item-id>item-948116a5-9bd7-4b1c-acf9-18ce34b879d4</item-id></data> 2020-12-16 14:20:40 | 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-948116a5-9bd7-4b1c-acf9-18ce34b879d4</value></item-id></result> 2020-12-16 14:20:40 | [Mutex] received everything. 2020-12-16 14:20:40 | [Mutex] isItemNotified: retracted:item:notifieditem-948116a5-9bd7-4b1c-acf9-18ce34b879d4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.267s |
2020-12-16 14:20:39 |
2020-12-16 14:20:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:39 | ------------------------------------ 2020-12-16 14:20:39 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-206fced4-da8a-41b0-a58d-666150a9cc3d</node><item-id>item-948116a5-9bd7-4b1c-acf9-18ce34b879d4</item-id></data> 2020-12-16 14:20:40 | 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-206fced4-da8a-41b0-a58d-666150a9cc3d</value></node><item-id type="text-single" label="Item ID"><value>item-948116a5-9bd7-4b1c-acf9-18ce34b879d4</value></item-id><item type="text-multi" label="Item"><value><item id="item-948116a5-9bd7-4b1c-acf9-18ce34b879d4"><test>item-948116a5-9bd7-4b1c-acf9-18ce34b879d4</test></item></value></item></result> 2020-12-16 14:20:40 | [Mutex] notify: [retrieved:item:item-948116a5-9bd7-4b1c-acf9-18ce34b879d4:payload-matches:true:localhost] 2020-12-16 14:20:40 | [Mutex] received everything. 2020-12-16 14:20:40 | [Mutex] isItemNotified: retrieved:item:item-948116a5-9bd7-4b1c-acf9-18ce34b879d4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-12-16 14:20:40 |
2020-12-16 14:20:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:40 | ------------------------------------ 2020-12-16 14:20:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-16 14:20:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-206fced4-da8a-41b0-a58d-666150a9cc3d</value><value>test</value><value>node-d42be9c0-8138-4d7e-aa23-63c23f369362</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-12-16 14:20:40 |
2020-12-16 14:20:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:40 | ------------------------------------ 2020-12-16 14:20:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-206fced4-da8a-41b0-a58d-666150a9cc3d)</node-pattern></data> 2020-12-16 14:20:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.154s |
2020-12-16 14:20:38 |
2020-12-16 14:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:38 | ------------------------------------ 2020-12-16 14:20:38 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-206fced4-da8a-41b0-a58d-666150a9cc3d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-16 14:20:38 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.319s |
2020-12-16 14:20:40 |
2020-12-16 14:20:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 14:20:40 | ------------------------------------ 2020-12-16 14:20:40 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-206fced4-da8a-41b0-a58d-666150a9cc3d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-16 14:20:40 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |