Test duration : 10.300s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-02-09 21:45:32 |
2022-02-09 21:45:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:32 | ------------------------------------ 2022-02-09 21:45:32 | [Mutex] waiting for: [configured:node:node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c:node-8cf07da5-17f2-496e-927a-e7c91a14c9d3] 2022-02-09 21:45:32 | [Mutex] received everything. 2022-02-09 21:45:32 | [Mutex] isItemNotified: configured:node:node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c:node-8cf07da5-17f2-496e-927a-e7c91a14c9d3 :: true 2022-02-09 21:45:33 | [Mutex] waiting for: [received:nodes:6792777c-0bb3-4a68-8e9d-d0237161792b:localhost] 2022-02-09 21:45:33 | [Mutex] received everything. 2022-02-09 21:45:33 | [Mutex] isItemNotified: received:node:6792777c-0bb3-4a68-8e9d-d0237161792b:localhost:node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c:Node de0d3a9f-bcb4-43a9-8e8c-eb574736a71c :: true 2022-02-09 21:45:33 | [Mutex] waiting for: [received:nodes:25f8ff19-56bf-49f2-b47c-89c0d2d0d95d:localhost] 2022-02-09 21:45:33 | [Mutex] received everything. 2022-02-09 21:45:33 | [Mutex] isItemNotified: received:node:25f8ff19-56bf-49f2-b47c-89c0d2d0d95d:localhost:node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c:Node de0d3a9f-bcb4-43a9-8e8c-eb574736a71c :: false |
createNodes | 1.497s |
2022-02-09 21:45:29 |
2022-02-09 21:45:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:29 | ------------------------------------ 2022-02-09 21:45:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</title></pubsub></data> 2022-02-09 21:45:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-09 21:45:31 | [Mutex] waiting for: [received:nodes:488cef3d-7cf8-4d17-a789-ac4f83c8f8b5:localhost] 2022-02-09 21:45:31 | [Mutex] waiting for: [received:nodes:488cef3d-7cf8-4d17-a789-ac4f83c8f8b5:localhost] 2022-02-09 21:45:31 | [Mutex] received everything. 2022-02-09 21:45:31 | [Mutex] isItemNotified: received:node:488cef3d-7cf8-4d17-a789-ac4f83c8f8b5:localhost:node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c:Node de0d3a9f-bcb4-43a9-8e8c-eb574736a71c :: true |
createSubnodes | 1.028s |
2022-02-09 21:45:31 |
2022-02-09 21:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:31 | ------------------------------------ 2022-02-09 21:45:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8cf07da5-17f2-496e-927a-e7c91a14c9d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8cf07da5-17f2-496e-927a-e7c91a14c9d3</title></pubsub></data> 2022-02-09 21:45:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-09 21:45:32 | [Mutex] waiting for: [received:nodes:7c2a9421-1f24-4b57-a588-82d10ec36c86:localhost] 2022-02-09 21:45:32 | [Mutex] received everything. 2022-02-09 21:45:32 | [Mutex] isItemNotified: received:node:7c2a9421-1f24-4b57-a588-82d10ec36c86:localhost:node-8cf07da5-17f2-496e-927a-e7c91a14c9d3:Node 8cf07da5-17f2-496e-927a-e7c91a14c9d3 :: true |
deleteNodes | 1.019s |
2022-02-09 21:45:37 |
2022-02-09 21:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:37 | ------------------------------------ 2022-02-09 21:45:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8cf07da5-17f2-496e-927a-e7c91a14c9d3</node></data> 2022-02-09 21:45:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-09 21:45:38 | [Mutex] waiting for: [received:nodes:db4a31c5-d0bd-4b88-b388-c6a8228be9b9:localhost] 2022-02-09 21:45:38 | [Mutex] waiting for: [received:nodes:db4a31c5-d0bd-4b88-b388-c6a8228be9b9:localhost] 2022-02-09 21:45:38 | [Mutex] received everything. 2022-02-09 21:45:38 | [Mutex] isItemNotified: received:node:db4a31c5-d0bd-4b88-b388-c6a8228be9b9:localhost:node-8cf07da5-17f2-496e-927a-e7c91a14c9d3:Node 8cf07da5-17f2-496e-927a-e7c91a14c9d3 :: false |
deleteSubnodes | 1.219s |
2022-02-09 21:45:36 |
2022-02-09 21:45:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:36 | ------------------------------------ 2022-02-09 21:45:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</node></data> 2022-02-09 21:45:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-09 21:45:37 | [Mutex] waiting for: [received:nodes:206d3e01-d79a-4e49-ba20-6404b5cceba7:localhost] 2022-02-09 21:45:37 | [Mutex] received everything. 2022-02-09 21:45:37 | [Mutex] isItemNotified: received:node:206d3e01-d79a-4e49-ba20-6404b5cceba7:localhost:node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c:Node de0d3a9f-bcb4-43a9-8e8c-eb574736a71c :: false 2022-02-09 21:45:37 | [Mutex] waiting for: [received:nodes:0e921157-0aad-4052-a4be-910378641a12:localhost] 2022-02-09 21:45:37 | [Mutex] received everything. 2022-02-09 21:45:37 | [Mutex] isItemNotified: received:node:0e921157-0aad-4052-a4be-910378641a12:localhost:node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c:Node de0d3a9f-bcb4-43a9-8e8c-eb574736a71c :: false |
publishItemsToNodes | 0.315s |
2022-02-09 21:45:34 |
2022-02-09 21:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:34 | ------------------------------------ 2022-02-09 21:45:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</node><item-id>item-e19e1d25-6c95-4153-863c-d5e657dfeabb</item-id><entry><test>item-e19e1d25-6c95-4153-863c-d5e657dfeabb</test></entry></data> 2022-02-09 21:45:34 | 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-e19e1d25-6c95-4153-863c-d5e657dfeabb</value></item-id></result> 2022-02-09 21:45:34 | [Mutex] received everything. 2022-02-09 21:45:34 | [Mutex] isItemNotified: published:item:notifieditem-e19e1d25-6c95-4153-863c-d5e657dfeabb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.371s |
2022-02-09 21:45:35 |
2022-02-09 21:45:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:35 | ------------------------------------ 2022-02-09 21:45:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</node><item-id>item-e19e1d25-6c95-4153-863c-d5e657dfeabb</item-id></data> 2022-02-09 21:45:35 | 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-e19e1d25-6c95-4153-863c-d5e657dfeabb</value></item-id></result> 2022-02-09 21:45:35 | [Mutex] received everything. 2022-02-09 21:45:35 | [Mutex] isItemNotified: retracted:item:notifieditem-e19e1d25-6c95-4153-863c-d5e657dfeabb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.312s |
2022-02-09 21:45:34 |
2022-02-09 21:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:34 | ------------------------------------ 2022-02-09 21:45:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</node><item-id>item-e19e1d25-6c95-4153-863c-d5e657dfeabb</item-id></data> 2022-02-09 21:45:34 | 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-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</value></node><item-id label="Item ID" type="text-single"><value>item-e19e1d25-6c95-4153-863c-d5e657dfeabb</value></item-id><item label="Item" type="text-multi"><value><item id="item-e19e1d25-6c95-4153-863c-d5e657dfeabb"><test>item-e19e1d25-6c95-4153-863c-d5e657dfeabb</test></item></value></item></result> 2022-02-09 21:45:34 | [Mutex] notify: [retrieved:item:item-e19e1d25-6c95-4153-863c-d5e657dfeabb:payload-matches:true:localhost] 2022-02-09 21:45:34 | [Mutex] received everything. 2022-02-09 21:45:34 | [Mutex] isItemNotified: retrieved:item:item-e19e1d25-6c95-4153-863c-d5e657dfeabb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-09 21:45:34 |
2022-02-09 21:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:34 | ------------------------------------ 2022-02-09 21:45:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-09 21:45:34 | 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-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</value><value>node-8cf07da5-17f2-496e-927a-e7c91a14c9d3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-09 21:45:34 |
2022-02-09 21:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:34 | ------------------------------------ 2022-02-09 21:45:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c)</node-pattern></data> 2022-02-09 21:45:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.130s |
2022-02-09 21:45:33 |
2022-02-09 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:33 | ------------------------------------ 2022-02-09 21:45:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-09 21:45:33 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.279s |
2022-02-09 21:45:35 |
2022-02-09 21:45:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-09 21:45:35 | ------------------------------------ 2022-02-09 21:45:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-de0d3a9f-bcb4-43a9-8e8c-eb574736a71c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-09 21:45:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |