Test duration : 9.673s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2022-05-16 22:38:36 |
2022-05-16 22:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:36 | ------------------------------------ 2022-05-16 22:38:36 | [Mutex] waiting for: [configured:node:node-72f2e54c-70d9-4e7b-9044-43c9f209282c:node-fb22ca8b-2012-41da-8345-4dfd6f14afb4] 2022-05-16 22:38:36 | [Mutex] received everything. 2022-05-16 22:38:36 | [Mutex] isItemNotified: configured:node:node-72f2e54c-70d9-4e7b-9044-43c9f209282c:node-fb22ca8b-2012-41da-8345-4dfd6f14afb4 :: true 2022-05-16 22:38:37 | [Mutex] waiting for: [received:nodes:4831dbef-91da-47a1-9c2e-d9159bb8655a:localhost] 2022-05-16 22:38:37 | [Mutex] received everything. 2022-05-16 22:38:37 | [Mutex] isItemNotified: received:node:4831dbef-91da-47a1-9c2e-d9159bb8655a:localhost:node-72f2e54c-70d9-4e7b-9044-43c9f209282c:Node 72f2e54c-70d9-4e7b-9044-43c9f209282c :: true 2022-05-16 22:38:37 | [Mutex] waiting for: [received:nodes:09a0a9af-4e65-4c1f-a84c-025c52329c26:localhost] 2022-05-16 22:38:37 | [Mutex] received everything. 2022-05-16 22:38:37 | [Mutex] isItemNotified: received:node:09a0a9af-4e65-4c1f-a84c-025c52329c26:localhost:node-72f2e54c-70d9-4e7b-9044-43c9f209282c:Node 72f2e54c-70d9-4e7b-9044-43c9f209282c :: false |
createNodes | 1.498s |
2022-05-16 22:38:34 |
2022-05-16 22:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:34 | ------------------------------------ 2022-05-16 22:38:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 72f2e54c-70d9-4e7b-9044-43c9f209282c</title></pubsub></data> 2022-05-16 22:38:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-16 22:38:35 | [Mutex] waiting for: [received:nodes:67950419-0be3-46ea-a358-8c618ecce449:localhost] 2022-05-16 22:38:35 | [Mutex] received everything. 2022-05-16 22:38:35 | [Mutex] isItemNotified: received:node:67950419-0be3-46ea-a358-8c618ecce449:localhost:node-72f2e54c-70d9-4e7b-9044-43c9f209282c:Node 72f2e54c-70d9-4e7b-9044-43c9f209282c :: true |
createSubnodes | 1.029s |
2022-05-16 22:38:35 |
2022-05-16 22:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:35 | ------------------------------------ 2022-05-16 22:38:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fb22ca8b-2012-41da-8345-4dfd6f14afb4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fb22ca8b-2012-41da-8345-4dfd6f14afb4</title></pubsub></data> 2022-05-16 22:38:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-16 22:38:36 | [Mutex] waiting for: [received:nodes:30681977-3a8d-401a-ab28-7736fdcaf7f9:localhost] 2022-05-16 22:38:36 | [Mutex] received everything. 2022-05-16 22:38:36 | [Mutex] isItemNotified: received:node:30681977-3a8d-401a-ab28-7736fdcaf7f9:localhost:node-fb22ca8b-2012-41da-8345-4dfd6f14afb4:Node fb22ca8b-2012-41da-8345-4dfd6f14afb4 :: true |
deleteNodes | 1.025s |
2022-05-16 22:38:42 |
2022-05-16 22:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:42 | ------------------------------------ 2022-05-16 22:38:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fb22ca8b-2012-41da-8345-4dfd6f14afb4</node></data> 2022-05-16 22:38:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-16 22:38:43 | [Mutex] waiting for: [received:nodes:d07fd103-0806-451a-9203-f1e159c176c0:localhost] 2022-05-16 22:38:43 | [Mutex] waiting for: [received:nodes:d07fd103-0806-451a-9203-f1e159c176c0:localhost] 2022-05-16 22:38:43 | [Mutex] received everything. 2022-05-16 22:38:43 | [Mutex] isItemNotified: received:node:d07fd103-0806-451a-9203-f1e159c176c0:localhost:node-fb22ca8b-2012-41da-8345-4dfd6f14afb4:Node fb22ca8b-2012-41da-8345-4dfd6f14afb4 :: false |
deleteSubnodes | 1.159s |
2022-05-16 22:38:40 |
2022-05-16 22:38:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:40 | ------------------------------------ 2022-05-16 22:38:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</node></data> 2022-05-16 22:38:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-16 22:38:42 | [Mutex] waiting for: [received:nodes:e4469678-b523-4f9e-8537-14bce5787a29:localhost] 2022-05-16 22:38:42 | [Mutex] waiting for: [received:nodes:e4469678-b523-4f9e-8537-14bce5787a29:localhost] 2022-05-16 22:38:42 | [Mutex] received everything. 2022-05-16 22:38:42 | [Mutex] isItemNotified: received:node:e4469678-b523-4f9e-8537-14bce5787a29:localhost:node-72f2e54c-70d9-4e7b-9044-43c9f209282c:Node 72f2e54c-70d9-4e7b-9044-43c9f209282c :: false 2022-05-16 22:38:42 | [Mutex] waiting for: [received:nodes:658fb983-ebb0-49cf-867c-7bcc3d1fc9a4:localhost] 2022-05-16 22:38:42 | [Mutex] received everything. 2022-05-16 22:38:42 | [Mutex] isItemNotified: received:node:658fb983-ebb0-49cf-867c-7bcc3d1fc9a4:localhost:node-72f2e54c-70d9-4e7b-9044-43c9f209282c:Node 72f2e54c-70d9-4e7b-9044-43c9f209282c :: false |
publishItemsToNodes | 0.206s |
2022-05-16 22:38:38 |
2022-05-16 22:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:38 | ------------------------------------ 2022-05-16 22:38:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</node><item-id>item-8ba1bb38-6650-4345-a867-362c04322e7f</item-id><entry><test>item-8ba1bb38-6650-4345-a867-362c04322e7f</test></entry></data> 2022-05-16 22:38:39 | 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-8ba1bb38-6650-4345-a867-362c04322e7f</value></item-id></result> 2022-05-16 22:38:39 | [Mutex] waiting for: [published:item:notifieditem-8ba1bb38-6650-4345-a867-362c04322e7f:admin@test-domain.com] 2022-05-16 22:38:39 | [Mutex] received everything. 2022-05-16 22:38:39 | [Mutex] isItemNotified: published:item:notifieditem-8ba1bb38-6650-4345-a867-362c04322e7f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.305s |
2022-05-16 22:38:39 |
2022-05-16 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:39 | ------------------------------------ 2022-05-16 22:38:39 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</node><item-id>item-8ba1bb38-6650-4345-a867-362c04322e7f</item-id></data> 2022-05-16 22:38:39 | 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-8ba1bb38-6650-4345-a867-362c04322e7f</value></item-id></result> 2022-05-16 22:38:39 | [Mutex] received everything. 2022-05-16 22:38:39 | [Mutex] isItemNotified: retracted:item:notifieditem-8ba1bb38-6650-4345-a867-362c04322e7f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.336s |
2022-05-16 22:38:39 |
2022-05-16 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:39 | ------------------------------------ 2022-05-16 22:38:39 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</node><item-id>item-8ba1bb38-6650-4345-a867-362c04322e7f</item-id></data> 2022-05-16 22:38:39 | 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-72f2e54c-70d9-4e7b-9044-43c9f209282c</value></node><item-id label="Item ID" type="text-single"><value>item-8ba1bb38-6650-4345-a867-362c04322e7f</value></item-id><item label="Item" type="text-multi"><value><item id="item-8ba1bb38-6650-4345-a867-362c04322e7f"><test>item-8ba1bb38-6650-4345-a867-362c04322e7f</test></item></value></item></result> 2022-05-16 22:38:39 | [Mutex] notify: [retrieved:item:item-8ba1bb38-6650-4345-a867-362c04322e7f:payload-matches:true:localhost] 2022-05-16 22:38:39 | [Mutex] received everything. 2022-05-16 22:38:39 | [Mutex] isItemNotified: retrieved:item:item-8ba1bb38-6650-4345-a867-362c04322e7f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-16 22:38:39 |
2022-05-16 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:39 | ------------------------------------ 2022-05-16 22:38:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-16 22:38:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</value><value>test</value><value>node-fb22ca8b-2012-41da-8345-4dfd6f14afb4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-16 22:38:39 |
2022-05-16 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:39 | ------------------------------------ 2022-05-16 22:38:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-72f2e54c-70d9-4e7b-9044-43c9f209282c)</node-pattern></data> 2022-05-16 22:38:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.117s |
2022-05-16 22:38:37 |
2022-05-16 22:38:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:37 | ------------------------------------ 2022-05-16 22:38:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-16 22:38:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.150s |
2022-05-16 22:38:39 |
2022-05-16 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-16 22:38:39 | ------------------------------------ 2022-05-16 22:38:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-72f2e54c-70d9-4e7b-9044-43c9f209282c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-16 22:38:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |