Test duration : 9.850s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2020-12-30 22:04:48 |
2020-12-30 22:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:48 | ------------------------------------ 2020-12-30 22:04:48 | [Mutex] waiting for: [configured:node:node-49d1162e-c269-4a56-8198-ccbae153e351:node-1f697f6c-91ad-4958-ba94-28d0c17b5370] 2020-12-30 22:04:49 | [Mutex] received everything. 2020-12-30 22:04:49 | [Mutex] isItemNotified: configured:node:node-49d1162e-c269-4a56-8198-ccbae153e351:node-1f697f6c-91ad-4958-ba94-28d0c17b5370 :: true 2020-12-30 22:04:50 | [Mutex] waiting for: [received:nodes:d4f157e0-b498-4bdd-b0ab-b21356a6fa9f:localhost] 2020-12-30 22:04:50 | [Mutex] received everything. 2020-12-30 22:04:50 | [Mutex] isItemNotified: received:node:d4f157e0-b498-4bdd-b0ab-b21356a6fa9f:localhost:node-49d1162e-c269-4a56-8198-ccbae153e351:Node 49d1162e-c269-4a56-8198-ccbae153e351 :: true 2020-12-30 22:04:50 | [Mutex] waiting for: [received:nodes:29b93902-a104-4cad-b664-9d47311aac1c:localhost] 2020-12-30 22:04:50 | [Mutex] waiting for: [received:nodes:29b93902-a104-4cad-b664-9d47311aac1c:localhost] 2020-12-30 22:04:50 | [Mutex] received everything. 2020-12-30 22:04:50 | [Mutex] isItemNotified: received:node:29b93902-a104-4cad-b664-9d47311aac1c:localhost:node-49d1162e-c269-4a56-8198-ccbae153e351:Node 49d1162e-c269-4a56-8198-ccbae153e351 :: false |
createNodes | 1.373s |
2020-12-30 22:04:46 |
2020-12-30 22:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:46 | ------------------------------------ 2020-12-30 22:04:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-49d1162e-c269-4a56-8198-ccbae153e351</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 49d1162e-c269-4a56-8198-ccbae153e351</title></pubsub></data> 2020-12-30 22:04:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 22:04:47 | [Mutex] waiting for: [received:nodes:951ad29d-9ac7-4093-a2da-053e400511ff:localhost] 2020-12-30 22:04:47 | [Mutex] received everything. 2020-12-30 22:04:47 | [Mutex] isItemNotified: received:node:951ad29d-9ac7-4093-a2da-053e400511ff:localhost:node-49d1162e-c269-4a56-8198-ccbae153e351:Node 49d1162e-c269-4a56-8198-ccbae153e351 :: true |
createSubnodes | 1.025s |
2020-12-30 22:04:47 |
2020-12-30 22:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:47 | ------------------------------------ 2020-12-30 22:04:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1f697f6c-91ad-4958-ba94-28d0c17b5370</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1f697f6c-91ad-4958-ba94-28d0c17b5370</title></pubsub></data> 2020-12-30 22:04:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 22:04:48 | [Mutex] waiting for: [received:nodes:c2b79ecc-e030-4565-8153-0d1c5f176a38:localhost] 2020-12-30 22:04:48 | [Mutex] received everything. 2020-12-30 22:04:48 | [Mutex] isItemNotified: received:node:c2b79ecc-e030-4565-8153-0d1c5f176a38:localhost:node-1f697f6c-91ad-4958-ba94-28d0c17b5370:Node 1f697f6c-91ad-4958-ba94-28d0c17b5370 :: true |
deleteNodes | 1.017s |
2020-12-30 22:04:54 |
2020-12-30 22:04:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:54 | ------------------------------------ 2020-12-30 22:04:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1f697f6c-91ad-4958-ba94-28d0c17b5370</node></data> 2020-12-30 22:04:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 22:04:55 | [Mutex] waiting for: [received:nodes:3385bfb0-144c-49ce-9d09-e5f2020fa062:localhost] 2020-12-30 22:04:55 | [Mutex] received everything. 2020-12-30 22:04:55 | [Mutex] isItemNotified: received:node:3385bfb0-144c-49ce-9d09-e5f2020fa062:localhost:node-1f697f6c-91ad-4958-ba94-28d0c17b5370:Node 1f697f6c-91ad-4958-ba94-28d0c17b5370 :: false |
deleteSubnodes | 1.111s |
2020-12-30 22:04:53 |
2020-12-30 22:04:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:53 | ------------------------------------ 2020-12-30 22:04:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-49d1162e-c269-4a56-8198-ccbae153e351</node></data> 2020-12-30 22:04:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-30 22:04:54 | [Mutex] waiting for: [received:nodes:fa7f9258-9ba8-4957-a8c2-5c39a3713ed9:localhost] 2020-12-30 22:04:54 | [Mutex] received everything. 2020-12-30 22:04:54 | [Mutex] isItemNotified: received:node:fa7f9258-9ba8-4957-a8c2-5c39a3713ed9:localhost:node-49d1162e-c269-4a56-8198-ccbae153e351:Node 49d1162e-c269-4a56-8198-ccbae153e351 :: false 2020-12-30 22:04:54 | [Mutex] waiting for: [received:nodes:ecb62a56-00c2-4255-a6c9-2dc80e342804:localhost] 2020-12-30 22:04:54 | [Mutex] received everything. 2020-12-30 22:04:54 | [Mutex] isItemNotified: received:node:ecb62a56-00c2-4255-a6c9-2dc80e342804:localhost:node-49d1162e-c269-4a56-8198-ccbae153e351:Node 49d1162e-c269-4a56-8198-ccbae153e351 :: false |
publishItemsToNodes | 0.278s |
2020-12-30 22:04:51 |
2020-12-30 22:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:51 | ------------------------------------ 2020-12-30 22:04:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-49d1162e-c269-4a56-8198-ccbae153e351</node><item-id>item-841dd292-e7ed-4bcd-98cc-33e55765a77c</item-id><entry><test>item-841dd292-e7ed-4bcd-98cc-33e55765a77c</test></entry></data> 2020-12-30 22:04:51 | 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-841dd292-e7ed-4bcd-98cc-33e55765a77c</value></item-id></result> 2020-12-30 22:04:51 | [Mutex] received everything. 2020-12-30 22:04:51 | [Mutex] isItemNotified: published:item:notifieditem-841dd292-e7ed-4bcd-98cc-33e55765a77c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.240s |
2020-12-30 22:04:51 |
2020-12-30 22:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:51 | ------------------------------------ 2020-12-30 22:04:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-49d1162e-c269-4a56-8198-ccbae153e351</node><item-id>item-841dd292-e7ed-4bcd-98cc-33e55765a77c</item-id></data> 2020-12-30 22:04:52 | 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-841dd292-e7ed-4bcd-98cc-33e55765a77c</value></item-id></result> 2020-12-30 22:04:52 | [Mutex] received everything. 2020-12-30 22:04:52 | [Mutex] isItemNotified: retracted:item:notifieditem-841dd292-e7ed-4bcd-98cc-33e55765a77c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.271s |
2020-12-30 22:04:51 |
2020-12-30 22:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:51 | ------------------------------------ 2020-12-30 22:04:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-49d1162e-c269-4a56-8198-ccbae153e351</node><item-id>item-841dd292-e7ed-4bcd-98cc-33e55765a77c</item-id></data> 2020-12-30 22:04:51 | 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-49d1162e-c269-4a56-8198-ccbae153e351</value></node><item-id type="text-single" label="Item ID"><value>item-841dd292-e7ed-4bcd-98cc-33e55765a77c</value></item-id><item type="text-multi" label="Item"><value><item id="item-841dd292-e7ed-4bcd-98cc-33e55765a77c"><test>item-841dd292-e7ed-4bcd-98cc-33e55765a77c</test></item></value></item></result> 2020-12-30 22:04:51 | [Mutex] notify: [retrieved:item:item-841dd292-e7ed-4bcd-98cc-33e55765a77c:payload-matches:true:localhost] 2020-12-30 22:04:51 | [Mutex] received everything. 2020-12-30 22:04:51 | [Mutex] isItemNotified: retrieved:item:item-841dd292-e7ed-4bcd-98cc-33e55765a77c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-12-30 22:04:51 |
2020-12-30 22:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:51 | ------------------------------------ 2020-12-30 22:04:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-30 22:04:51 | 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-49d1162e-c269-4a56-8198-ccbae153e351</value><value>node-1f697f6c-91ad-4958-ba94-28d0c17b5370</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-12-30 22:04:51 |
2020-12-30 22:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:51 | ------------------------------------ 2020-12-30 22:04:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-49d1162e-c269-4a56-8198-ccbae153e351)</node-pattern></data> 2020-12-30 22:04:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.106s |
2020-12-30 22:04:50 |
2020-12-30 22:04:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:50 | ------------------------------------ 2020-12-30 22:04:50 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-49d1162e-c269-4a56-8198-ccbae153e351</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-30 22:04:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.292s |
2020-12-30 22:04:52 |
2020-12-30 22:04:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-30 22:04:52 | ------------------------------------ 2020-12-30 22:04:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-49d1162e-c269-4a56-8198-ccbae153e351</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-30 22:04:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |