Test duration : 9.566s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.088s |
2022-05-26 22:50:19 |
2022-05-26 22:50:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:19 | ------------------------------------ 2022-05-26 22:50:19 | [Mutex] waiting for: [configured:node:node-769cc49a-98bb-4cd4-af50-7066bfdeda5e:node-9d946de5-d18c-4fa1-bcd5-50d42f9a56d3] 2022-05-26 22:50:19 | [Mutex] received everything. 2022-05-26 22:50:19 | [Mutex] isItemNotified: configured:node:node-769cc49a-98bb-4cd4-af50-7066bfdeda5e:node-9d946de5-d18c-4fa1-bcd5-50d42f9a56d3 :: true 2022-05-26 22:50:20 | [Mutex] waiting for: [received:nodes:d475ebe6-15c6-4ad0-9c54-0975adf102d5:localhost] 2022-05-26 22:50:20 | [Mutex] received everything. 2022-05-26 22:50:20 | [Mutex] isItemNotified: received:node:d475ebe6-15c6-4ad0-9c54-0975adf102d5:localhost:node-769cc49a-98bb-4cd4-af50-7066bfdeda5e:Node 769cc49a-98bb-4cd4-af50-7066bfdeda5e :: true 2022-05-26 22:50:20 | [Mutex] waiting for: [received:nodes:3a81594c-377d-46a1-ad51-e3df57ef1186:localhost] 2022-05-26 22:50:20 | [Mutex] waiting for: [received:nodes:3a81594c-377d-46a1-ad51-e3df57ef1186:localhost] 2022-05-26 22:50:20 | [Mutex] received everything. 2022-05-26 22:50:20 | [Mutex] isItemNotified: received:node:3a81594c-377d-46a1-ad51-e3df57ef1186:localhost:node-769cc49a-98bb-4cd4-af50-7066bfdeda5e:Node 769cc49a-98bb-4cd4-af50-7066bfdeda5e :: false |
createNodes | 1.414s |
2022-05-26 22:50:17 |
2022-05-26 22:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:17 | ------------------------------------ 2022-05-26 22:50:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 769cc49a-98bb-4cd4-af50-7066bfdeda5e</title></pubsub></data> 2022-05-26 22:50:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 22:50:18 | [Mutex] waiting for: [received:nodes:e6b3837f-47e4-4685-a253-e5f4209251b1:localhost] 2022-05-26 22:50:18 | [Mutex] received everything. 2022-05-26 22:50:18 | [Mutex] isItemNotified: received:node:e6b3837f-47e4-4685-a253-e5f4209251b1:localhost:node-769cc49a-98bb-4cd4-af50-7066bfdeda5e:Node 769cc49a-98bb-4cd4-af50-7066bfdeda5e :: true |
createSubnodes | 1.030s |
2022-05-26 22:50:18 |
2022-05-26 22:50:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:18 | ------------------------------------ 2022-05-26 22:50:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9d946de5-d18c-4fa1-bcd5-50d42f9a56d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9d946de5-d18c-4fa1-bcd5-50d42f9a56d3</title></pubsub></data> 2022-05-26 22:50:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 22:50:19 | [Mutex] waiting for: [received:nodes:8908f985-7ecf-458f-bad2-bfd88b6b8820:localhost] 2022-05-26 22:50:19 | [Mutex] waiting for: [received:nodes:8908f985-7ecf-458f-bad2-bfd88b6b8820:localhost] 2022-05-26 22:50:19 | [Mutex] received everything. 2022-05-26 22:50:19 | [Mutex] isItemNotified: received:node:8908f985-7ecf-458f-bad2-bfd88b6b8820:localhost:node-9d946de5-d18c-4fa1-bcd5-50d42f9a56d3:Node 9d946de5-d18c-4fa1-bcd5-50d42f9a56d3 :: true |
deleteNodes | 1.018s |
2022-05-26 22:50:25 |
2022-05-26 22:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:25 | ------------------------------------ 2022-05-26 22:50:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9d946de5-d18c-4fa1-bcd5-50d42f9a56d3</node></data> 2022-05-26 22:50:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 22:50:26 | [Mutex] waiting for: [received:nodes:9562a6af-edf0-4e12-89fb-89ec84d77cab:localhost] 2022-05-26 22:50:26 | [Mutex] waiting for: [received:nodes:9562a6af-edf0-4e12-89fb-89ec84d77cab:localhost] 2022-05-26 22:50:26 | [Mutex] received everything. 2022-05-26 22:50:26 | [Mutex] isItemNotified: received:node:9562a6af-edf0-4e12-89fb-89ec84d77cab:localhost:node-9d946de5-d18c-4fa1-bcd5-50d42f9a56d3:Node 9d946de5-d18c-4fa1-bcd5-50d42f9a56d3 :: false |
deleteSubnodes | 1.148s |
2022-05-26 22:50:24 |
2022-05-26 22:50:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:24 | ------------------------------------ 2022-05-26 22:50:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</node></data> 2022-05-26 22:50:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 22:50:25 | [Mutex] waiting for: [received:nodes:e362ded0-da6c-4c67-9db9-aec83ba77ec5:localhost] 2022-05-26 22:50:25 | [Mutex] waiting for: [received:nodes:e362ded0-da6c-4c67-9db9-aec83ba77ec5:localhost] 2022-05-26 22:50:25 | [Mutex] waiting for: [received:nodes:e362ded0-da6c-4c67-9db9-aec83ba77ec5:localhost] 2022-05-26 22:50:25 | [Mutex] received everything. 2022-05-26 22:50:25 | [Mutex] isItemNotified: received:node:e362ded0-da6c-4c67-9db9-aec83ba77ec5:localhost:node-769cc49a-98bb-4cd4-af50-7066bfdeda5e:Node 769cc49a-98bb-4cd4-af50-7066bfdeda5e :: false 2022-05-26 22:50:25 | [Mutex] waiting for: [received:nodes:2cadac08-6e86-492b-ab68-f7589708b827:localhost] 2022-05-26 22:50:25 | [Mutex] received everything. 2022-05-26 22:50:25 | [Mutex] isItemNotified: received:node:2cadac08-6e86-492b-ab68-f7589708b827:localhost:node-769cc49a-98bb-4cd4-af50-7066bfdeda5e:Node 769cc49a-98bb-4cd4-af50-7066bfdeda5e :: false |
publishItemsToNodes | 0.222s |
2022-05-26 22:50:22 |
2022-05-26 22:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:22 | ------------------------------------ 2022-05-26 22:50:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</node><item-id>item-f4c6d280-2501-4784-85d5-4ae357e8f53e</item-id><entry><test>item-f4c6d280-2501-4784-85d5-4ae357e8f53e</test></entry></data> 2022-05-26 22:50:22 | 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-f4c6d280-2501-4784-85d5-4ae357e8f53e</value></item-id></result> 2022-05-26 22:50:22 | [Mutex] received everything. 2022-05-26 22:50:22 | [Mutex] isItemNotified: published:item:notifieditem-f4c6d280-2501-4784-85d5-4ae357e8f53e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.292s |
2022-05-26 22:50:22 |
2022-05-26 22:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:22 | ------------------------------------ 2022-05-26 22:50:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</node><item-id>item-f4c6d280-2501-4784-85d5-4ae357e8f53e</item-id></data> 2022-05-26 22:50:22 | 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-f4c6d280-2501-4784-85d5-4ae357e8f53e</value></item-id></result> 2022-05-26 22:50:22 | [Mutex] received everything. 2022-05-26 22:50:22 | [Mutex] isItemNotified: retracted:item:notifieditem-f4c6d280-2501-4784-85d5-4ae357e8f53e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.277s |
2022-05-26 22:50:22 |
2022-05-26 22:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:22 | ------------------------------------ 2022-05-26 22:50:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</node><item-id>item-f4c6d280-2501-4784-85d5-4ae357e8f53e</item-id></data> 2022-05-26 22:50:22 | 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-769cc49a-98bb-4cd4-af50-7066bfdeda5e</value></node><item-id label="Item ID" type="text-single"><value>item-f4c6d280-2501-4784-85d5-4ae357e8f53e</value></item-id><item label="Item" type="text-multi"><value><item id="item-f4c6d280-2501-4784-85d5-4ae357e8f53e"><test>item-f4c6d280-2501-4784-85d5-4ae357e8f53e</test></item></value></item></result> 2022-05-26 22:50:22 | [Mutex] notify: [retrieved:item:item-f4c6d280-2501-4784-85d5-4ae357e8f53e:payload-matches:true:localhost] 2022-05-26 22:50:22 | [Mutex] received everything. 2022-05-26 22:50:22 | [Mutex] isItemNotified: retrieved:item:item-f4c6d280-2501-4784-85d5-4ae357e8f53e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-26 22:50:22 |
2022-05-26 22:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:22 | ------------------------------------ 2022-05-26 22:50:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-26 22:50:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</value><value>test</value><value>node-9d946de5-d18c-4fa1-bcd5-50d42f9a56d3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-05-26 22:50:22 |
2022-05-26 22:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:22 | ------------------------------------ 2022-05-26 22:50:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-769cc49a-98bb-4cd4-af50-7066bfdeda5e)</node-pattern></data> 2022-05-26 22:50:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.122s |
2022-05-26 22:50:20 |
2022-05-26 22:50:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:20 | ------------------------------------ 2022-05-26 22:50:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-26 22:50:21 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.178s |
2022-05-26 22:50:22 |
2022-05-26 22:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 22:50:22 | ------------------------------------ 2022-05-26 22:50:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-769cc49a-98bb-4cd4-af50-7066bfdeda5e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-26 22:50:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |