Test duration : 10.446s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.138s |
2022-02-15 21:34:25 |
2022-02-15 21:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:25 | ------------------------------------ 2022-02-15 21:34:25 | [Mutex] waiting for: [configured:node:node-90cf8fa1-da12-4ba7-b274-07c9348990a9:node-5ff11f74-5f8b-4c91-a355-8936e28ba293] 2022-02-15 21:34:25 | [Mutex] received everything. 2022-02-15 21:34:25 | [Mutex] isItemNotified: configured:node:node-90cf8fa1-da12-4ba7-b274-07c9348990a9:node-5ff11f74-5f8b-4c91-a355-8936e28ba293 :: true 2022-02-15 21:34:26 | [Mutex] waiting for: [received:nodes:4ccef427-410c-45b8-8cf6-0503e6a9bbba:localhost] 2022-02-15 21:34:26 | [Mutex] waiting for: [received:nodes:4ccef427-410c-45b8-8cf6-0503e6a9bbba:localhost] 2022-02-15 21:34:26 | [Mutex] received everything. 2022-02-15 21:34:26 | [Mutex] isItemNotified: received:node:4ccef427-410c-45b8-8cf6-0503e6a9bbba:localhost:node-90cf8fa1-da12-4ba7-b274-07c9348990a9:Node 90cf8fa1-da12-4ba7-b274-07c9348990a9 :: true 2022-02-15 21:34:26 | [Mutex] waiting for: [received:nodes:ed8ad1fd-6e3d-4a01-9703-12055ccd676f:localhost] 2022-02-15 21:34:26 | [Mutex] waiting for: [received:nodes:ed8ad1fd-6e3d-4a01-9703-12055ccd676f:localhost] 2022-02-15 21:34:26 | [Mutex] received everything. 2022-02-15 21:34:26 | [Mutex] isItemNotified: received:node:ed8ad1fd-6e3d-4a01-9703-12055ccd676f:localhost:node-90cf8fa1-da12-4ba7-b274-07c9348990a9:Node 90cf8fa1-da12-4ba7-b274-07c9348990a9 :: false |
createNodes | 1.504s |
2022-02-15 21:34:23 |
2022-02-15 21:34:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:23 | ------------------------------------ 2022-02-15 21:34:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 90cf8fa1-da12-4ba7-b274-07c9348990a9</title></pubsub></data> 2022-02-15 21:34:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-15 21:34:24 | [Mutex] waiting for: [received:nodes:1fe81757-ab6e-4221-b9eb-952b7a8bf761:localhost] 2022-02-15 21:34:24 | [Mutex] received everything. 2022-02-15 21:34:24 | [Mutex] isItemNotified: received:node:1fe81757-ab6e-4221-b9eb-952b7a8bf761:localhost:node-90cf8fa1-da12-4ba7-b274-07c9348990a9:Node 90cf8fa1-da12-4ba7-b274-07c9348990a9 :: true |
createSubnodes | 1.025s |
2022-02-15 21:34:24 |
2022-02-15 21:34:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:24 | ------------------------------------ 2022-02-15 21:34:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5ff11f74-5f8b-4c91-a355-8936e28ba293</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5ff11f74-5f8b-4c91-a355-8936e28ba293</title></pubsub></data> 2022-02-15 21:34:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-15 21:34:25 | [Mutex] waiting for: [received:nodes:7e410ba6-2351-472d-977f-2bff8a0b4f54:localhost] 2022-02-15 21:34:25 | [Mutex] received everything. 2022-02-15 21:34:25 | [Mutex] isItemNotified: received:node:7e410ba6-2351-472d-977f-2bff8a0b4f54:localhost:node-5ff11f74-5f8b-4c91-a355-8936e28ba293:Node 5ff11f74-5f8b-4c91-a355-8936e28ba293 :: true |
deleteNodes | 1.021s |
2022-02-15 21:34:31 |
2022-02-15 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:31 | ------------------------------------ 2022-02-15 21:34:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5ff11f74-5f8b-4c91-a355-8936e28ba293</node></data> 2022-02-15 21:34:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-15 21:34:32 | [Mutex] waiting for: [received:nodes:dde7e4e7-6ced-47cf-9d0c-61bff5d2404f:localhost] 2022-02-15 21:34:32 | [Mutex] received everything. 2022-02-15 21:34:32 | [Mutex] isItemNotified: received:node:dde7e4e7-6ced-47cf-9d0c-61bff5d2404f:localhost:node-5ff11f74-5f8b-4c91-a355-8936e28ba293:Node 5ff11f74-5f8b-4c91-a355-8936e28ba293 :: false |
deleteSubnodes | 1.170s |
2022-02-15 21:34:30 |
2022-02-15 21:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:30 | ------------------------------------ 2022-02-15 21:34:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</node></data> 2022-02-15 21:34:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-15 21:34:31 | [Mutex] waiting for: [received:nodes:c7183a4f-3ef9-4f1e-8bc0-12425246cc2a:localhost] 2022-02-15 21:34:31 | [Mutex] received everything. 2022-02-15 21:34:31 | [Mutex] isItemNotified: received:node:c7183a4f-3ef9-4f1e-8bc0-12425246cc2a:localhost:node-90cf8fa1-da12-4ba7-b274-07c9348990a9:Node 90cf8fa1-da12-4ba7-b274-07c9348990a9 :: false 2022-02-15 21:34:31 | [Mutex] waiting for: [received:nodes:54e1a6e7-40d5-402b-87fb-41cc8d872ed7:localhost] 2022-02-15 21:34:31 | [Mutex] received everything. 2022-02-15 21:34:31 | [Mutex] isItemNotified: received:node:54e1a6e7-40d5-402b-87fb-41cc8d872ed7:localhost:node-90cf8fa1-da12-4ba7-b274-07c9348990a9:Node 90cf8fa1-da12-4ba7-b274-07c9348990a9 :: false |
publishItemsToNodes | 0.234s |
2022-02-15 21:34:28 |
2022-02-15 21:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:28 | ------------------------------------ 2022-02-15 21:34:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</node><item-id>item-722f4c9c-e894-4178-a650-626cabb45905</item-id><entry><test>item-722f4c9c-e894-4178-a650-626cabb45905</test></entry></data> 2022-02-15 21:34:28 | 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-722f4c9c-e894-4178-a650-626cabb45905</value></item-id></result> 2022-02-15 21:34:28 | [Mutex] received everything. 2022-02-15 21:34:28 | [Mutex] isItemNotified: published:item:notifieditem-722f4c9c-e894-4178-a650-626cabb45905:admin@test-domain.com :: true |
retractItemsFromNodes | 0.417s |
2022-02-15 21:34:28 |
2022-02-15 21:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:28 | ------------------------------------ 2022-02-15 21:34:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</node><item-id>item-722f4c9c-e894-4178-a650-626cabb45905</item-id></data> 2022-02-15 21:34:29 | 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-722f4c9c-e894-4178-a650-626cabb45905</value></item-id></result> 2022-02-15 21:34:29 | [Mutex] waiting for: [retracted:item:notifieditem-722f4c9c-e894-4178-a650-626cabb45905:admin@test-domain.com] 2022-02-15 21:34:29 | [Mutex] received everything. 2022-02-15 21:34:29 | [Mutex] isItemNotified: retracted:item:notifieditem-722f4c9c-e894-4178-a650-626cabb45905:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.271s |
2022-02-15 21:34:28 |
2022-02-15 21:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:28 | ------------------------------------ 2022-02-15 21:34:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</node><item-id>item-722f4c9c-e894-4178-a650-626cabb45905</item-id></data> 2022-02-15 21:34:28 | 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-90cf8fa1-da12-4ba7-b274-07c9348990a9</value></node><item-id type="text-single" label="Item ID"><value>item-722f4c9c-e894-4178-a650-626cabb45905</value></item-id><item type="text-multi" label="Item"><value><item id="item-722f4c9c-e894-4178-a650-626cabb45905"><test>item-722f4c9c-e894-4178-a650-626cabb45905</test></item></value></item></result> 2022-02-15 21:34:28 | [Mutex] notify: [retrieved:item:item-722f4c9c-e894-4178-a650-626cabb45905:payload-matches:true:localhost] 2022-02-15 21:34:28 | [Mutex] received everything. 2022-02-15 21:34:28 | [Mutex] isItemNotified: retrieved:item:item-722f4c9c-e894-4178-a650-626cabb45905:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-15 21:34:28 |
2022-02-15 21:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:28 | ------------------------------------ 2022-02-15 21:34:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-15 21:34:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-5ff11f74-5f8b-4c91-a355-8936e28ba293</value><value>test</value><value>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-15 21:34:28 |
2022-02-15 21:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:28 | ------------------------------------ 2022-02-15 21:34:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-90cf8fa1-da12-4ba7-b274-07c9348990a9)</node-pattern></data> 2022-02-15 21:34:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.204s |
2022-02-15 21:34:26 |
2022-02-15 21:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:26 | ------------------------------------ 2022-02-15 21:34:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-15 21:34:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.345s |
2022-02-15 21:34:29 |
2022-02-15 21:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:34:29 | ------------------------------------ 2022-02-15 21:34:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-90cf8fa1-da12-4ba7-b274-07c9348990a9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-15 21:34:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |