Test duration : 9.558s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2022-07-20 22:32:18 |
2022-07-20 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:18 | ------------------------------------ 2022-07-20 22:32:18 | [Mutex] waiting for: [configured:node:node-6683c394-615c-4b40-8056-2767877ebdd2:node-7fefe8d9-32e8-4845-a588-77f38f0c42cc] 2022-07-20 22:32:18 | [Mutex] received everything. 2022-07-20 22:32:18 | [Mutex] isItemNotified: configured:node:node-6683c394-615c-4b40-8056-2767877ebdd2:node-7fefe8d9-32e8-4845-a588-77f38f0c42cc :: true 2022-07-20 22:32:19 | [Mutex] waiting for: [received:nodes:26cf92b1-2487-4879-960c-07186bbf9980:localhost] 2022-07-20 22:32:19 | [Mutex] received everything. 2022-07-20 22:32:19 | [Mutex] isItemNotified: received:node:26cf92b1-2487-4879-960c-07186bbf9980:localhost:node-6683c394-615c-4b40-8056-2767877ebdd2:Node 6683c394-615c-4b40-8056-2767877ebdd2 :: true 2022-07-20 22:32:19 | [Mutex] waiting for: [received:nodes:2e24df7d-e192-483a-9aaa-37f747dbb03b:localhost] 2022-07-20 22:32:19 | [Mutex] received everything. 2022-07-20 22:32:19 | [Mutex] isItemNotified: received:node:2e24df7d-e192-483a-9aaa-37f747dbb03b:localhost:node-6683c394-615c-4b40-8056-2767877ebdd2:Node 6683c394-615c-4b40-8056-2767877ebdd2 :: false |
createNodes | 1.488s |
2022-07-20 22:32:16 |
2022-07-20 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:16 | ------------------------------------ 2022-07-20 22:32:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6683c394-615c-4b40-8056-2767877ebdd2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6683c394-615c-4b40-8056-2767877ebdd2</title></pubsub></data> 2022-07-20 22:32:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 22:32:17 | [Mutex] waiting for: [received:nodes:70ba72b5-650f-483c-85da-68d53b5b3683:localhost] 2022-07-20 22:32:17 | [Mutex] received everything. 2022-07-20 22:32:17 | [Mutex] isItemNotified: received:node:70ba72b5-650f-483c-85da-68d53b5b3683:localhost:node-6683c394-615c-4b40-8056-2767877ebdd2:Node 6683c394-615c-4b40-8056-2767877ebdd2 :: true |
createSubnodes | 1.023s |
2022-07-20 22:32:17 |
2022-07-20 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:17 | ------------------------------------ 2022-07-20 22:32:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7fefe8d9-32e8-4845-a588-77f38f0c42cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7fefe8d9-32e8-4845-a588-77f38f0c42cc</title></pubsub></data> 2022-07-20 22:32:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 22:32:18 | [Mutex] waiting for: [received:nodes:ff0dc80d-59e8-4087-b336-e754baed8c9c:localhost] 2022-07-20 22:32:18 | [Mutex] received everything. 2022-07-20 22:32:18 | [Mutex] isItemNotified: received:node:ff0dc80d-59e8-4087-b336-e754baed8c9c:localhost:node-7fefe8d9-32e8-4845-a588-77f38f0c42cc:Node 7fefe8d9-32e8-4845-a588-77f38f0c42cc :: true |
deleteNodes | 1.019s |
2022-07-20 22:32:24 |
2022-07-20 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:24 | ------------------------------------ 2022-07-20 22:32:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7fefe8d9-32e8-4845-a588-77f38f0c42cc</node></data> 2022-07-20 22:32:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 22:32:25 | [Mutex] waiting for: [received:nodes:f60d0d14-70c7-42aa-91f9-12b99044e06c:localhost] 2022-07-20 22:32:25 | [Mutex] received everything. 2022-07-20 22:32:25 | [Mutex] isItemNotified: received:node:f60d0d14-70c7-42aa-91f9-12b99044e06c:localhost:node-7fefe8d9-32e8-4845-a588-77f38f0c42cc:Node 7fefe8d9-32e8-4845-a588-77f38f0c42cc :: false |
deleteSubnodes | 1.124s |
2022-07-20 22:32:23 |
2022-07-20 22:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:23 | ------------------------------------ 2022-07-20 22:32:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6683c394-615c-4b40-8056-2767877ebdd2</node></data> 2022-07-20 22:32:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-20 22:32:24 | [Mutex] waiting for: [received:nodes:ad098450-1888-4a55-97b6-0c93b38c92c3:localhost] 2022-07-20 22:32:24 | [Mutex] waiting for: [received:nodes:ad098450-1888-4a55-97b6-0c93b38c92c3:localhost] 2022-07-20 22:32:24 | [Mutex] waiting for: [received:nodes:ad098450-1888-4a55-97b6-0c93b38c92c3:localhost] 2022-07-20 22:32:24 | [Mutex] received everything. 2022-07-20 22:32:24 | [Mutex] isItemNotified: received:node:ad098450-1888-4a55-97b6-0c93b38c92c3:localhost:node-6683c394-615c-4b40-8056-2767877ebdd2:Node 6683c394-615c-4b40-8056-2767877ebdd2 :: false 2022-07-20 22:32:24 | [Mutex] waiting for: [received:nodes:5a7f9e95-8a70-4fd7-8546-5c92cbe34128:localhost] 2022-07-20 22:32:24 | [Mutex] received everything. 2022-07-20 22:32:24 | [Mutex] isItemNotified: received:node:5a7f9e95-8a70-4fd7-8546-5c92cbe34128:localhost:node-6683c394-615c-4b40-8056-2767877ebdd2:Node 6683c394-615c-4b40-8056-2767877ebdd2 :: false |
publishItemsToNodes | 0.246s |
2022-07-20 22:32:21 |
2022-07-20 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:21 | ------------------------------------ 2022-07-20 22:32:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6683c394-615c-4b40-8056-2767877ebdd2</node><item-id>item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</item-id><entry><test>item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</test></entry></data> 2022-07-20 22:32:21 | 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-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</value></item-id></result> 2022-07-20 22:32:21 | [Mutex] waiting for: [published:item:notifieditem-0ed0f520-ce61-46a6-88f3-ffc309d1b0de:admin@test-domain.com] 2022-07-20 22:32:21 | [Mutex] received everything. 2022-07-20 22:32:21 | [Mutex] isItemNotified: published:item:notifieditem-0ed0f520-ce61-46a6-88f3-ffc309d1b0de:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2022-07-20 22:32:21 |
2022-07-20 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:21 | ------------------------------------ 2022-07-20 22:32:21 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6683c394-615c-4b40-8056-2767877ebdd2</node><item-id>item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</item-id></data> 2022-07-20 22:32:21 | 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-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</value></item-id></result> 2022-07-20 22:32:21 | [Mutex] received everything. 2022-07-20 22:32:21 | [Mutex] isItemNotified: retracted:item:notifieditem-0ed0f520-ce61-46a6-88f3-ffc309d1b0de:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.206s |
2022-07-20 22:32:21 |
2022-07-20 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:21 | ------------------------------------ 2022-07-20 22:32:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6683c394-615c-4b40-8056-2767877ebdd2</node><item-id>item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</item-id></data> 2022-07-20 22:32:21 | 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-6683c394-615c-4b40-8056-2767877ebdd2</value></node><item-id type="text-single" label="Item ID"><value>item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</value></item-id><item type="text-multi" label="Item"><value><item id="item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de"><test>item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de</test></item></value></item></result> 2022-07-20 22:32:21 | [Mutex] notify: [retrieved:item:item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de:payload-matches:true:localhost] 2022-07-20 22:32:21 | [Mutex] received everything. 2022-07-20 22:32:21 | [Mutex] isItemNotified: retrieved:item:item-0ed0f520-ce61-46a6-88f3-ffc309d1b0de:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-07-20 22:32:21 |
2022-07-20 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:21 | ------------------------------------ 2022-07-20 22:32:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-20 22:32:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-6683c394-615c-4b40-8056-2767877ebdd2</value><value>test</value><value>node-7fefe8d9-32e8-4845-a588-77f38f0c42cc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-07-20 22:32:21 |
2022-07-20 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:21 | ------------------------------------ 2022-07-20 22:32:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6683c394-615c-4b40-8056-2767877ebdd2)</node-pattern></data> 2022-07-20 22:32:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2022-07-20 22:32:19 |
2022-07-20 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:19 | ------------------------------------ 2022-07-20 22:32:19 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6683c394-615c-4b40-8056-2767877ebdd2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-20 22:32:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.183s |
2022-07-20 22:32:21 |
2022-07-20 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-20 22:32:21 | ------------------------------------ 2022-07-20 22:32:21 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6683c394-615c-4b40-8056-2767877ebdd2</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-20 22:32:22 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |