Test duration : 9.355s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2022-06-22 22:31:54 |
2022-06-22 22:31:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:54 | ------------------------------------ 2022-06-22 22:31:54 | [Mutex] waiting for: [configured:node:node-701fc301-7720-45fe-840a-cf290e8972fc:node-275a7e18-64f9-49e1-9a5f-31fb476b8213] 2022-06-22 22:31:54 | [Mutex] received everything. 2022-06-22 22:31:54 | [Mutex] isItemNotified: configured:node:node-701fc301-7720-45fe-840a-cf290e8972fc:node-275a7e18-64f9-49e1-9a5f-31fb476b8213 :: true 2022-06-22 22:31:55 | [Mutex] waiting for: [received:nodes:f4d922bd-bc15-4dd6-83cd-b9db278b43b6:localhost] 2022-06-22 22:31:55 | [Mutex] received everything. 2022-06-22 22:31:55 | [Mutex] isItemNotified: received:node:f4d922bd-bc15-4dd6-83cd-b9db278b43b6:localhost:node-701fc301-7720-45fe-840a-cf290e8972fc:Node 701fc301-7720-45fe-840a-cf290e8972fc :: true 2022-06-22 22:31:55 | [Mutex] waiting for: [received:nodes:029f80c7-4185-4600-bceb-92ddcd783f77:localhost] 2022-06-22 22:31:55 | [Mutex] waiting for: [received:nodes:029f80c7-4185-4600-bceb-92ddcd783f77:localhost] 2022-06-22 22:31:55 | [Mutex] received everything. 2022-06-22 22:31:55 | [Mutex] isItemNotified: received:node:029f80c7-4185-4600-bceb-92ddcd783f77:localhost:node-701fc301-7720-45fe-840a-cf290e8972fc:Node 701fc301-7720-45fe-840a-cf290e8972fc :: false |
createNodes | 1.432s |
2022-06-22 22:31:52 |
2022-06-22 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:52 | ------------------------------------ 2022-06-22 22:31:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-701fc301-7720-45fe-840a-cf290e8972fc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 701fc301-7720-45fe-840a-cf290e8972fc</title></pubsub></data> 2022-06-22 22:31:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 22:31:53 | [Mutex] waiting for: [received:nodes:2040f00c-eaa6-437f-a2b6-ec394613a867:localhost] 2022-06-22 22:31:53 | [Mutex] waiting for: [received:nodes:2040f00c-eaa6-437f-a2b6-ec394613a867:localhost] 2022-06-22 22:31:53 | [Mutex] received everything. 2022-06-22 22:31:53 | [Mutex] isItemNotified: received:node:2040f00c-eaa6-437f-a2b6-ec394613a867:localhost:node-701fc301-7720-45fe-840a-cf290e8972fc:Node 701fc301-7720-45fe-840a-cf290e8972fc :: true |
createSubnodes | 1.022s |
2022-06-22 22:31:53 |
2022-06-22 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:53 | ------------------------------------ 2022-06-22 22:31:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-275a7e18-64f9-49e1-9a5f-31fb476b8213</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 275a7e18-64f9-49e1-9a5f-31fb476b8213</title></pubsub></data> 2022-06-22 22:31:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 22:31:54 | [Mutex] waiting for: [received:nodes:fa6909e5-dfe1-44b3-b1d7-87da4ad8314e:localhost] 2022-06-22 22:31:54 | [Mutex] received everything. 2022-06-22 22:31:54 | [Mutex] isItemNotified: received:node:fa6909e5-dfe1-44b3-b1d7-87da4ad8314e:localhost:node-275a7e18-64f9-49e1-9a5f-31fb476b8213:Node 275a7e18-64f9-49e1-9a5f-31fb476b8213 :: true |
deleteNodes | 1.017s |
2022-06-22 22:32:00 |
2022-06-22 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:32:00 | ------------------------------------ 2022-06-22 22:32:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-275a7e18-64f9-49e1-9a5f-31fb476b8213</node></data> 2022-06-22 22:32:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 22:32:01 | [Mutex] waiting for: [received:nodes:0573f087-7218-4513-a783-b826d4eb5e32:localhost] 2022-06-22 22:32:01 | [Mutex] waiting for: [received:nodes:0573f087-7218-4513-a783-b826d4eb5e32:localhost] 2022-06-22 22:32:01 | [Mutex] waiting for: [received:nodes:0573f087-7218-4513-a783-b826d4eb5e32:localhost] 2022-06-22 22:32:01 | [Mutex] received everything. 2022-06-22 22:32:01 | [Mutex] isItemNotified: received:node:0573f087-7218-4513-a783-b826d4eb5e32:localhost:node-275a7e18-64f9-49e1-9a5f-31fb476b8213:Node 275a7e18-64f9-49e1-9a5f-31fb476b8213 :: false |
deleteSubnodes | 1.126s |
2022-06-22 22:31:59 |
2022-06-22 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:59 | ------------------------------------ 2022-06-22 22:31:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-701fc301-7720-45fe-840a-cf290e8972fc</node></data> 2022-06-22 22:31:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-22 22:32:00 | [Mutex] waiting for: [received:nodes:2f4d677f-7023-4039-8f9e-534d3e3efd44:localhost] 2022-06-22 22:32:00 | [Mutex] waiting for: [received:nodes:2f4d677f-7023-4039-8f9e-534d3e3efd44:localhost] 2022-06-22 22:32:00 | [Mutex] received everything. 2022-06-22 22:32:00 | [Mutex] isItemNotified: received:node:2f4d677f-7023-4039-8f9e-534d3e3efd44:localhost:node-701fc301-7720-45fe-840a-cf290e8972fc:Node 701fc301-7720-45fe-840a-cf290e8972fc :: false 2022-06-22 22:32:00 | [Mutex] waiting for: [received:nodes:b7965d30-bdee-4c53-92a9-953f9644a07e:localhost] 2022-06-22 22:32:00 | [Mutex] received everything. 2022-06-22 22:32:00 | [Mutex] isItemNotified: received:node:b7965d30-bdee-4c53-92a9-953f9644a07e:localhost:node-701fc301-7720-45fe-840a-cf290e8972fc:Node 701fc301-7720-45fe-840a-cf290e8972fc :: false |
publishItemsToNodes | 0.202s |
2022-06-22 22:31:57 |
2022-06-22 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:57 | ------------------------------------ 2022-06-22 22:31:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-701fc301-7720-45fe-840a-cf290e8972fc</node><item-id>item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</item-id><entry><test>item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</test></entry></data> 2022-06-22 22:31:57 | 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-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</value></item-id></result> 2022-06-22 22:31:57 | [Mutex] received everything. 2022-06-22 22:31:57 | [Mutex] isItemNotified: published:item:notifieditem-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2022-06-22 22:31:57 |
2022-06-22 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:57 | ------------------------------------ 2022-06-22 22:31:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-701fc301-7720-45fe-840a-cf290e8972fc</node><item-id>item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</item-id></data> 2022-06-22 22:31:57 | 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-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</value></item-id></result> 2022-06-22 22:31:57 | [Mutex] received everything. 2022-06-22 22:31:57 | [Mutex] isItemNotified: retracted:item:notifieditem-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.269s |
2022-06-22 22:31:57 |
2022-06-22 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:57 | ------------------------------------ 2022-06-22 22:31:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-701fc301-7720-45fe-840a-cf290e8972fc</node><item-id>item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</item-id></data> 2022-06-22 22:31:57 | 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-701fc301-7720-45fe-840a-cf290e8972fc</value></node><item-id label="Item ID" type="text-single"><value>item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</value></item-id><item label="Item" type="text-multi"><value><item id="item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2"><test>item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2</test></item></value></item></result> 2022-06-22 22:31:57 | [Mutex] notify: [retrieved:item:item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2:payload-matches:true:localhost] 2022-06-22 22:31:57 | [Mutex] received everything. 2022-06-22 22:31:57 | [Mutex] isItemNotified: retrieved:item:item-4eeff0f7-bef8-4cf1-b88e-ebff3b9ee3c2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-06-22 22:31:57 |
2022-06-22 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:57 | ------------------------------------ 2022-06-22 22:31:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-22 22:31:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-701fc301-7720-45fe-840a-cf290e8972fc</value><value>test</value><value>node-275a7e18-64f9-49e1-9a5f-31fb476b8213</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.052s |
2022-06-22 22:31:57 |
2022-06-22 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:57 | ------------------------------------ 2022-06-22 22:31:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-701fc301-7720-45fe-840a-cf290e8972fc)</node-pattern></data> 2022-06-22 22:31:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2022-06-22 22:31:56 |
2022-06-22 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:56 | ------------------------------------ 2022-06-22 22:31:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-701fc301-7720-45fe-840a-cf290e8972fc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-22 22:31:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.155s |
2022-06-22 22:31:57 |
2022-06-22 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-22 22:31:57 | ------------------------------------ 2022-06-22 22:31:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-701fc301-7720-45fe-840a-cf290e8972fc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-22 22:31:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |