Test duration : 9.565s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2022-05-24 09:54:24 |
2022-05-24 09:54:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:24 | ------------------------------------ 2022-05-24 09:54:24 | [Mutex] waiting for: [configured:node:node-2878b867-9c11-4d20-ba8d-e9b1f5870851:node-ca852880-1c97-444e-b001-54a92ddfb7a1] 2022-05-24 09:54:24 | [Mutex] received everything. 2022-05-24 09:54:24 | [Mutex] isItemNotified: configured:node:node-2878b867-9c11-4d20-ba8d-e9b1f5870851:node-ca852880-1c97-444e-b001-54a92ddfb7a1 :: true 2022-05-24 09:54:25 | [Mutex] waiting for: [received:nodes:31276cab-86f1-4c0a-89db-8456ba24495e:localhost] 2022-05-24 09:54:25 | [Mutex] received everything. 2022-05-24 09:54:25 | [Mutex] isItemNotified: received:node:31276cab-86f1-4c0a-89db-8456ba24495e:localhost:node-2878b867-9c11-4d20-ba8d-e9b1f5870851:Node 2878b867-9c11-4d20-ba8d-e9b1f5870851 :: true 2022-05-24 09:54:25 | [Mutex] waiting for: [received:nodes:600dd7d7-00ae-4d52-963b-0f1cea43c835:localhost] 2022-05-24 09:54:25 | [Mutex] waiting for: [received:nodes:600dd7d7-00ae-4d52-963b-0f1cea43c835:localhost] 2022-05-24 09:54:25 | [Mutex] waiting for: [received:nodes:600dd7d7-00ae-4d52-963b-0f1cea43c835:localhost] 2022-05-24 09:54:25 | [Mutex] received everything. 2022-05-24 09:54:25 | [Mutex] isItemNotified: received:node:600dd7d7-00ae-4d52-963b-0f1cea43c835:localhost:node-2878b867-9c11-4d20-ba8d-e9b1f5870851:Node 2878b867-9c11-4d20-ba8d-e9b1f5870851 :: false |
createNodes | 1.450s |
2022-05-24 09:54:21 |
2022-05-24 09:54:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:21 | ------------------------------------ 2022-05-24 09:54:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2878b867-9c11-4d20-ba8d-e9b1f5870851</title></pubsub></data> 2022-05-24 09:54:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 09:54:23 | [Mutex] waiting for: [received:nodes:37f47514-56d0-4e64-9547-a11be57b2631:localhost] 2022-05-24 09:54:23 | [Mutex] received everything. 2022-05-24 09:54:23 | [Mutex] isItemNotified: received:node:37f47514-56d0-4e64-9547-a11be57b2631:localhost:node-2878b867-9c11-4d20-ba8d-e9b1f5870851:Node 2878b867-9c11-4d20-ba8d-e9b1f5870851 :: true |
createSubnodes | 1.025s |
2022-05-24 09:54:23 |
2022-05-24 09:54:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:23 | ------------------------------------ 2022-05-24 09:54:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ca852880-1c97-444e-b001-54a92ddfb7a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ca852880-1c97-444e-b001-54a92ddfb7a1</title></pubsub></data> 2022-05-24 09:54:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 09:54:24 | [Mutex] waiting for: [received:nodes:c4a4538c-4f94-41fa-8830-fc64d76e6308:localhost] 2022-05-24 09:54:24 | [Mutex] received everything. 2022-05-24 09:54:24 | [Mutex] isItemNotified: received:node:c4a4538c-4f94-41fa-8830-fc64d76e6308:localhost:node-ca852880-1c97-444e-b001-54a92ddfb7a1:Node ca852880-1c97-444e-b001-54a92ddfb7a1 :: true |
deleteNodes | 1.018s |
2022-05-24 09:54:29 |
2022-05-24 09:54:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:29 | ------------------------------------ 2022-05-24 09:54:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ca852880-1c97-444e-b001-54a92ddfb7a1</node></data> 2022-05-24 09:54:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 09:54:30 | [Mutex] waiting for: [received:nodes:26ddf804-5d33-4912-8e35-95c0c55b129c:localhost] 2022-05-24 09:54:30 | [Mutex] waiting for: [received:nodes:26ddf804-5d33-4912-8e35-95c0c55b129c:localhost] 2022-05-24 09:54:30 | [Mutex] waiting for: [received:nodes:26ddf804-5d33-4912-8e35-95c0c55b129c:localhost] 2022-05-24 09:54:30 | [Mutex] received everything. 2022-05-24 09:54:30 | [Mutex] isItemNotified: received:node:26ddf804-5d33-4912-8e35-95c0c55b129c:localhost:node-ca852880-1c97-444e-b001-54a92ddfb7a1:Node ca852880-1c97-444e-b001-54a92ddfb7a1 :: false |
deleteSubnodes | 1.136s |
2022-05-24 09:54:28 |
2022-05-24 09:54:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:28 | ------------------------------------ 2022-05-24 09:54:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</node></data> 2022-05-24 09:54:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 09:54:29 | [Mutex] waiting for: [received:nodes:3e76ea80-26dc-47ef-ba08-2629f771320a:localhost] 2022-05-24 09:54:29 | [Mutex] received everything. 2022-05-24 09:54:29 | [Mutex] isItemNotified: received:node:3e76ea80-26dc-47ef-ba08-2629f771320a:localhost:node-2878b867-9c11-4d20-ba8d-e9b1f5870851:Node 2878b867-9c11-4d20-ba8d-e9b1f5870851 :: false 2022-05-24 09:54:29 | [Mutex] waiting for: [received:nodes:d79e8a8b-85e5-4cd6-a7bb-68648e036ea1:localhost] 2022-05-24 09:54:29 | [Mutex] received everything. 2022-05-24 09:54:29 | [Mutex] isItemNotified: received:node:d79e8a8b-85e5-4cd6-a7bb-68648e036ea1:localhost:node-2878b867-9c11-4d20-ba8d-e9b1f5870851:Node 2878b867-9c11-4d20-ba8d-e9b1f5870851 :: false |
publishItemsToNodes | 0.194s |
2022-05-24 09:54:26 |
2022-05-24 09:54:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:26 | ------------------------------------ 2022-05-24 09:54:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</node><item-id>item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</item-id><entry><test>item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</test></entry></data> 2022-05-24 09:54:26 | 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-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</value></item-id></result> 2022-05-24 09:54:26 | [Mutex] received everything. 2022-05-24 09:54:26 | [Mutex] isItemNotified: published:item:notifieditem-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2022-05-24 09:54:26 |
2022-05-24 09:54:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:26 | ------------------------------------ 2022-05-24 09:54:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</node><item-id>item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</item-id></data> 2022-05-24 09:54:27 | 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-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</value></item-id></result> 2022-05-24 09:54:27 | [Mutex] received everything. 2022-05-24 09:54:27 | [Mutex] isItemNotified: retracted:item:notifieditem-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.163s |
2022-05-24 09:54:26 |
2022-05-24 09:54:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:26 | ------------------------------------ 2022-05-24 09:54:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</node><item-id>item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</item-id></data> 2022-05-24 09:54:26 | 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-2878b867-9c11-4d20-ba8d-e9b1f5870851</value></node><item-id label="Item ID" type="text-single"><value>item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</value></item-id><item label="Item" type="text-multi"><value><item id="item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c"><test>item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c</test></item></value></item></result> 2022-05-24 09:54:26 | [Mutex] notify: [retrieved:item:item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c:payload-matches:true:localhost] 2022-05-24 09:54:26 | [Mutex] received everything. 2022-05-24 09:54:26 | [Mutex] isItemNotified: retrieved:item:item-0bf3b87e-81b6-4095-90e1-c1fd0fbc437c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-24 09:54:26 |
2022-05-24 09:54:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:26 | ------------------------------------ 2022-05-24 09:54:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-24 09:54:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</value><value>node-ca852880-1c97-444e-b001-54a92ddfb7a1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-24 09:54:26 |
2022-05-24 09:54:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:26 | ------------------------------------ 2022-05-24 09:54: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-2878b867-9c11-4d20-ba8d-e9b1f5870851)</node-pattern></data> 2022-05-24 09:54:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.142s |
2022-05-24 09:54:25 |
2022-05-24 09:54:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:25 | ------------------------------------ 2022-05-24 09:54:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-24 09:54: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.203s |
2022-05-24 09:54:27 |
2022-05-24 09:54:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 09:54:27 | ------------------------------------ 2022-05-24 09:54:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2878b867-9c11-4d20-ba8d-e9b1f5870851</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-24 09:54:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |