Test duration : 10.533s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.125s |
2021-09-22 00:29:15 |
2021-09-22 00:29:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:15 | ------------------------------------ 2021-09-22 00:29:15 | [Mutex] waiting for: [configured:node:node-c71ef7db-6387-4025-9b55-9d1c86964c62:node-2f630039-9868-44bb-a8f2-c5ce7301a0f0] 2021-09-22 00:29:15 | [Mutex] received everything. 2021-09-22 00:29:15 | [Mutex] isItemNotified: configured:node:node-c71ef7db-6387-4025-9b55-9d1c86964c62:node-2f630039-9868-44bb-a8f2-c5ce7301a0f0 :: true 2021-09-22 00:29:16 | [Mutex] waiting for: [received:nodes:0c96ffab-0b34-4d4e-a326-53aa3ce65ece:localhost] 2021-09-22 00:29:16 | [Mutex] received everything. 2021-09-22 00:29:16 | [Mutex] isItemNotified: received:node:0c96ffab-0b34-4d4e-a326-53aa3ce65ece:localhost:node-c71ef7db-6387-4025-9b55-9d1c86964c62:Node c71ef7db-6387-4025-9b55-9d1c86964c62 :: true 2021-09-22 00:29:16 | [Mutex] waiting for: [received:nodes:468c4978-6bc7-47e8-8412-0b78c7c7dd6c:localhost] 2021-09-22 00:29:16 | [Mutex] received everything. 2021-09-22 00:29:16 | [Mutex] isItemNotified: received:node:468c4978-6bc7-47e8-8412-0b78c7c7dd6c:localhost:node-c71ef7db-6387-4025-9b55-9d1c86964c62:Node c71ef7db-6387-4025-9b55-9d1c86964c62 :: false |
createNodes | 1.720s |
2021-09-22 00:29:12 |
2021-09-22 00:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:12 | ------------------------------------ 2021-09-22 00:29:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c71ef7db-6387-4025-9b55-9d1c86964c62</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c71ef7db-6387-4025-9b55-9d1c86964c62</title></pubsub></data> 2021-09-22 00:29:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 00:29:14 | [Mutex] waiting for: [received:nodes:ec1627a1-c493-4a38-843d-8303d8d6a682:localhost] 2021-09-22 00:29:14 | [Mutex] waiting for: [received:nodes:ec1627a1-c493-4a38-843d-8303d8d6a682:localhost] 2021-09-22 00:29:14 | [Mutex] waiting for: [received:nodes:ec1627a1-c493-4a38-843d-8303d8d6a682:localhost] 2021-09-22 00:29:14 | [Mutex] received everything. 2021-09-22 00:29:14 | [Mutex] isItemNotified: received:node:ec1627a1-c493-4a38-843d-8303d8d6a682:localhost:node-c71ef7db-6387-4025-9b55-9d1c86964c62:Node c71ef7db-6387-4025-9b55-9d1c86964c62 :: true |
createSubnodes | 1.023s |
2021-09-22 00:29:14 |
2021-09-22 00:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:14 | ------------------------------------ 2021-09-22 00:29:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f630039-9868-44bb-a8f2-c5ce7301a0f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f630039-9868-44bb-a8f2-c5ce7301a0f0</title></pubsub></data> 2021-09-22 00:29:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 00:29:15 | [Mutex] waiting for: [received:nodes:79389f89-b37f-4688-90f2-08f12f0011da:localhost] 2021-09-22 00:29:15 | [Mutex] received everything. 2021-09-22 00:29:15 | [Mutex] isItemNotified: received:node:79389f89-b37f-4688-90f2-08f12f0011da:localhost:node-2f630039-9868-44bb-a8f2-c5ce7301a0f0:Node 2f630039-9868-44bb-a8f2-c5ce7301a0f0 :: true |
deleteNodes | 1.020s |
2021-09-22 00:29:21 |
2021-09-22 00:29:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:21 | ------------------------------------ 2021-09-22 00:29:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f630039-9868-44bb-a8f2-c5ce7301a0f0</node></data> 2021-09-22 00:29:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 00:29:22 | [Mutex] waiting for: [received:nodes:8e302c40-c8cc-4cd4-80f9-298248548329:localhost] 2021-09-22 00:29:22 | [Mutex] received everything. 2021-09-22 00:29:22 | [Mutex] isItemNotified: received:node:8e302c40-c8cc-4cd4-80f9-298248548329:localhost:node-2f630039-9868-44bb-a8f2-c5ce7301a0f0:Node 2f630039-9868-44bb-a8f2-c5ce7301a0f0 :: false |
deleteSubnodes | 1.149s |
2021-09-22 00:29:19 |
2021-09-22 00:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:19 | ------------------------------------ 2021-09-22 00:29:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c71ef7db-6387-4025-9b55-9d1c86964c62</node></data> 2021-09-22 00:29:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 00:29:21 | [Mutex] waiting for: [received:nodes:bcffa900-7088-455c-a046-081f98e7691b:localhost] 2021-09-22 00:29:21 | [Mutex] waiting for: [received:nodes:bcffa900-7088-455c-a046-081f98e7691b:localhost] 2021-09-22 00:29:21 | [Mutex] received everything. 2021-09-22 00:29:21 | [Mutex] isItemNotified: received:node:bcffa900-7088-455c-a046-081f98e7691b:localhost:node-c71ef7db-6387-4025-9b55-9d1c86964c62:Node c71ef7db-6387-4025-9b55-9d1c86964c62 :: false 2021-09-22 00:29:21 | [Mutex] waiting for: [received:nodes:f8f84c34-1127-44c3-8d9c-ac58caf30b65:localhost] 2021-09-22 00:29:21 | [Mutex] received everything. 2021-09-22 00:29:21 | [Mutex] isItemNotified: received:node:f8f84c34-1127-44c3-8d9c-ac58caf30b65:localhost:node-c71ef7db-6387-4025-9b55-9d1c86964c62:Node c71ef7db-6387-4025-9b55-9d1c86964c62 :: false |
publishItemsToNodes | 0.286s |
2021-09-22 00:29:17 |
2021-09-22 00:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:17 | ------------------------------------ 2021-09-22 00:29:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c71ef7db-6387-4025-9b55-9d1c86964c62</node><item-id>item-511473b2-be01-4ff9-8596-dcd9c639854f</item-id><entry><test>item-511473b2-be01-4ff9-8596-dcd9c639854f</test></entry></data> 2021-09-22 00:29:17 | 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-511473b2-be01-4ff9-8596-dcd9c639854f</value></item-id></result> 2021-09-22 00:29:17 | [Mutex] waiting for: [published:item:notifieditem-511473b2-be01-4ff9-8596-dcd9c639854f:admin@test-domain.com] 2021-09-22 00:29:17 | [Mutex] received everything. 2021-09-22 00:29:17 | [Mutex] isItemNotified: published:item:notifieditem-511473b2-be01-4ff9-8596-dcd9c639854f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.317s |
2021-09-22 00:29:18 |
2021-09-22 00:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:18 | ------------------------------------ 2021-09-22 00:29:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c71ef7db-6387-4025-9b55-9d1c86964c62</node><item-id>item-511473b2-be01-4ff9-8596-dcd9c639854f</item-id></data> 2021-09-22 00:29:18 | 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-511473b2-be01-4ff9-8596-dcd9c639854f</value></item-id></result> 2021-09-22 00:29:18 | [Mutex] waiting for: [retracted:item:notifieditem-511473b2-be01-4ff9-8596-dcd9c639854f:admin@test-domain.com] 2021-09-22 00:29:18 | [Mutex] received everything. 2021-09-22 00:29:18 | [Mutex] isItemNotified: retracted:item:notifieditem-511473b2-be01-4ff9-8596-dcd9c639854f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.274s |
2021-09-22 00:29:17 |
2021-09-22 00:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:17 | ------------------------------------ 2021-09-22 00:29:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c71ef7db-6387-4025-9b55-9d1c86964c62</node><item-id>item-511473b2-be01-4ff9-8596-dcd9c639854f</item-id></data> 2021-09-22 00:29:18 | 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-c71ef7db-6387-4025-9b55-9d1c86964c62</value></node><item-id label="Item ID" type="text-single"><value>item-511473b2-be01-4ff9-8596-dcd9c639854f</value></item-id><item label="Item" type="text-multi"><value><item id="item-511473b2-be01-4ff9-8596-dcd9c639854f"><test>item-511473b2-be01-4ff9-8596-dcd9c639854f</test></item></value></item></result> 2021-09-22 00:29:18 | [Mutex] notify: [retrieved:item:item-511473b2-be01-4ff9-8596-dcd9c639854f:payload-matches:true:localhost] 2021-09-22 00:29:18 | [Mutex] received everything. 2021-09-22 00:29:18 | [Mutex] isItemNotified: retrieved:item:item-511473b2-be01-4ff9-8596-dcd9c639854f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2021-09-22 00:29:18 |
2021-09-22 00:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:18 | ------------------------------------ 2021-09-22 00:29:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-22 00:29:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c71ef7db-6387-4025-9b55-9d1c86964c62</value><value>test</value><value>node-2f630039-9868-44bb-a8f2-c5ce7301a0f0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-09-22 00:29:18 |
2021-09-22 00:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:18 | ------------------------------------ 2021-09-22 00:29:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c71ef7db-6387-4025-9b55-9d1c86964c62)</node-pattern></data> 2021-09-22 00:29:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.172s |
2021-09-22 00:29:16 |
2021-09-22 00:29:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:16 | ------------------------------------ 2021-09-22 00:29:16 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c71ef7db-6387-4025-9b55-9d1c86964c62</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 00:29:16 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.421s |
2021-09-22 00:29:18 |
2021-09-22 00:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 00:29:18 | ------------------------------------ 2021-09-22 00:29:18 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c71ef7db-6387-4025-9b55-9d1c86964c62</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 00:29:18 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |