Test duration: 10.088s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.142s |
2020-08-03 00:02:52 |
2020-08-03 00:02:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:52 | ------------------------------------ 2020-08-03 00:02:52 | [Mutex] waiting for: [configured:node:node-9e264373-e50e-4f1f-aabb-2e5a6843cc31:node-b12747c6-32df-4c82-8712-19389e058509] 2020-08-03 00:02:52 | [Mutex] received everything. 2020-08-03 00:02:52 | [Mutex] isItemNotified: configured:node:node-9e264373-e50e-4f1f-aabb-2e5a6843cc31:node-b12747c6-32df-4c82-8712-19389e058509 :: true 2020-08-03 00:02:53 | [Mutex] waiting for: [received:nodes:d0164284-4701-4959-b463-44716945078f:localhost] 2020-08-03 00:02:53 | [Mutex] received everything. 2020-08-03 00:02:53 | [Mutex] isItemNotified: received:node:d0164284-4701-4959-b463-44716945078f:localhost:node-9e264373-e50e-4f1f-aabb-2e5a6843cc31:Node 9e264373-e50e-4f1f-aabb-2e5a6843cc31 :: true 2020-08-03 00:02:53 | [Mutex] waiting for: [received:nodes:20172821-be25-4e50-a060-93cd231e5ff9:localhost] 2020-08-03 00:02:53 | [Mutex] received everything. 2020-08-03 00:02:53 | [Mutex] isItemNotified: received:node:20172821-be25-4e50-a060-93cd231e5ff9:localhost:node-9e264373-e50e-4f1f-aabb-2e5a6843cc31:Node 9e264373-e50e-4f1f-aabb-2e5a6843cc31 :: false |
createNodes | 1.534s |
2020-08-03 00:02:49 |
2020-08-03 00:02:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:49 | ------------------------------------ 2020-08-03 00:02:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9e264373-e50e-4f1f-aabb-2e5a6843cc31</title></pubsub></data> 2020-08-03 00:02:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-03 00:02:51 | [Mutex] waiting for: [received:nodes:c15be8fc-3957-4c06-ac0a-f173c8cd61f4:localhost] 2020-08-03 00:02:51 | [Mutex] received everything. 2020-08-03 00:02:51 | [Mutex] isItemNotified: received:node:c15be8fc-3957-4c06-ac0a-f173c8cd61f4:localhost:node-9e264373-e50e-4f1f-aabb-2e5a6843cc31:Node 9e264373-e50e-4f1f-aabb-2e5a6843cc31 :: true |
createSubnodes | 1.031s |
2020-08-03 00:02:51 |
2020-08-03 00:02:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:51 | ------------------------------------ 2020-08-03 00:02:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b12747c6-32df-4c82-8712-19389e058509</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b12747c6-32df-4c82-8712-19389e058509</title></pubsub></data> 2020-08-03 00:02:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-03 00:02:52 | [Mutex] waiting for: [received:nodes:c6876680-7bfa-48a4-a34e-6c8dfc159cad:localhost] 2020-08-03 00:02:52 | [Mutex] received everything. 2020-08-03 00:02:52 | [Mutex] isItemNotified: received:node:c6876680-7bfa-48a4-a34e-6c8dfc159cad:localhost:node-b12747c6-32df-4c82-8712-19389e058509:Node b12747c6-32df-4c82-8712-19389e058509 :: true |
deleteNodes | 1.020s |
2020-08-03 00:02:58 |
2020-08-03 00:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:58 | ------------------------------------ 2020-08-03 00:02:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b12747c6-32df-4c82-8712-19389e058509</node></data> 2020-08-03 00:02:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-03 00:02:59 | [Mutex] waiting for: [received:nodes:56c37b7d-dcb7-4ca6-8e82-c4b54502345f:localhost] 2020-08-03 00:02:59 | [Mutex] received everything. 2020-08-03 00:02:59 | [Mutex] isItemNotified: received:node:56c37b7d-dcb7-4ca6-8e82-c4b54502345f:localhost:node-b12747c6-32df-4c82-8712-19389e058509:Node b12747c6-32df-4c82-8712-19389e058509 :: false |
deleteSubnodes | 1.159s |
2020-08-03 00:02:56 |
2020-08-03 00:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:56 | ------------------------------------ 2020-08-03 00:02:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</node></data> 2020-08-03 00:02:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-03 00:02:58 | [Mutex] waiting for: [received:nodes:fe320f3c-52e0-47de-9dfe-b6f529182b30:localhost] 2020-08-03 00:02:58 | [Mutex] received everything. 2020-08-03 00:02:58 | [Mutex] isItemNotified: received:node:fe320f3c-52e0-47de-9dfe-b6f529182b30:localhost:node-9e264373-e50e-4f1f-aabb-2e5a6843cc31:Node 9e264373-e50e-4f1f-aabb-2e5a6843cc31 :: false 2020-08-03 00:02:58 | [Mutex] waiting for: [received:nodes:59cfb51f-ab7d-4fdb-9c2c-277b80ff28ca:localhost] 2020-08-03 00:02:58 | [Mutex] received everything. 2020-08-03 00:02:58 | [Mutex] isItemNotified: received:node:59cfb51f-ab7d-4fdb-9c2c-277b80ff28ca:localhost:node-9e264373-e50e-4f1f-aabb-2e5a6843cc31:Node 9e264373-e50e-4f1f-aabb-2e5a6843cc31 :: false |
publishItemsToNodes | 0.234s |
2020-08-03 00:02:54 |
2020-08-03 00:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:54 | ------------------------------------ 2020-08-03 00:02:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</node><item-id>item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</item-id><entry><test>item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</test></entry></data> 2020-08-03 00:02:54 | 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-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</value></item-id></result> 2020-08-03 00:02:54 | [Mutex] waiting for: [published:item:notifieditem-439e4b64-28d3-44d7-a6fc-a0b6de2f948c:admin@test-domain.com] 2020-08-03 00:02:54 | [Mutex] received everything. 2020-08-03 00:02:54 | [Mutex] isItemNotified: published:item:notifieditem-439e4b64-28d3-44d7-a6fc-a0b6de2f948c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.292s |
2020-08-03 00:02:55 |
2020-08-03 00:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:55 | ------------------------------------ 2020-08-03 00:02:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</node><item-id>item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</item-id></data> 2020-08-03 00:02:55 | 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-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</value></item-id></result> 2020-08-03 00:02:55 | [Mutex] received everything. 2020-08-03 00:02:55 | [Mutex] isItemNotified: retracted:item:notifieditem-439e4b64-28d3-44d7-a6fc-a0b6de2f948c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.273s |
2020-08-03 00:02:54 |
2020-08-03 00:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:54 | ------------------------------------ 2020-08-03 00:02:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</node><item-id>item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</item-id></data> 2020-08-03 00:02:55 | 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-9e264373-e50e-4f1f-aabb-2e5a6843cc31</value></node><item-id label="Item ID" type="text-single"><value>item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</value></item-id><item label="Item" type="text-multi"><value><item id="item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c"><test>item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c</test></item></value></item></result> 2020-08-03 00:02:55 | [Mutex] notify: [retrieved:item:item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c:payload-matches:true:localhost] 2020-08-03 00:02:55 | [Mutex] received everything. 2020-08-03 00:02:55 | [Mutex] isItemNotified: retrieved:item:item-439e4b64-28d3-44d7-a6fc-a0b6de2f948c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.161s |
2020-08-03 00:02:55 |
2020-08-03 00:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:55 | ------------------------------------ 2020-08-03 00:02:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-03 00:02:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-071deba7-ce78-4d09-a9ed-0fcc10984efe</value><value>test</value><value>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</value><value>node-b12747c6-32df-4c82-8712-19389e058509</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-08-03 00:02:55 |
2020-08-03 00:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:55 | ------------------------------------ 2020-08-03 00:02:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9e264373-e50e-4f1f-aabb-2e5a6843cc31)</node-pattern></data> 2020-08-03 00:02:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.138s |
2020-08-03 00:02:53 |
2020-08-03 00:02:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:53 | ------------------------------------ 2020-08-03 00:02:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-03 00:02:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2020-08-03 00:02:55 |
2020-08-03 00:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-03 00:02:55 | ------------------------------------ 2020-08-03 00:02:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9e264373-e50e-4f1f-aabb-2e5a6843cc31</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-03 00:02:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |