Test duration : 10.249s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2022-03-03 03:44:23 |
2022-03-03 03:44:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:23 | ------------------------------------ 2022-03-03 03:44:23 | [Mutex] waiting for: [configured:node:node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a:node-580b88c2-9acc-416a-977a-f9a82d932a89] 2022-03-03 03:44:24 | [Mutex] received everything. 2022-03-03 03:44:24 | [Mutex] isItemNotified: configured:node:node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a:node-580b88c2-9acc-416a-977a-f9a82d932a89 :: true 2022-03-03 03:44:25 | [Mutex] waiting for: [received:nodes:8a1a270f-1c9d-4a35-a414-734de7a19c6b:localhost] 2022-03-03 03:44:25 | [Mutex] received everything. 2022-03-03 03:44:25 | [Mutex] isItemNotified: received:node:8a1a270f-1c9d-4a35-a414-734de7a19c6b:localhost:node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a:Node e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a :: true 2022-03-03 03:44:25 | [Mutex] waiting for: [received:nodes:d96ca487-073a-416f-b58f-04f51ac307f6:localhost] 2022-03-03 03:44:25 | [Mutex] received everything. 2022-03-03 03:44:25 | [Mutex] isItemNotified: received:node:d96ca487-073a-416f-b58f-04f51ac307f6:localhost:node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a:Node e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a :: false |
createNodes | 1.474s |
2022-03-03 03:44:21 |
2022-03-03 03:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:21 | ------------------------------------ 2022-03-03 03:44:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</title></pubsub></data> 2022-03-03 03:44:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:22 | [Mutex] waiting for: [received:nodes:e0ddb96b-f94d-49a4-98b6-bbdd96bebf59:localhost] 2022-03-03 03:44:22 | [Mutex] received everything. 2022-03-03 03:44:22 | [Mutex] isItemNotified: received:node:e0ddb96b-f94d-49a4-98b6-bbdd96bebf59:localhost:node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a:Node e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a :: true |
createSubnodes | 1.032s |
2022-03-03 03:44:22 |
2022-03-03 03:44:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:22 | ------------------------------------ 2022-03-03 03:44:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-580b88c2-9acc-416a-977a-f9a82d932a89</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 580b88c2-9acc-416a-977a-f9a82d932a89</title></pubsub></data> 2022-03-03 03:44:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:23 | [Mutex] waiting for: [received:nodes:c6fad10d-75a7-4204-970d-e1df7edc0427:localhost] 2022-03-03 03:44:23 | [Mutex] received everything. 2022-03-03 03:44:23 | [Mutex] isItemNotified: received:node:c6fad10d-75a7-4204-970d-e1df7edc0427:localhost:node-580b88c2-9acc-416a-977a-f9a82d932a89:Node 580b88c2-9acc-416a-977a-f9a82d932a89 :: true |
deleteNodes | 1.025s |
2022-03-03 03:44:29 |
2022-03-03 03:44:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:29 | ------------------------------------ 2022-03-03 03:44:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-580b88c2-9acc-416a-977a-f9a82d932a89</node></data> 2022-03-03 03:44:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:30 | [Mutex] waiting for: [received:nodes:fef5c343-2cb5-441a-8c63-72636283bf30:localhost] 2022-03-03 03:44:30 | [Mutex] received everything. 2022-03-03 03:44:30 | [Mutex] isItemNotified: received:node:fef5c343-2cb5-441a-8c63-72636283bf30:localhost:node-580b88c2-9acc-416a-977a-f9a82d932a89:Node 580b88c2-9acc-416a-977a-f9a82d932a89 :: false |
deleteSubnodes | 1.191s |
2022-03-03 03:44:28 |
2022-03-03 03:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:28 | ------------------------------------ 2022-03-03 03:44:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</node></data> 2022-03-03 03:44:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:29 | [Mutex] waiting for: [received:nodes:070454e4-06b8-4c5d-a142-d5eed30578ce:localhost] 2022-03-03 03:44:29 | [Mutex] waiting for: [received:nodes:070454e4-06b8-4c5d-a142-d5eed30578ce:localhost] 2022-03-03 03:44:29 | [Mutex] waiting for: [received:nodes:070454e4-06b8-4c5d-a142-d5eed30578ce:localhost] 2022-03-03 03:44:29 | [Mutex] waiting for: [received:nodes:070454e4-06b8-4c5d-a142-d5eed30578ce:localhost] 2022-03-03 03:44:29 | [Mutex] received everything. 2022-03-03 03:44:29 | [Mutex] isItemNotified: received:node:070454e4-06b8-4c5d-a142-d5eed30578ce:localhost:node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a:Node e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a :: false 2022-03-03 03:44:29 | [Mutex] waiting for: [received:nodes:649956cc-19b8-4679-845b-62c80c4f85fb:localhost] 2022-03-03 03:44:29 | [Mutex] received everything. 2022-03-03 03:44:29 | [Mutex] isItemNotified: received:node:649956cc-19b8-4679-845b-62c80c4f85fb:localhost:node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a:Node e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a :: false |
publishItemsToNodes | 0.260s |
2022-03-03 03:44:26 |
2022-03-03 03:44:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:26 | ------------------------------------ 2022-03-03 03:44:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</node><item-id>item-9848328f-26c5-4c91-840d-e766f59718f1</item-id><entry><test>item-9848328f-26c5-4c91-840d-e766f59718f1</test></entry></data> 2022-03-03 03:44: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-9848328f-26c5-4c91-840d-e766f59718f1</value></item-id></result> 2022-03-03 03:44:26 | [Mutex] received everything. 2022-03-03 03:44:26 | [Mutex] isItemNotified: published:item:notifieditem-9848328f-26c5-4c91-840d-e766f59718f1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.274s |
2022-03-03 03:44:27 |
2022-03-03 03:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:27 | ------------------------------------ 2022-03-03 03:44:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</node><item-id>item-9848328f-26c5-4c91-840d-e766f59718f1</item-id></data> 2022-03-03 03:44:27 | 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-9848328f-26c5-4c91-840d-e766f59718f1</value></item-id></result> 2022-03-03 03:44:27 | [Mutex] waiting for: [retracted:item:notifieditem-9848328f-26c5-4c91-840d-e766f59718f1:admin@test-domain.com] 2022-03-03 03:44:27 | [Mutex] received everything. 2022-03-03 03:44:27 | [Mutex] isItemNotified: retracted:item:notifieditem-9848328f-26c5-4c91-840d-e766f59718f1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.366s |
2022-03-03 03:44:26 |
2022-03-03 03:44:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:26 | ------------------------------------ 2022-03-03 03:44:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</node><item-id>item-9848328f-26c5-4c91-840d-e766f59718f1</item-id></data> 2022-03-03 03:44: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-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</value></node><item-id type="text-single" label="Item ID"><value>item-9848328f-26c5-4c91-840d-e766f59718f1</value></item-id><item type="text-multi" label="Item"><value><item id="item-9848328f-26c5-4c91-840d-e766f59718f1"><test>item-9848328f-26c5-4c91-840d-e766f59718f1</test></item></value></item></result> 2022-03-03 03:44:26 | [Mutex] notify: [retrieved:item:item-9848328f-26c5-4c91-840d-e766f59718f1:payload-matches:true:localhost] 2022-03-03 03:44:26 | [Mutex] received everything. 2022-03-03 03:44:26 | [Mutex] isItemNotified: retrieved:item:item-9848328f-26c5-4c91-840d-e766f59718f1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-03-03 03:44:26 |
2022-03-03 03:44:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:26 | ------------------------------------ 2022-03-03 03:44:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-03-03 03:44:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-580b88c2-9acc-416a-977a-f9a82d932a89</value><value>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2022-03-03 03:44:26 |
2022-03-03 03:44:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:26 | ------------------------------------ 2022-03-03 03:44: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-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a)</node-pattern></data> 2022-03-03 03:44:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.205s |
2022-03-03 03:44:25 |
2022-03-03 03:44:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:25 | ------------------------------------ 2022-03-03 03:44:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-03 03:44:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.272s |
2022-03-03 03:44:27 |
2022-03-03 03:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:27 | ------------------------------------ 2022-03-03 03:44:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e17e55dd-ce25-4f8a-bc83-7b31abc6ae6a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-03 03:44:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |