Test duration : 9.923s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2020-09-13 23:10:08 |
2020-09-13 23:10:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:08 | ------------------------------------ 2020-09-13 23:10:08 | [Mutex] waiting for: [configured:node:node-1dc81a87-18d8-4be1-b985-c8f369d34a69:node-8faf51de-e044-45f8-8561-cf221e83728e] 2020-09-13 23:10:08 | [Mutex] received everything. 2020-09-13 23:10:08 | [Mutex] isItemNotified: configured:node:node-1dc81a87-18d8-4be1-b985-c8f369d34a69:node-8faf51de-e044-45f8-8561-cf221e83728e :: true 2020-09-13 23:10:09 | [Mutex] waiting for: [received:nodes:121de4b3-c88a-4b8c-b80a-8428aa61822a:localhost] 2020-09-13 23:10:09 | [Mutex] received everything. 2020-09-13 23:10:09 | [Mutex] isItemNotified: received:node:121de4b3-c88a-4b8c-b80a-8428aa61822a:localhost:node-1dc81a87-18d8-4be1-b985-c8f369d34a69:Node 1dc81a87-18d8-4be1-b985-c8f369d34a69 :: true 2020-09-13 23:10:09 | [Mutex] waiting for: [received:nodes:693f1634-fd0f-447a-a632-c9e285c35d14:localhost] 2020-09-13 23:10:09 | [Mutex] received everything. 2020-09-13 23:10:09 | [Mutex] isItemNotified: received:node:693f1634-fd0f-447a-a632-c9e285c35d14:localhost:node-1dc81a87-18d8-4be1-b985-c8f369d34a69:Node 1dc81a87-18d8-4be1-b985-c8f369d34a69 :: false |
createNodes | 1.402s |
2020-09-13 23:10:06 |
2020-09-13 23:10:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:06 | ------------------------------------ 2020-09-13 23:10:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1dc81a87-18d8-4be1-b985-c8f369d34a69</title></pubsub></data> 2020-09-13 23:10:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-13 23:10:07 | [Mutex] waiting for: [received:nodes:e53a0aa5-64c6-4dda-847d-21de6ee42ab7:localhost] 2020-09-13 23:10:07 | [Mutex] received everything. 2020-09-13 23:10:07 | [Mutex] isItemNotified: received:node:e53a0aa5-64c6-4dda-847d-21de6ee42ab7:localhost:node-1dc81a87-18d8-4be1-b985-c8f369d34a69:Node 1dc81a87-18d8-4be1-b985-c8f369d34a69 :: true |
createSubnodes | 1.028s |
2020-09-13 23:10:07 |
2020-09-13 23:10:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:07 | ------------------------------------ 2020-09-13 23:10:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8faf51de-e044-45f8-8561-cf221e83728e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8faf51de-e044-45f8-8561-cf221e83728e</title></pubsub></data> 2020-09-13 23:10:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-13 23:10:08 | [Mutex] waiting for: [received:nodes:45337ad8-c06f-444b-bdcb-f4bc2ac67193:localhost] 2020-09-13 23:10:08 | [Mutex] received everything. 2020-09-13 23:10:08 | [Mutex] isItemNotified: received:node:45337ad8-c06f-444b-bdcb-f4bc2ac67193:localhost:node-8faf51de-e044-45f8-8561-cf221e83728e:Node 8faf51de-e044-45f8-8561-cf221e83728e :: true |
deleteNodes | 1.024s |
2020-09-13 23:10:14 |
2020-09-13 23:10:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:14 | ------------------------------------ 2020-09-13 23:10:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8faf51de-e044-45f8-8561-cf221e83728e</node></data> 2020-09-13 23:10:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-13 23:10:15 | [Mutex] waiting for: [received:nodes:fb931c61-d7b1-47c5-b1b0-aa8ab0968a2c:localhost] 2020-09-13 23:10:15 | [Mutex] received everything. 2020-09-13 23:10:15 | [Mutex] isItemNotified: received:node:fb931c61-d7b1-47c5-b1b0-aa8ab0968a2c:localhost:node-8faf51de-e044-45f8-8561-cf221e83728e:Node 8faf51de-e044-45f8-8561-cf221e83728e :: false |
deleteSubnodes | 1.136s |
2020-09-13 23:10:12 |
2020-09-13 23:10:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:12 | ------------------------------------ 2020-09-13 23:10:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</node></data> 2020-09-13 23:10:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-13 23:10:14 | [Mutex] waiting for: [received:nodes:40057c6a-1895-488b-851f-50fa0ee3190f:localhost] 2020-09-13 23:10:14 | [Mutex] received everything. 2020-09-13 23:10:14 | [Mutex] isItemNotified: received:node:40057c6a-1895-488b-851f-50fa0ee3190f:localhost:node-1dc81a87-18d8-4be1-b985-c8f369d34a69:Node 1dc81a87-18d8-4be1-b985-c8f369d34a69 :: false 2020-09-13 23:10:14 | [Mutex] waiting for: [received:nodes:6c67ddb1-79dd-4fdf-b4d2-0471f1157e66:localhost] 2020-09-13 23:10:14 | [Mutex] received everything. 2020-09-13 23:10:14 | [Mutex] isItemNotified: received:node:6c67ddb1-79dd-4fdf-b4d2-0471f1157e66:localhost:node-1dc81a87-18d8-4be1-b985-c8f369d34a69:Node 1dc81a87-18d8-4be1-b985-c8f369d34a69 :: false |
publishItemsToNodes | 0.242s |
2020-09-13 23:10:10 |
2020-09-13 23:10:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:10 | ------------------------------------ 2020-09-13 23:10:10 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</node><item-id>item-8a16b084-6914-4018-b47b-0c02f57f2c9e</item-id><entry><test>item-8a16b084-6914-4018-b47b-0c02f57f2c9e</test></entry></data> 2020-09-13 23:10:10 | 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-8a16b084-6914-4018-b47b-0c02f57f2c9e</value></item-id></result> 2020-09-13 23:10:10 | [Mutex] received everything. 2020-09-13 23:10:10 | [Mutex] isItemNotified: published:item:notifieditem-8a16b084-6914-4018-b47b-0c02f57f2c9e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.324s |
2020-09-13 23:10:11 |
2020-09-13 23:10:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:11 | ------------------------------------ 2020-09-13 23:10:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</node><item-id>item-8a16b084-6914-4018-b47b-0c02f57f2c9e</item-id></data> 2020-09-13 23:10:11 | 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-8a16b084-6914-4018-b47b-0c02f57f2c9e</value></item-id></result> 2020-09-13 23:10:11 | [Mutex] received everything. 2020-09-13 23:10:11 | [Mutex] isItemNotified: retracted:item:notifieditem-8a16b084-6914-4018-b47b-0c02f57f2c9e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.183s |
2020-09-13 23:10:10 |
2020-09-13 23:10:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:10 | ------------------------------------ 2020-09-13 23:10:10 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</node><item-id>item-8a16b084-6914-4018-b47b-0c02f57f2c9e</item-id></data> 2020-09-13 23:10:11 | 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-1dc81a87-18d8-4be1-b985-c8f369d34a69</value></node><item-id label="Item ID" type="text-single"><value>item-8a16b084-6914-4018-b47b-0c02f57f2c9e</value></item-id><item label="Item" type="text-multi"><value><item id="item-8a16b084-6914-4018-b47b-0c02f57f2c9e"><test>item-8a16b084-6914-4018-b47b-0c02f57f2c9e</test></item></value></item></result> 2020-09-13 23:10:11 | [Mutex] notify: [retrieved:item:item-8a16b084-6914-4018-b47b-0c02f57f2c9e:payload-matches:true:localhost] 2020-09-13 23:10:11 | [Mutex] received everything. 2020-09-13 23:10:11 | [Mutex] isItemNotified: retrieved:item:item-8a16b084-6914-4018-b47b-0c02f57f2c9e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-09-13 23:10:11 |
2020-09-13 23:10:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:11 | ------------------------------------ 2020-09-13 23:10:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-13 23:10:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</value><value>test</value><value>node-8faf51de-e044-45f8-8561-cf221e83728e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-09-13 23:10:11 |
2020-09-13 23:10:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:11 | ------------------------------------ 2020-09-13 23:10:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1dc81a87-18d8-4be1-b985-c8f369d34a69)</node-pattern></data> 2020-09-13 23:10:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.120s |
2020-09-13 23:10:09 |
2020-09-13 23:10:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:09 | ------------------------------------ 2020-09-13 23:10:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-13 23:10:09 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.287s |
2020-09-13 23:10:11 |
2020-09-13 23:10:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-13 23:10:11 | ------------------------------------ 2020-09-13 23:10:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1dc81a87-18d8-4be1-b985-c8f369d34a69</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-13 23:10:11 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |