Test duration : 10.172s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2020-12-21 21:57:13 |
2020-12-21 21:57:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:13 | ------------------------------------ 2020-12-21 21:57:13 | [Mutex] waiting for: [configured:node:node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe:node-b411fc94-7145-4c47-86c5-6eddef06f9e6] 2020-12-21 21:57:13 | [Mutex] received everything. 2020-12-21 21:57:13 | [Mutex] isItemNotified: configured:node:node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe:node-b411fc94-7145-4c47-86c5-6eddef06f9e6 :: true 2020-12-21 21:57:14 | [Mutex] waiting for: [received:nodes:1cad2f85-c637-4983-bcda-e6422a678243:localhost] 2020-12-21 21:57:14 | [Mutex] received everything. 2020-12-21 21:57:14 | [Mutex] isItemNotified: received:node:1cad2f85-c637-4983-bcda-e6422a678243:localhost:node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe:Node a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe :: true 2020-12-21 21:57:14 | [Mutex] waiting for: [received:nodes:22626c9d-0ef3-4a41-906e-efd697f3dadc:localhost] 2020-12-21 21:57:14 | [Mutex] waiting for: [received:nodes:22626c9d-0ef3-4a41-906e-efd697f3dadc:localhost] 2020-12-21 21:57:14 | [Mutex] received everything. 2020-12-21 21:57:14 | [Mutex] isItemNotified: received:node:22626c9d-0ef3-4a41-906e-efd697f3dadc:localhost:node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe:Node a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe :: false |
createNodes | 1.570s |
2020-12-21 21:57:10 |
2020-12-21 21:57:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:10 | ------------------------------------ 2020-12-21 21:57:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</title></pubsub></data> 2020-12-21 21:57:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-21 21:57:12 | [Mutex] waiting for: [received:nodes:b5c8599d-a6e4-4b21-8e0f-0687f8191107:localhost] 2020-12-21 21:57:12 | [Mutex] received everything. 2020-12-21 21:57:12 | [Mutex] isItemNotified: received:node:b5c8599d-a6e4-4b21-8e0f-0687f8191107:localhost:node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe:Node a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe :: true |
createSubnodes | 1.021s |
2020-12-21 21:57:12 |
2020-12-21 21:57:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:12 | ------------------------------------ 2020-12-21 21:57:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b411fc94-7145-4c47-86c5-6eddef06f9e6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b411fc94-7145-4c47-86c5-6eddef06f9e6</title></pubsub></data> 2020-12-21 21:57:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-21 21:57:13 | [Mutex] waiting for: [received:nodes:17b272de-71cb-4e41-a649-56dd4e6ff2ff:localhost] 2020-12-21 21:57:13 | [Mutex] waiting for: [received:nodes:17b272de-71cb-4e41-a649-56dd4e6ff2ff:localhost] 2020-12-21 21:57:13 | [Mutex] received everything. 2020-12-21 21:57:13 | [Mutex] isItemNotified: received:node:17b272de-71cb-4e41-a649-56dd4e6ff2ff:localhost:node-b411fc94-7145-4c47-86c5-6eddef06f9e6:Node b411fc94-7145-4c47-86c5-6eddef06f9e6 :: true |
deleteNodes | 1.019s |
2020-12-21 21:57:18 |
2020-12-21 21:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:18 | ------------------------------------ 2020-12-21 21:57:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b411fc94-7145-4c47-86c5-6eddef06f9e6</node></data> 2020-12-21 21:57:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-21 21:57:19 | [Mutex] waiting for: [received:nodes:7e13e003-fd59-49ab-a527-29183c89152d:localhost] 2020-12-21 21:57:19 | [Mutex] received everything. 2020-12-21 21:57:19 | [Mutex] isItemNotified: received:node:7e13e003-fd59-49ab-a527-29183c89152d:localhost:node-b411fc94-7145-4c47-86c5-6eddef06f9e6:Node b411fc94-7145-4c47-86c5-6eddef06f9e6 :: false |
deleteSubnodes | 1.157s |
2020-12-21 21:57:17 |
2020-12-21 21:57:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:17 | ------------------------------------ 2020-12-21 21:57:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</node></data> 2020-12-21 21:57:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-21 21:57:18 | [Mutex] waiting for: [received:nodes:4487e2d1-25ba-40ca-b02a-892cb0b2f37f:localhost] 2020-12-21 21:57:18 | [Mutex] received everything. 2020-12-21 21:57:18 | [Mutex] isItemNotified: received:node:4487e2d1-25ba-40ca-b02a-892cb0b2f37f:localhost:node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe:Node a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe :: false 2020-12-21 21:57:18 | [Mutex] waiting for: [received:nodes:fdc81ca0-725c-4f2c-a70f-2f11eacd685e:localhost] 2020-12-21 21:57:18 | [Mutex] received everything. 2020-12-21 21:57:18 | [Mutex] isItemNotified: received:node:fdc81ca0-725c-4f2c-a70f-2f11eacd685e:localhost:node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe:Node a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe :: false |
publishItemsToNodes | 0.262s |
2020-12-21 21:57:15 |
2020-12-21 21:57:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:15 | ------------------------------------ 2020-12-21 21:57:15 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</node><item-id>item-b93dee27-a614-4a49-ae20-100d1f714df9</item-id><entry><test>item-b93dee27-a614-4a49-ae20-100d1f714df9</test></entry></data> 2020-12-21 21:57:15 | 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-b93dee27-a614-4a49-ae20-100d1f714df9</value></item-id></result> 2020-12-21 21:57:15 | [Mutex] waiting for: [published:item:notifieditem-b93dee27-a614-4a49-ae20-100d1f714df9:admin@test-domain.com] 2020-12-21 21:57:15 | [Mutex] received everything. 2020-12-21 21:57:15 | [Mutex] isItemNotified: published:item:notifieditem-b93dee27-a614-4a49-ae20-100d1f714df9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.328s |
2020-12-21 21:57:16 |
2020-12-21 21:57:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:16 | ------------------------------------ 2020-12-21 21:57:16 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</node><item-id>item-b93dee27-a614-4a49-ae20-100d1f714df9</item-id></data> 2020-12-21 21:57:16 | 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-b93dee27-a614-4a49-ae20-100d1f714df9</value></item-id></result> 2020-12-21 21:57:16 | [Mutex] received everything. 2020-12-21 21:57:16 | [Mutex] isItemNotified: retracted:item:notifieditem-b93dee27-a614-4a49-ae20-100d1f714df9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.285s |
2020-12-21 21:57:15 |
2020-12-21 21:57:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:15 | ------------------------------------ 2020-12-21 21:57:15 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</node><item-id>item-b93dee27-a614-4a49-ae20-100d1f714df9</item-id></data> 2020-12-21 21:57:16 | 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-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</value></node><item-id label="Item ID" type="text-single"><value>item-b93dee27-a614-4a49-ae20-100d1f714df9</value></item-id><item label="Item" type="text-multi"><value><item id="item-b93dee27-a614-4a49-ae20-100d1f714df9"><test>item-b93dee27-a614-4a49-ae20-100d1f714df9</test></item></value></item></result> 2020-12-21 21:57:16 | [Mutex] notify: [retrieved:item:item-b93dee27-a614-4a49-ae20-100d1f714df9:payload-matches:true:localhost] 2020-12-21 21:57:16 | [Mutex] received everything. 2020-12-21 21:57:16 | [Mutex] isItemNotified: retrieved:item:item-b93dee27-a614-4a49-ae20-100d1f714df9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2020-12-21 21:57:16 |
2020-12-21 21:57:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:16 | ------------------------------------ 2020-12-21 21:57:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-21 21:57:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-b411fc94-7145-4c47-86c5-6eddef06f9e6</value><value>test</value><value>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-12-21 21:57:16 |
2020-12-21 21:57:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:16 | ------------------------------------ 2020-12-21 21:57:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe)</node-pattern></data> 2020-12-21 21:57:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.096s |
2020-12-21 21:57:14 |
2020-12-21 21:57:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:14 | ------------------------------------ 2020-12-21 21:57:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-21 21:57:14 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.291s |
2020-12-21 21:57:16 |
2020-12-21 21:57:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-21 21:57:16 | ------------------------------------ 2020-12-21 21:57:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a8bc5b33-1ffe-4f47-83a1-46b6942cfcbe</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-21 21:57:16 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |