Test duration : 9.941s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2020-09-18 23:36:24 |
2020-09-18 23:36:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:24 | ------------------------------------ 2020-09-18 23:36:24 | [Mutex] waiting for: [configured:node:node-ef4eaf77-b70f-4987-ae98-ab14594583d5:node-19901811-589d-42a5-985e-856be7200529] 2020-09-18 23:36:24 | [Mutex] received everything. 2020-09-18 23:36:24 | [Mutex] isItemNotified: configured:node:node-ef4eaf77-b70f-4987-ae98-ab14594583d5:node-19901811-589d-42a5-985e-856be7200529 :: true 2020-09-18 23:36:25 | [Mutex] waiting for: [received:nodes:dcd85a2d-fb77-4b49-9be3-1d4f8e57a40c:localhost] 2020-09-18 23:36:25 | [Mutex] received everything. 2020-09-18 23:36:25 | [Mutex] isItemNotified: received:node:dcd85a2d-fb77-4b49-9be3-1d4f8e57a40c:localhost:node-ef4eaf77-b70f-4987-ae98-ab14594583d5:Node ef4eaf77-b70f-4987-ae98-ab14594583d5 :: true 2020-09-18 23:36:25 | [Mutex] waiting for: [received:nodes:2528188a-97ca-42a7-8ef4-e54a2614e3eb:localhost] 2020-09-18 23:36:25 | [Mutex] received everything. 2020-09-18 23:36:25 | [Mutex] isItemNotified: received:node:2528188a-97ca-42a7-8ef4-e54a2614e3eb:localhost:node-ef4eaf77-b70f-4987-ae98-ab14594583d5:Node ef4eaf77-b70f-4987-ae98-ab14594583d5 :: false |
createNodes | 1.358s |
2020-09-18 23:36:21 |
2020-09-18 23:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:21 | ------------------------------------ 2020-09-18 23:36:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ef4eaf77-b70f-4987-ae98-ab14594583d5</title></pubsub></data> 2020-09-18 23:36:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 23:36:23 | [Mutex] waiting for: [received:nodes:5f786698-0a49-4cbd-9624-12d26652a190:localhost] 2020-09-18 23:36:23 | [Mutex] received everything. 2020-09-18 23:36:23 | [Mutex] isItemNotified: received:node:5f786698-0a49-4cbd-9624-12d26652a190:localhost:node-ef4eaf77-b70f-4987-ae98-ab14594583d5:Node ef4eaf77-b70f-4987-ae98-ab14594583d5 :: true |
createSubnodes | 1.029s |
2020-09-18 23:36:23 |
2020-09-18 23:36:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:23 | ------------------------------------ 2020-09-18 23:36:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-19901811-589d-42a5-985e-856be7200529</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 19901811-589d-42a5-985e-856be7200529</title></pubsub></data> 2020-09-18 23:36:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 23:36:24 | [Mutex] waiting for: [received:nodes:03a0729a-05a9-4d08-917a-de2173a61c85:localhost] 2020-09-18 23:36:24 | [Mutex] received everything. 2020-09-18 23:36:24 | [Mutex] isItemNotified: received:node:03a0729a-05a9-4d08-917a-de2173a61c85:localhost:node-19901811-589d-42a5-985e-856be7200529:Node 19901811-589d-42a5-985e-856be7200529 :: true |
deleteNodes | 1.025s |
2020-09-18 23:36:29 |
2020-09-18 23:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:29 | ------------------------------------ 2020-09-18 23:36:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-19901811-589d-42a5-985e-856be7200529</node></data> 2020-09-18 23:36:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 23:36:30 | [Mutex] waiting for: [received:nodes:3dc01623-ea17-452d-b470-6aab7ad6c288:localhost] 2020-09-18 23:36:30 | [Mutex] received everything. 2020-09-18 23:36:30 | [Mutex] isItemNotified: received:node:3dc01623-ea17-452d-b470-6aab7ad6c288:localhost:node-19901811-589d-42a5-985e-856be7200529:Node 19901811-589d-42a5-985e-856be7200529 :: false |
deleteSubnodes | 1.130s |
2020-09-18 23:36:28 |
2020-09-18 23:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:28 | ------------------------------------ 2020-09-18 23:36:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</node></data> 2020-09-18 23:36:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 23:36:29 | [Mutex] waiting for: [received:nodes:8215767e-6b5e-4bab-9c99-8aab6bd1c11e:localhost] 2020-09-18 23:36:29 | [Mutex] received everything. 2020-09-18 23:36:29 | [Mutex] isItemNotified: received:node:8215767e-6b5e-4bab-9c99-8aab6bd1c11e:localhost:node-ef4eaf77-b70f-4987-ae98-ab14594583d5:Node ef4eaf77-b70f-4987-ae98-ab14594583d5 :: false 2020-09-18 23:36:29 | [Mutex] waiting for: [received:nodes:9e5adbb2-5974-4dad-9fc5-b5070011f5b8:localhost] 2020-09-18 23:36:29 | [Mutex] received everything. 2020-09-18 23:36:29 | [Mutex] isItemNotified: received:node:9e5adbb2-5974-4dad-9fc5-b5070011f5b8:localhost:node-ef4eaf77-b70f-4987-ae98-ab14594583d5:Node ef4eaf77-b70f-4987-ae98-ab14594583d5 :: false |
publishItemsToNodes | 0.252s |
2020-09-18 23:36:26 |
2020-09-18 23:36:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:26 | ------------------------------------ 2020-09-18 23:36:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</node><item-id>item-28e91121-d2ae-403c-b198-dea7b12f6eb4</item-id><entry><test>item-28e91121-d2ae-403c-b198-dea7b12f6eb4</test></entry></data> 2020-09-18 23:36:26 | 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-28e91121-d2ae-403c-b198-dea7b12f6eb4</value></item-id></result> 2020-09-18 23:36:26 | [Mutex] received everything. 2020-09-18 23:36:26 | [Mutex] isItemNotified: published:item:notifieditem-28e91121-d2ae-403c-b198-dea7b12f6eb4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.260s |
2020-09-18 23:36:27 |
2020-09-18 23:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:27 | ------------------------------------ 2020-09-18 23:36:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</node><item-id>item-28e91121-d2ae-403c-b198-dea7b12f6eb4</item-id></data> 2020-09-18 23:36:27 | 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-28e91121-d2ae-403c-b198-dea7b12f6eb4</value></item-id></result> 2020-09-18 23:36:27 | [Mutex] received everything. 2020-09-18 23:36:27 | [Mutex] isItemNotified: retracted:item:notifieditem-28e91121-d2ae-403c-b198-dea7b12f6eb4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.260s |
2020-09-18 23:36:26 |
2020-09-18 23:36:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:26 | ------------------------------------ 2020-09-18 23:36:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</node><item-id>item-28e91121-d2ae-403c-b198-dea7b12f6eb4</item-id></data> 2020-09-18 23:36:27 | 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-ef4eaf77-b70f-4987-ae98-ab14594583d5</value></node><item-id label="Item ID" type="text-single"><value>item-28e91121-d2ae-403c-b198-dea7b12f6eb4</value></item-id><item label="Item" type="text-multi"><value><item id="item-28e91121-d2ae-403c-b198-dea7b12f6eb4"><test>item-28e91121-d2ae-403c-b198-dea7b12f6eb4</test></item></value></item></result> 2020-09-18 23:36:27 | [Mutex] notify: [retrieved:item:item-28e91121-d2ae-403c-b198-dea7b12f6eb4:payload-matches:true:localhost] 2020-09-18 23:36:27 | [Mutex] received everything. 2020-09-18 23:36:27 | [Mutex] isItemNotified: retrieved:item:item-28e91121-d2ae-403c-b198-dea7b12f6eb4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-18 23:36:27 |
2020-09-18 23:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:27 | ------------------------------------ 2020-09-18 23:36:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-18 23:36:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</value><value>node-19901811-589d-42a5-985e-856be7200529</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2020-09-18 23:36:27 |
2020-09-18 23:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:27 | ------------------------------------ 2020-09-18 23:36:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ef4eaf77-b70f-4987-ae98-ab14594583d5)</node-pattern></data> 2020-09-18 23:36:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.122s |
2020-09-18 23:36:25 |
2020-09-18 23:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:25 | ------------------------------------ 2020-09-18 23:36:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 23:36:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.267s |
2020-09-18 23:36:27 |
2020-09-18 23:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 23:36:27 | ------------------------------------ 2020-09-18 23:36:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ef4eaf77-b70f-4987-ae98-ab14594583d5</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 23:36:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |