Test duration : 9.353s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-07-12 08:01:53 |
2022-07-12 08:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:53 | ------------------------------------ 2022-07-12 08:01:53 | [Mutex] waiting for: [configured:node:node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad:node-d223b47a-0338-4cee-a396-fd921aa02442] 2022-07-12 08:01:54 | [Mutex] received everything. 2022-07-12 08:01:54 | [Mutex] isItemNotified: configured:node:node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad:node-d223b47a-0338-4cee-a396-fd921aa02442 :: true 2022-07-12 08:01:55 | [Mutex] waiting for: [received:nodes:7522aefb-a829-40a4-b979-be688501db2c:localhost] 2022-07-12 08:01:55 | [Mutex] received everything. 2022-07-12 08:01:55 | [Mutex] isItemNotified: received:node:7522aefb-a829-40a4-b979-be688501db2c:localhost:node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad:Node 05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad :: true 2022-07-12 08:01:55 | [Mutex] waiting for: [received:nodes:3b39eac3-a885-4380-8088-da0eaf9405e4:localhost] 2022-07-12 08:01:55 | [Mutex] received everything. 2022-07-12 08:01:55 | [Mutex] isItemNotified: received:node:3b39eac3-a885-4380-8088-da0eaf9405e4:localhost:node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad:Node 05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad :: false |
createNodes | 1.424s |
2022-07-12 08:01:51 |
2022-07-12 08:01:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:51 | ------------------------------------ 2022-07-12 08:01:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</title></pubsub></data> 2022-07-12 08:01:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:01:52 | [Mutex] waiting for: [received:nodes:9d22364e-c8c9-421e-a322-f2862bbc3d68:localhost] 2022-07-12 08:01:52 | [Mutex] received everything. 2022-07-12 08:01:52 | [Mutex] isItemNotified: received:node:9d22364e-c8c9-421e-a322-f2862bbc3d68:localhost:node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad:Node 05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad :: true |
createSubnodes | 1.027s |
2022-07-12 08:01:52 |
2022-07-12 08:01:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:52 | ------------------------------------ 2022-07-12 08:01:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d223b47a-0338-4cee-a396-fd921aa02442</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d223b47a-0338-4cee-a396-fd921aa02442</title></pubsub></data> 2022-07-12 08:01:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:01:53 | [Mutex] waiting for: [received:nodes:c76ca91e-ad4d-40d3-859e-20331d7bb509:localhost] 2022-07-12 08:01:53 | [Mutex] received everything. 2022-07-12 08:01:53 | [Mutex] isItemNotified: received:node:c76ca91e-ad4d-40d3-859e-20331d7bb509:localhost:node-d223b47a-0338-4cee-a396-fd921aa02442:Node d223b47a-0338-4cee-a396-fd921aa02442 :: true |
deleteNodes | 1.017s |
2022-07-12 08:01:59 |
2022-07-12 08:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:59 | ------------------------------------ 2022-07-12 08:01:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d223b47a-0338-4cee-a396-fd921aa02442</node></data> 2022-07-12 08:01:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:02:00 | [Mutex] waiting for: [received:nodes:05fab5b8-837d-48a1-8b20-8e2e09a21b38:localhost] 2022-07-12 08:02:00 | [Mutex] received everything. 2022-07-12 08:02:00 | [Mutex] isItemNotified: received:node:05fab5b8-837d-48a1-8b20-8e2e09a21b38:localhost:node-d223b47a-0338-4cee-a396-fd921aa02442:Node d223b47a-0338-4cee-a396-fd921aa02442 :: false |
deleteSubnodes | 1.121s |
2022-07-12 08:01:58 |
2022-07-12 08:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:58 | ------------------------------------ 2022-07-12 08:01:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</node></data> 2022-07-12 08:01:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-12 08:01:59 | [Mutex] waiting for: [received:nodes:a4f8d845-a26b-44c9-9c12-f55cd451c901:localhost] 2022-07-12 08:01:59 | [Mutex] waiting for: [received:nodes:a4f8d845-a26b-44c9-9c12-f55cd451c901:localhost] 2022-07-12 08:01:59 | [Mutex] waiting for: [received:nodes:a4f8d845-a26b-44c9-9c12-f55cd451c901:localhost] 2022-07-12 08:01:59 | [Mutex] waiting for: [received:nodes:a4f8d845-a26b-44c9-9c12-f55cd451c901:localhost] 2022-07-12 08:01:59 | [Mutex] received everything. 2022-07-12 08:01:59 | [Mutex] isItemNotified: received:node:a4f8d845-a26b-44c9-9c12-f55cd451c901:localhost:node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad:Node 05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad :: false 2022-07-12 08:01:59 | [Mutex] waiting for: [received:nodes:a66b98be-2d29-4f84-b3bb-f329a952eb4b:localhost] 2022-07-12 08:01:59 | [Mutex] received everything. 2022-07-12 08:01:59 | [Mutex] isItemNotified: received:node:a66b98be-2d29-4f84-b3bb-f329a952eb4b:localhost:node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad:Node 05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad :: false |
publishItemsToNodes | 0.183s |
2022-07-12 08:01:56 |
2022-07-12 08:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:56 | ------------------------------------ 2022-07-12 08:01:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</node><item-id>item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</item-id><entry><test>item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</test></entry></data> 2022-07-12 08:01:56 | 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-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</value></item-id></result> 2022-07-12 08:01:56 | [Mutex] waiting for: [published:item:notifieditem-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2:admin@test-domain.com] 2022-07-12 08:01:56 | [Mutex] received everything. 2022-07-12 08:01:56 | [Mutex] isItemNotified: published:item:notifieditem-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.261s |
2022-07-12 08:01:56 |
2022-07-12 08:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:56 | ------------------------------------ 2022-07-12 08:01:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</node><item-id>item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</item-id></data> 2022-07-12 08:01:56 | 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-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</value></item-id></result> 2022-07-12 08:01:56 | [Mutex] received everything. 2022-07-12 08:01:56 | [Mutex] isItemNotified: retracted:item:notifieditem-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.194s |
2022-07-12 08:01:56 |
2022-07-12 08:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:56 | ------------------------------------ 2022-07-12 08:01:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</node><item-id>item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</item-id></data> 2022-07-12 08:01:56 | 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-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</value></node><item-id type="text-single" label="Item ID"><value>item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</value></item-id><item type="text-multi" label="Item"><value><item id="item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2"><test>item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2</test></item></value></item></result> 2022-07-12 08:01:56 | [Mutex] notify: [retrieved:item:item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2:payload-matches:true:localhost] 2022-07-12 08:01:56 | [Mutex] received everything. 2022-07-12 08:01:56 | [Mutex] isItemNotified: retrieved:item:item-b8ac8cdc-a82d-4efd-bc85-4c187425e4d2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-07-12 08:01:56 |
2022-07-12 08:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:56 | ------------------------------------ 2022-07-12 08:01:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-12 08:01:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-d223b47a-0338-4cee-a396-fd921aa02442</value><value>test</value><value>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-12 08:01:56 |
2022-07-12 08:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:56 | ------------------------------------ 2022-07-12 08:01:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad)</node-pattern></data> 2022-07-12 08:01:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.115s |
2022-07-12 08:01:55 |
2022-07-12 08:01:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:55 | ------------------------------------ 2022-07-12 08:01:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 08:01:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.184s |
2022-07-12 08:01:56 |
2022-07-12 08:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-12 08:01:56 | ------------------------------------ 2022-07-12 08:01:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-05a1a7f4-7b8b-4fe9-b97a-3f58322d4bad</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-12 08:01:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |