Test duration : 9.602s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2022-12-16 22:01:37 |
2022-12-16 22:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:37 | ------------------------------------ 2022-12-16 22:01:37 | [Mutex] waiting for: [configured:node:node-7db47ebd-13a5-4de2-badf-998b300a4cda:node-6c193c25-8977-4b92-932e-19da6815b95d] 2022-12-16 22:01:38 | [Mutex] received everything. 2022-12-16 22:01:38 | [Mutex] isItemNotified: configured:node:node-7db47ebd-13a5-4de2-badf-998b300a4cda:node-6c193c25-8977-4b92-932e-19da6815b95d :: true 2022-12-16 22:01:39 | [Mutex] waiting for: [received:nodes:78e83bdc-e832-44da-8244-ca0da6db5fb1:localhost] 2022-12-16 22:01:39 | [Mutex] received everything. 2022-12-16 22:01:39 | [Mutex] isItemNotified: received:node:78e83bdc-e832-44da-8244-ca0da6db5fb1:localhost:node-7db47ebd-13a5-4de2-badf-998b300a4cda:Node 7db47ebd-13a5-4de2-badf-998b300a4cda :: true 2022-12-16 22:01:39 | [Mutex] waiting for: [received:nodes:b72f82ab-6401-4d9a-a42d-b91a3ba29805:localhost] 2022-12-16 22:01:39 | [Mutex] waiting for: [received:nodes:b72f82ab-6401-4d9a-a42d-b91a3ba29805:localhost] 2022-12-16 22:01:39 | [Mutex] waiting for: [received:nodes:b72f82ab-6401-4d9a-a42d-b91a3ba29805:localhost] 2022-12-16 22:01:39 | [Mutex] received everything. 2022-12-16 22:01:39 | [Mutex] isItemNotified: received:node:b72f82ab-6401-4d9a-a42d-b91a3ba29805:localhost:node-7db47ebd-13a5-4de2-badf-998b300a4cda:Node 7db47ebd-13a5-4de2-badf-998b300a4cda :: false |
createNodes | 1.459s |
2022-12-16 22:01:35 |
2022-12-16 22:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:35 | ------------------------------------ 2022-12-16 22:01:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7db47ebd-13a5-4de2-badf-998b300a4cda</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7db47ebd-13a5-4de2-badf-998b300a4cda</title></pubsub></data> 2022-12-16 22:01:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 22:01:36 | [Mutex] waiting for: [received:nodes:c35ab360-4b1b-49ae-9caa-ca4b20fd4f45:localhost] 2022-12-16 22:01:36 | [Mutex] waiting for: [received:nodes:c35ab360-4b1b-49ae-9caa-ca4b20fd4f45:localhost] 2022-12-16 22:01:36 | [Mutex] waiting for: [received:nodes:c35ab360-4b1b-49ae-9caa-ca4b20fd4f45:localhost] 2022-12-16 22:01:36 | [Mutex] waiting for: [received:nodes:c35ab360-4b1b-49ae-9caa-ca4b20fd4f45:localhost] 2022-12-16 22:01:36 | [Mutex] received everything. 2022-12-16 22:01:36 | [Mutex] isItemNotified: received:node:c35ab360-4b1b-49ae-9caa-ca4b20fd4f45:localhost:node-7db47ebd-13a5-4de2-badf-998b300a4cda:Node 7db47ebd-13a5-4de2-badf-998b300a4cda :: true |
createSubnodes | 1.028s |
2022-12-16 22:01:36 |
2022-12-16 22:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:36 | ------------------------------------ 2022-12-16 22:01:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6c193c25-8977-4b92-932e-19da6815b95d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6c193c25-8977-4b92-932e-19da6815b95d</title></pubsub></data> 2022-12-16 22:01:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 22:01:37 | [Mutex] waiting for: [received:nodes:b9a33000-f184-4d57-b530-19af02b4af39:localhost] 2022-12-16 22:01:37 | [Mutex] waiting for: [received:nodes:b9a33000-f184-4d57-b530-19af02b4af39:localhost] 2022-12-16 22:01:37 | [Mutex] waiting for: [received:nodes:b9a33000-f184-4d57-b530-19af02b4af39:localhost] 2022-12-16 22:01:37 | [Mutex] received everything. 2022-12-16 22:01:37 | [Mutex] isItemNotified: received:node:b9a33000-f184-4d57-b530-19af02b4af39:localhost:node-6c193c25-8977-4b92-932e-19da6815b95d:Node 6c193c25-8977-4b92-932e-19da6815b95d :: true |
deleteNodes | 1.025s |
2022-12-16 22:01:43 |
2022-12-16 22:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:43 | ------------------------------------ 2022-12-16 22:01:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6c193c25-8977-4b92-932e-19da6815b95d</node></data> 2022-12-16 22:01:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 22:01:44 | [Mutex] waiting for: [received:nodes:9316721d-64f6-4b57-87a9-668cd85d635a:localhost] 2022-12-16 22:01:44 | [Mutex] received everything. 2022-12-16 22:01:44 | [Mutex] isItemNotified: received:node:9316721d-64f6-4b57-87a9-668cd85d635a:localhost:node-6c193c25-8977-4b92-932e-19da6815b95d:Node 6c193c25-8977-4b92-932e-19da6815b95d :: false |
deleteSubnodes | 1.151s |
2022-12-16 22:01:42 |
2022-12-16 22:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:42 | ------------------------------------ 2022-12-16 22:01:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7db47ebd-13a5-4de2-badf-998b300a4cda</node></data> 2022-12-16 22:01:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 22:01:43 | [Mutex] waiting for: [received:nodes:5ff6c466-bae6-450c-a170-a4417a379e38:localhost] 2022-12-16 22:01:43 | [Mutex] waiting for: [received:nodes:5ff6c466-bae6-450c-a170-a4417a379e38:localhost] 2022-12-16 22:01:43 | [Mutex] waiting for: [received:nodes:5ff6c466-bae6-450c-a170-a4417a379e38:localhost] 2022-12-16 22:01:43 | [Mutex] waiting for: [received:nodes:5ff6c466-bae6-450c-a170-a4417a379e38:localhost] 2022-12-16 22:01:43 | [Mutex] received everything. 2022-12-16 22:01:43 | [Mutex] isItemNotified: received:node:5ff6c466-bae6-450c-a170-a4417a379e38:localhost:node-7db47ebd-13a5-4de2-badf-998b300a4cda:Node 7db47ebd-13a5-4de2-badf-998b300a4cda :: false 2022-12-16 22:01:43 | [Mutex] waiting for: [received:nodes:d6451890-7453-4cac-aadf-05dee14fafa5:localhost] 2022-12-16 22:01:43 | [Mutex] received everything. 2022-12-16 22:01:43 | [Mutex] isItemNotified: received:node:d6451890-7453-4cac-aadf-05dee14fafa5:localhost:node-7db47ebd-13a5-4de2-badf-998b300a4cda:Node 7db47ebd-13a5-4de2-badf-998b300a4cda :: false |
publishItemsToNodes | 0.263s |
2022-12-16 22:01:40 |
2022-12-16 22:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:40 | ------------------------------------ 2022-12-16 22:01:40 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7db47ebd-13a5-4de2-badf-998b300a4cda</node><item-id>item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</item-id><entry><test>item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</test></entry></data> 2022-12-16 22:01:40 | 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-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</value></item-id></result> 2022-12-16 22:01:40 | [Mutex] received everything. 2022-12-16 22:01:40 | [Mutex] isItemNotified: published:item:notifieditem-ae19a86a-43b1-41b8-9447-8c2b0fcb2079:admin@test-domain.com :: true |
retractItemsFromNodes | 0.269s |
2022-12-16 22:01:40 |
2022-12-16 22:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:40 | ------------------------------------ 2022-12-16 22:01:40 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7db47ebd-13a5-4de2-badf-998b300a4cda</node><item-id>item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</item-id></data> 2022-12-16 22:01:41 | 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-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</value></item-id></result> 2022-12-16 22:01:41 | [Mutex] received everything. 2022-12-16 22:01:41 | [Mutex] isItemNotified: retracted:item:notifieditem-ae19a86a-43b1-41b8-9447-8c2b0fcb2079:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.258s |
2022-12-16 22:01:40 |
2022-12-16 22:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:40 | ------------------------------------ 2022-12-16 22:01:40 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7db47ebd-13a5-4de2-badf-998b300a4cda</node><item-id>item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</item-id></data> 2022-12-16 22:01:40 | 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-7db47ebd-13a5-4de2-badf-998b300a4cda</value></node><item-id label="Item ID" type="text-single"><value>item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</value></item-id><item label="Item" type="text-multi"><value><item id="item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079"><test>item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079</test></item></value></item></result> 2022-12-16 22:01:40 | [Mutex] notify: [retrieved:item:item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079:payload-matches:true:localhost] 2022-12-16 22:01:40 | [Mutex] received everything. 2022-12-16 22:01:40 | [Mutex] isItemNotified: retrieved:item:item-ae19a86a-43b1-41b8-9447-8c2b0fcb2079:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-12-16 22:01:40 |
2022-12-16 22:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:40 | ------------------------------------ 2022-12-16 22:01:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-16 22:01:40 | 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-6c193c25-8977-4b92-932e-19da6815b95d</value><value>node-7db47ebd-13a5-4de2-badf-998b300a4cda</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-12-16 22:01:40 |
2022-12-16 22:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:40 | ------------------------------------ 2022-12-16 22:01:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7db47ebd-13a5-4de2-badf-998b300a4cda)</node-pattern></data> 2022-12-16 22:01:40 | 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-12-16 22:01:39 |
2022-12-16 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:39 | ------------------------------------ 2022-12-16 22:01:39 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7db47ebd-13a5-4de2-badf-998b300a4cda</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 22:01:39 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.210s |
2022-12-16 22:01:41 |
2022-12-16 22:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 22:01:41 | ------------------------------------ 2022-12-16 22:01:41 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7db47ebd-13a5-4de2-badf-998b300a4cda</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 22:01:41 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |