Test duration : 9.959s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2020-08-26 23:15:18 |
2020-08-26 23:15:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:18 | ------------------------------------ 2020-08-26 23:15:18 | [Mutex] waiting for: [configured:node:node-b8a2d6c4-f149-4862-a5bf-d71c18a91647:node-b8939755-1ae9-41f6-874e-b192249eb893] 2020-08-26 23:15:18 | [Mutex] received everything. 2020-08-26 23:15:18 | [Mutex] isItemNotified: configured:node:node-b8a2d6c4-f149-4862-a5bf-d71c18a91647:node-b8939755-1ae9-41f6-874e-b192249eb893 :: true 2020-08-26 23:15:19 | [Mutex] waiting for: [received:nodes:e0e4cb22-eafc-422c-ab85-e13db4356ae5:localhost] 2020-08-26 23:15:19 | [Mutex] received everything. 2020-08-26 23:15:19 | [Mutex] isItemNotified: received:node:e0e4cb22-eafc-422c-ab85-e13db4356ae5:localhost:node-b8a2d6c4-f149-4862-a5bf-d71c18a91647:Node b8a2d6c4-f149-4862-a5bf-d71c18a91647 :: true 2020-08-26 23:15:19 | [Mutex] waiting for: [received:nodes:9db30283-5f3a-48b8-976d-3e56ba503ad5:localhost] 2020-08-26 23:15:19 | [Mutex] received everything. 2020-08-26 23:15:19 | [Mutex] isItemNotified: received:node:9db30283-5f3a-48b8-976d-3e56ba503ad5:localhost:node-b8a2d6c4-f149-4862-a5bf-d71c18a91647:Node b8a2d6c4-f149-4862-a5bf-d71c18a91647 :: false |
createNodes | 1.436s |
2020-08-26 23:15:16 |
2020-08-26 23:15:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:16 | ------------------------------------ 2020-08-26 23:15:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b8a2d6c4-f149-4862-a5bf-d71c18a91647</title></pubsub></data> 2020-08-26 23:15:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 23:15:17 | [Mutex] waiting for: [received:nodes:53cedbe6-0de4-4a9a-a957-87cfd341ed6d:localhost] 2020-08-26 23:15:17 | [Mutex] waiting for: [received:nodes:53cedbe6-0de4-4a9a-a957-87cfd341ed6d:localhost] 2020-08-26 23:15:17 | [Mutex] waiting for: [received:nodes:53cedbe6-0de4-4a9a-a957-87cfd341ed6d:localhost] 2020-08-26 23:15:17 | [Mutex] received everything. 2020-08-26 23:15:17 | [Mutex] isItemNotified: received:node:53cedbe6-0de4-4a9a-a957-87cfd341ed6d:localhost:node-b8a2d6c4-f149-4862-a5bf-d71c18a91647:Node b8a2d6c4-f149-4862-a5bf-d71c18a91647 :: true |
createSubnodes | 1.031s |
2020-08-26 23:15:17 |
2020-08-26 23:15:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:17 | ------------------------------------ 2020-08-26 23:15:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b8939755-1ae9-41f6-874e-b192249eb893</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8939755-1ae9-41f6-874e-b192249eb893</title></pubsub></data> 2020-08-26 23:15:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 23:15:18 | [Mutex] waiting for: [received:nodes:b72d9e45-6260-40bd-a69e-ab45f9802f97:localhost] 2020-08-26 23:15:18 | [Mutex] received everything. 2020-08-26 23:15:18 | [Mutex] isItemNotified: received:node:b72d9e45-6260-40bd-a69e-ab45f9802f97:localhost:node-b8939755-1ae9-41f6-874e-b192249eb893:Node b8939755-1ae9-41f6-874e-b192249eb893 :: true |
deleteNodes | 1.022s |
2020-08-26 23:15:24 |
2020-08-26 23:15:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:24 | ------------------------------------ 2020-08-26 23:15:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b8939755-1ae9-41f6-874e-b192249eb893</node></data> 2020-08-26 23:15:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 23:15:25 | [Mutex] waiting for: [received:nodes:f2273624-def4-4ba0-bf30-9313c8c2a66e:localhost] 2020-08-26 23:15:25 | [Mutex] waiting for: [received:nodes:f2273624-def4-4ba0-bf30-9313c8c2a66e:localhost] 2020-08-26 23:15:25 | [Mutex] received everything. 2020-08-26 23:15:25 | [Mutex] isItemNotified: received:node:f2273624-def4-4ba0-bf30-9313c8c2a66e:localhost:node-b8939755-1ae9-41f6-874e-b192249eb893:Node b8939755-1ae9-41f6-874e-b192249eb893 :: false |
deleteSubnodes | 1.115s |
2020-08-26 23:15:22 |
2020-08-26 23:15:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:22 | ------------------------------------ 2020-08-26 23:15:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</node></data> 2020-08-26 23:15:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 23:15:23 | [Mutex] waiting for: [received:nodes:d3f5fe31-8dd0-46c8-bc48-d2cf733a653d:localhost] 2020-08-26 23:15:23 | [Mutex] received everything. 2020-08-26 23:15:23 | [Mutex] isItemNotified: received:node:d3f5fe31-8dd0-46c8-bc48-d2cf733a653d:localhost:node-b8a2d6c4-f149-4862-a5bf-d71c18a91647:Node b8a2d6c4-f149-4862-a5bf-d71c18a91647 :: false 2020-08-26 23:15:23 | [Mutex] waiting for: [received:nodes:9f34ac04-2845-4f5c-a0f6-ea6fa7140574:localhost] 2020-08-26 23:15:23 | [Mutex] received everything. 2020-08-26 23:15:23 | [Mutex] isItemNotified: received:node:9f34ac04-2845-4f5c-a0f6-ea6fa7140574:localhost:node-b8a2d6c4-f149-4862-a5bf-d71c18a91647:Node b8a2d6c4-f149-4862-a5bf-d71c18a91647 :: false |
publishItemsToNodes | 0.261s |
2020-08-26 23:15:20 |
2020-08-26 23:15:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:20 | ------------------------------------ 2020-08-26 23:15:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</node><item-id>item-b8b08691-eded-49f7-b15d-915282def0bc</item-id><entry><test>item-b8b08691-eded-49f7-b15d-915282def0bc</test></entry></data> 2020-08-26 23:15:20 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b8b08691-eded-49f7-b15d-915282def0bc</value></item-id></result> 2020-08-26 23:15:20 | [Mutex] waiting for: [published:item:notifieditem-b8b08691-eded-49f7-b15d-915282def0bc:admin@test-domain.com] 2020-08-26 23:15:21 | [Mutex] received everything. 2020-08-26 23:15:21 | [Mutex] isItemNotified: published:item:notifieditem-b8b08691-eded-49f7-b15d-915282def0bc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.322s |
2020-08-26 23:15:21 |
2020-08-26 23:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:21 | ------------------------------------ 2020-08-26 23:15:21 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</node><item-id>item-b8b08691-eded-49f7-b15d-915282def0bc</item-id></data> 2020-08-26 23:15:21 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b8b08691-eded-49f7-b15d-915282def0bc</value></item-id></result> 2020-08-26 23:15:21 | [Mutex] waiting for: [retracted:item:notifieditem-b8b08691-eded-49f7-b15d-915282def0bc:admin@test-domain.com] 2020-08-26 23:15:21 | [Mutex] received everything. 2020-08-26 23:15:21 | [Mutex] isItemNotified: retracted:item:notifieditem-b8b08691-eded-49f7-b15d-915282def0bc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.246s |
2020-08-26 23:15:21 |
2020-08-26 23:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:21 | ------------------------------------ 2020-08-26 23:15:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</node><item-id>item-b8b08691-eded-49f7-b15d-915282def0bc</item-id></data> 2020-08-26 23:15:21 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</value></node><item-id label="Item ID" type="text-single"><value>item-b8b08691-eded-49f7-b15d-915282def0bc</value></item-id><item label="Item" type="text-multi"><value><item id="item-b8b08691-eded-49f7-b15d-915282def0bc"><test>item-b8b08691-eded-49f7-b15d-915282def0bc</test></item></value></item></result> 2020-08-26 23:15:21 | [Mutex] notify: [retrieved:item:item-b8b08691-eded-49f7-b15d-915282def0bc:payload-matches:true:localhost] 2020-08-26 23:15:21 | [Mutex] received everything. 2020-08-26 23:15:21 | [Mutex] isItemNotified: retrieved:item:item-b8b08691-eded-49f7-b15d-915282def0bc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2020-08-26 23:15:21 |
2020-08-26 23:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:21 | ------------------------------------ 2020-08-26 23:15:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-26 23:15:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</value><value>node-b8939755-1ae9-41f6-874e-b192249eb893</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-08-26 23:15:21 |
2020-08-26 23:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:21 | ------------------------------------ 2020-08-26 23:15: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-b8a2d6c4-f149-4862-a5bf-d71c18a91647)</node-pattern></data> 2020-08-26 23:15:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.094s |
2020-08-26 23:15:19 |
2020-08-26 23:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:19 | ------------------------------------ 2020-08-26 23:15:19 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-26 23:15:19 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2020-08-26 23:15:21 |
2020-08-26 23:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 23:15:21 | ------------------------------------ 2020-08-26 23:15:21 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b8a2d6c4-f149-4862-a5bf-d71c18a91647</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-26 23:15:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |