Test duration : 9.566s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2022-08-30 23:03:23 |
2022-08-30 23:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:23 | ------------------------------------ 2022-08-30 23:03:23 | [Mutex] waiting for: [configured:node:node-2f944132-b89a-44d9-9eea-c7b77937509e:node-d4ed0752-0262-455c-b9e3-349e4ca667c6] 2022-08-30 23:03:23 | [Mutex] received everything. 2022-08-30 23:03:23 | [Mutex] isItemNotified: configured:node:node-2f944132-b89a-44d9-9eea-c7b77937509e:node-d4ed0752-0262-455c-b9e3-349e4ca667c6 :: true 2022-08-30 23:03:24 | [Mutex] waiting for: [received:nodes:ab6cb5f1-8991-4f49-82ca-8248fbaae56f:localhost] 2022-08-30 23:03:24 | [Mutex] received everything. 2022-08-30 23:03:24 | [Mutex] isItemNotified: received:node:ab6cb5f1-8991-4f49-82ca-8248fbaae56f:localhost:node-2f944132-b89a-44d9-9eea-c7b77937509e:Node 2f944132-b89a-44d9-9eea-c7b77937509e :: true 2022-08-30 23:03:24 | [Mutex] waiting for: [received:nodes:0e7299af-e11a-47bc-ba3b-d90f5d091ffd:localhost] 2022-08-30 23:03:24 | [Mutex] waiting for: [received:nodes:0e7299af-e11a-47bc-ba3b-d90f5d091ffd:localhost] 2022-08-30 23:03:24 | [Mutex] received everything. 2022-08-30 23:03:24 | [Mutex] isItemNotified: received:node:0e7299af-e11a-47bc-ba3b-d90f5d091ffd:localhost:node-2f944132-b89a-44d9-9eea-c7b77937509e:Node 2f944132-b89a-44d9-9eea-c7b77937509e :: false |
createNodes | 1.461s |
2022-08-30 23:03:20 |
2022-08-30 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:20 | ------------------------------------ 2022-08-30 23:03:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f944132-b89a-44d9-9eea-c7b77937509e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2f944132-b89a-44d9-9eea-c7b77937509e</title></pubsub></data> 2022-08-30 23:03:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 23:03:22 | [Mutex] waiting for: [received:nodes:f8e55ea4-a379-4603-88a2-6bfbdb198c9b:localhost] 2022-08-30 23:03:22 | [Mutex] received everything. 2022-08-30 23:03:22 | [Mutex] isItemNotified: received:node:f8e55ea4-a379-4603-88a2-6bfbdb198c9b:localhost:node-2f944132-b89a-44d9-9eea-c7b77937509e:Node 2f944132-b89a-44d9-9eea-c7b77937509e :: true |
createSubnodes | 1.032s |
2022-08-30 23:03:22 |
2022-08-30 23:03:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:22 | ------------------------------------ 2022-08-30 23:03:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d4ed0752-0262-455c-b9e3-349e4ca667c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d4ed0752-0262-455c-b9e3-349e4ca667c6</title></pubsub></data> 2022-08-30 23:03:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 23:03:23 | [Mutex] waiting for: [received:nodes:b351d243-07d0-417f-9afb-51e8a6c8190b:localhost] 2022-08-30 23:03:23 | [Mutex] waiting for: [received:nodes:b351d243-07d0-417f-9afb-51e8a6c8190b:localhost] 2022-08-30 23:03:23 | [Mutex] received everything. 2022-08-30 23:03:23 | [Mutex] isItemNotified: received:node:b351d243-07d0-417f-9afb-51e8a6c8190b:localhost:node-d4ed0752-0262-455c-b9e3-349e4ca667c6:Node d4ed0752-0262-455c-b9e3-349e4ca667c6 :: true |
deleteNodes | 1.015s |
2022-08-30 23:03:28 |
2022-08-30 23:03:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:28 | ------------------------------------ 2022-08-30 23:03:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d4ed0752-0262-455c-b9e3-349e4ca667c6</node></data> 2022-08-30 23:03:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 23:03:29 | [Mutex] waiting for: [received:nodes:49e9a6ef-efb4-432e-888b-80eec21bf4c8:localhost] 2022-08-30 23:03:29 | [Mutex] received everything. 2022-08-30 23:03:29 | [Mutex] isItemNotified: received:node:49e9a6ef-efb4-432e-888b-80eec21bf4c8:localhost:node-d4ed0752-0262-455c-b9e3-349e4ca667c6:Node d4ed0752-0262-455c-b9e3-349e4ca667c6 :: false |
deleteSubnodes | 1.133s |
2022-08-30 23:03:27 |
2022-08-30 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:27 | ------------------------------------ 2022-08-30 23:03:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f944132-b89a-44d9-9eea-c7b77937509e</node></data> 2022-08-30 23:03:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 23:03:28 | [Mutex] waiting for: [received:nodes:065374c7-e595-4c14-99a7-397ec5c79bc4:localhost] 2022-08-30 23:03:28 | [Mutex] received everything. 2022-08-30 23:03:28 | [Mutex] isItemNotified: received:node:065374c7-e595-4c14-99a7-397ec5c79bc4:localhost:node-2f944132-b89a-44d9-9eea-c7b77937509e:Node 2f944132-b89a-44d9-9eea-c7b77937509e :: false 2022-08-30 23:03:28 | [Mutex] waiting for: [received:nodes:eda9d607-f280-4b83-a7d7-ff5b3e1e35a9:localhost] 2022-08-30 23:03:28 | [Mutex] received everything. 2022-08-30 23:03:28 | [Mutex] isItemNotified: received:node:eda9d607-f280-4b83-a7d7-ff5b3e1e35a9:localhost:node-2f944132-b89a-44d9-9eea-c7b77937509e:Node 2f944132-b89a-44d9-9eea-c7b77937509e :: false |
publishItemsToNodes | 0.304s |
2022-08-30 23:03:25 |
2022-08-30 23:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:25 | ------------------------------------ 2022-08-30 23:03:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2f944132-b89a-44d9-9eea-c7b77937509e</node><item-id>item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</item-id><entry><test>item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</test></entry></data> 2022-08-30 23:03:26 | 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-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</value></item-id></result> 2022-08-30 23:03:26 | [Mutex] received everything. 2022-08-30 23:03:26 | [Mutex] isItemNotified: published:item:notifieditem-dfe8e4f9-2c28-45a4-856d-13a95c56ff52:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-08-30 23:03:26 |
2022-08-30 23:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:26 | ------------------------------------ 2022-08-30 23:03:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2f944132-b89a-44d9-9eea-c7b77937509e</node><item-id>item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</item-id></data> 2022-08-30 23:03:26 | 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-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</value></item-id></result> 2022-08-30 23:03:26 | [Mutex] received everything. 2022-08-30 23:03:26 | [Mutex] isItemNotified: retracted:item:notifieditem-dfe8e4f9-2c28-45a4-856d-13a95c56ff52:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.180s |
2022-08-30 23:03:26 |
2022-08-30 23:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:26 | ------------------------------------ 2022-08-30 23:03:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2f944132-b89a-44d9-9eea-c7b77937509e</node><item-id>item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</item-id></data> 2022-08-30 23:03:26 | 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-2f944132-b89a-44d9-9eea-c7b77937509e</value></node><item-id type="text-single" label="Item ID"><value>item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</value></item-id><item type="text-multi" label="Item"><value><item id="item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52"><test>item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52</test></item></value></item></result> 2022-08-30 23:03:26 | [Mutex] notify: [retrieved:item:item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52:payload-matches:true:localhost] 2022-08-30 23:03:26 | [Mutex] received everything. 2022-08-30 23:03:26 | [Mutex] isItemNotified: retrieved:item:item-dfe8e4f9-2c28-45a4-856d-13a95c56ff52:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-08-30 23:03:26 |
2022-08-30 23:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:26 | ------------------------------------ 2022-08-30 23:03:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-30 23:03:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-2f944132-b89a-44d9-9eea-c7b77937509e</value><value>test</value><value>node-d4ed0752-0262-455c-b9e3-349e4ca667c6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-30 23:03:26 |
2022-08-30 23:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:26 | ------------------------------------ 2022-08-30 23:03:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2f944132-b89a-44d9-9eea-c7b77937509e)</node-pattern></data> 2022-08-30 23:03:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.115s |
2022-08-30 23:03:24 |
2022-08-30 23:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:24 | ------------------------------------ 2022-08-30 23:03:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2f944132-b89a-44d9-9eea-c7b77937509e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-30 23:03:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2022-08-30 23:03:26 |
2022-08-30 23:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 23:03:26 | ------------------------------------ 2022-08-30 23:03:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2f944132-b89a-44d9-9eea-c7b77937509e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-30 23:03:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |