Test duration : 9.514s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2023-03-26 22:30:47 |
2023-03-26 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:47 | ------------------------------------ 2023-03-26 22:30:47 | [Mutex] waiting for: [configured:node:node-d0493e1b-9927-49a9-87cd-f0ee53ee3601:node-2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265] 2023-03-26 22:30:47 | [Mutex] received everything. 2023-03-26 22:30:47 | [Mutex] isItemNotified: configured:node:node-d0493e1b-9927-49a9-87cd-f0ee53ee3601:node-2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265 :: true 2023-03-26 22:30:48 | [Mutex] waiting for: [received:nodes:766cb43a-ab4a-4235-9a3a-a58814ab63a4:localhost] 2023-03-26 22:30:48 | [Mutex] received everything. 2023-03-26 22:30:48 | [Mutex] isItemNotified: received:node:766cb43a-ab4a-4235-9a3a-a58814ab63a4:localhost:node-d0493e1b-9927-49a9-87cd-f0ee53ee3601:Node d0493e1b-9927-49a9-87cd-f0ee53ee3601 :: true 2023-03-26 22:30:48 | [Mutex] waiting for: [received:nodes:513c4799-edaf-43be-ac79-833239a48c59:localhost] 2023-03-26 22:30:48 | [Mutex] received everything. 2023-03-26 22:30:48 | [Mutex] isItemNotified: received:node:513c4799-edaf-43be-ac79-833239a48c59:localhost:node-d0493e1b-9927-49a9-87cd-f0ee53ee3601:Node d0493e1b-9927-49a9-87cd-f0ee53ee3601 :: false |
createNodes | 1.625s |
2023-03-26 22:30:45 |
2023-03-26 22:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:45 | ------------------------------------ 2023-03-26 22:30:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d0493e1b-9927-49a9-87cd-f0ee53ee3601</title></pubsub></data> 2023-03-26 22:30:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-26 22:30:46 | [Mutex] waiting for: [received:nodes:627d63bf-8e34-4845-a376-f6b5fdf3c7d0:localhost] 2023-03-26 22:30:46 | [Mutex] waiting for: [received:nodes:627d63bf-8e34-4845-a376-f6b5fdf3c7d0:localhost] 2023-03-26 22:30:46 | [Mutex] waiting for: [received:nodes:627d63bf-8e34-4845-a376-f6b5fdf3c7d0:localhost] 2023-03-26 22:30:46 | [Mutex] received everything. 2023-03-26 22:30:46 | [Mutex] isItemNotified: received:node:627d63bf-8e34-4845-a376-f6b5fdf3c7d0:localhost:node-d0493e1b-9927-49a9-87cd-f0ee53ee3601:Node d0493e1b-9927-49a9-87cd-f0ee53ee3601 :: true |
createSubnodes | 1.027s |
2023-03-26 22:30:46 |
2023-03-26 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:46 | ------------------------------------ 2023-03-26 22:30:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265</title></pubsub></data> 2023-03-26 22:30:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-26 22:30:47 | [Mutex] waiting for: [received:nodes:8154ae20-8c04-4afb-a9e8-d6e1bc16467b:localhost] 2023-03-26 22:30:47 | [Mutex] waiting for: [received:nodes:8154ae20-8c04-4afb-a9e8-d6e1bc16467b:localhost] 2023-03-26 22:30:47 | [Mutex] waiting for: [received:nodes:8154ae20-8c04-4afb-a9e8-d6e1bc16467b:localhost] 2023-03-26 22:30:47 | [Mutex] received everything. 2023-03-26 22:30:47 | [Mutex] isItemNotified: received:node:8154ae20-8c04-4afb-a9e8-d6e1bc16467b:localhost:node-2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265:Node 2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265 :: true |
deleteNodes | 1.026s |
2023-03-26 22:30:53 |
2023-03-26 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:53 | ------------------------------------ 2023-03-26 22:30:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265</node></data> 2023-03-26 22:30:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-26 22:30:54 | [Mutex] waiting for: [received:nodes:f1da6c3e-00e5-49bc-b75c-81bd44881b55:localhost] 2023-03-26 22:30:54 | [Mutex] waiting for: [received:nodes:f1da6c3e-00e5-49bc-b75c-81bd44881b55:localhost] 2023-03-26 22:30:54 | [Mutex] waiting for: [received:nodes:f1da6c3e-00e5-49bc-b75c-81bd44881b55:localhost] 2023-03-26 22:30:54 | [Mutex] received everything. 2023-03-26 22:30:54 | [Mutex] isItemNotified: received:node:f1da6c3e-00e5-49bc-b75c-81bd44881b55:localhost:node-2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265:Node 2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265 :: false |
deleteSubnodes | 1.113s |
2023-03-26 22:30:52 |
2023-03-26 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:52 | ------------------------------------ 2023-03-26 22:30:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</node></data> 2023-03-26 22:30:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-26 22:30:53 | [Mutex] waiting for: [received:nodes:546a5dc6-10d8-4067-9c51-381cf8fe24b1:localhost] 2023-03-26 22:30:53 | [Mutex] waiting for: [received:nodes:546a5dc6-10d8-4067-9c51-381cf8fe24b1:localhost] 2023-03-26 22:30:53 | [Mutex] waiting for: [received:nodes:546a5dc6-10d8-4067-9c51-381cf8fe24b1:localhost] 2023-03-26 22:30:53 | [Mutex] waiting for: [received:nodes:546a5dc6-10d8-4067-9c51-381cf8fe24b1:localhost] 2023-03-26 22:30:53 | [Mutex] received everything. 2023-03-26 22:30:53 | [Mutex] isItemNotified: received:node:546a5dc6-10d8-4067-9c51-381cf8fe24b1:localhost:node-d0493e1b-9927-49a9-87cd-f0ee53ee3601:Node d0493e1b-9927-49a9-87cd-f0ee53ee3601 :: false 2023-03-26 22:30:53 | [Mutex] waiting for: [received:nodes:61b8c0f7-d4ea-4bd9-a74b-5e6848090f22:localhost] 2023-03-26 22:30:53 | [Mutex] received everything. 2023-03-26 22:30:53 | [Mutex] isItemNotified: received:node:61b8c0f7-d4ea-4bd9-a74b-5e6848090f22:localhost:node-d0493e1b-9927-49a9-87cd-f0ee53ee3601:Node d0493e1b-9927-49a9-87cd-f0ee53ee3601 :: false |
publishItemsToNodes | 0.185s |
2023-03-26 22:30:50 |
2023-03-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:50 | ------------------------------------ 2023-03-26 22:30:50 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</node><item-id>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</item-id><entry><test>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</test></entry></data> 2023-03-26 22:30:50 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</value></item-id></result> 2023-03-26 22:30:50 | [Mutex] received everything. 2023-03-26 22:30:50 | [Mutex] isItemNotified: published:item:notifieditem-051ef01e-8510-4f15-a34c-a2f84a0c989a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2023-03-26 22:30:50 |
2023-03-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:50 | ------------------------------------ 2023-03-26 22:30:50 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</node><item-id>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</item-id></data> 2023-03-26 22:30:50 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</value></item-id></result> 2023-03-26 22:30:50 | [Mutex] received everything. 2023-03-26 22:30:50 | [Mutex] isItemNotified: retracted:item:notifieditem-051ef01e-8510-4f15-a34c-a2f84a0c989a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.236s |
2023-03-26 22:30:50 |
2023-03-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:50 | ------------------------------------ 2023-03-26 22:30:50 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</node><item-id>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</item-id></data> 2023-03-26 22:30:50 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</value></node><item-id type="text-single" label="Item ID"><value>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</value></item-id><item type="text-multi" label="Item"><value><item id="item-051ef01e-8510-4f15-a34c-a2f84a0c989a"><test>item-051ef01e-8510-4f15-a34c-a2f84a0c989a</test></item></value></item></result> 2023-03-26 22:30:50 | [Mutex] notify: [retrieved:item:item-051ef01e-8510-4f15-a34c-a2f84a0c989a:payload-matches:true:localhost] 2023-03-26 22:30:50 | [Mutex] received everything. 2023-03-26 22:30:50 | [Mutex] isItemNotified: retrieved:item:item-051ef01e-8510-4f15-a34c-a2f84a0c989a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-26 22:30:50 |
2023-03-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:50 | ------------------------------------ 2023-03-26 22:30:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-26 22:30:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</value><value>node-2e7b0a2e-ec7d-4abd-a8c6-b6f23e709265</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-26 22:30:50 |
2023-03-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:50 | ------------------------------------ 2023-03-26 22:30:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d0493e1b-9927-49a9-87cd-f0ee53ee3601)</node-pattern></data> 2023-03-26 22:30:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.114s |
2023-03-26 22:30:48 |
2023-03-26 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:48 | ------------------------------------ 2023-03-26 22:30:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-26 22:30:49 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.171s |
2023-03-26 22:30:50 |
2023-03-26 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-26 22:30:50 | ------------------------------------ 2023-03-26 22:30:50 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d0493e1b-9927-49a9-87cd-f0ee53ee3601</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-26 22:30:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |