Test duration : 10.240s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2020-11-19 21:34:14 |
2020-11-19 21:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:14 | ------------------------------------ 2020-11-19 21:34:14 | [Mutex] waiting for: [configured:node:node-8d22e0fb-1d38-40e7-8506-534a772c9f1f:node-e713d6a1-be9f-40cb-9532-8e390addff6d] 2020-11-19 21:34:14 | [Mutex] received everything. 2020-11-19 21:34:14 | [Mutex] isItemNotified: configured:node:node-8d22e0fb-1d38-40e7-8506-534a772c9f1f:node-e713d6a1-be9f-40cb-9532-8e390addff6d :: true 2020-11-19 21:34:15 | [Mutex] waiting for: [received:nodes:f0e63e04-76fe-4b04-a59c-b1cadfaa0d64:localhost] 2020-11-19 21:34:15 | [Mutex] received everything. 2020-11-19 21:34:15 | [Mutex] isItemNotified: received:node:f0e63e04-76fe-4b04-a59c-b1cadfaa0d64:localhost:node-8d22e0fb-1d38-40e7-8506-534a772c9f1f:Node 8d22e0fb-1d38-40e7-8506-534a772c9f1f :: true 2020-11-19 21:34:15 | [Mutex] waiting for: [received:nodes:bc2ac6b3-6a31-4d2c-8c1c-dde8ab73bbcb:localhost] 2020-11-19 21:34:15 | [Mutex] waiting for: [received:nodes:bc2ac6b3-6a31-4d2c-8c1c-dde8ab73bbcb:localhost] 2020-11-19 21:34:15 | [Mutex] received everything. 2020-11-19 21:34:15 | [Mutex] isItemNotified: received:node:bc2ac6b3-6a31-4d2c-8c1c-dde8ab73bbcb:localhost:node-8d22e0fb-1d38-40e7-8506-534a772c9f1f:Node 8d22e0fb-1d38-40e7-8506-534a772c9f1f :: false |
createNodes | 1.670s |
2020-11-19 21:34:11 |
2020-11-19 21:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:11 | ------------------------------------ 2020-11-19 21:34:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8d22e0fb-1d38-40e7-8506-534a772c9f1f</title></pubsub></data> 2020-11-19 21:34:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:34:13 | [Mutex] waiting for: [received:nodes:61dc84fb-3c60-4e17-a4ef-c511d0a3cc8b:localhost] 2020-11-19 21:34:13 | [Mutex] received everything. 2020-11-19 21:34:13 | [Mutex] isItemNotified: received:node:61dc84fb-3c60-4e17-a4ef-c511d0a3cc8b:localhost:node-8d22e0fb-1d38-40e7-8506-534a772c9f1f:Node 8d22e0fb-1d38-40e7-8506-534a772c9f1f :: true |
createSubnodes | 1.025s |
2020-11-19 21:34:13 |
2020-11-19 21:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:13 | ------------------------------------ 2020-11-19 21:34:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e713d6a1-be9f-40cb-9532-8e390addff6d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e713d6a1-be9f-40cb-9532-8e390addff6d</title></pubsub></data> 2020-11-19 21:34:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:34:14 | [Mutex] waiting for: [received:nodes:f38bd9e8-c89e-42b9-b1de-c3e057b96fd8:localhost] 2020-11-19 21:34:14 | [Mutex] received everything. 2020-11-19 21:34:14 | [Mutex] isItemNotified: received:node:f38bd9e8-c89e-42b9-b1de-c3e057b96fd8:localhost:node-e713d6a1-be9f-40cb-9532-8e390addff6d:Node e713d6a1-be9f-40cb-9532-8e390addff6d :: true |
deleteNodes | 1.022s |
2020-11-19 21:34:19 |
2020-11-19 21:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:19 | ------------------------------------ 2020-11-19 21:34:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e713d6a1-be9f-40cb-9532-8e390addff6d</node></data> 2020-11-19 21:34:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:34:20 | [Mutex] waiting for: [received:nodes:ecea945b-0fe7-480c-aeca-35c8efd73e12:localhost] 2020-11-19 21:34:20 | [Mutex] received everything. 2020-11-19 21:34:20 | [Mutex] isItemNotified: received:node:ecea945b-0fe7-480c-aeca-35c8efd73e12:localhost:node-e713d6a1-be9f-40cb-9532-8e390addff6d:Node e713d6a1-be9f-40cb-9532-8e390addff6d :: false |
deleteSubnodes | 1.144s |
2020-11-19 21:34:18 |
2020-11-19 21:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:18 | ------------------------------------ 2020-11-19 21:34:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</node></data> 2020-11-19 21:34:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:34:19 | [Mutex] waiting for: [received:nodes:c5029e84-14b9-4333-b9cf-779d661d4e18:localhost] 2020-11-19 21:34:19 | [Mutex] received everything. 2020-11-19 21:34:19 | [Mutex] isItemNotified: received:node:c5029e84-14b9-4333-b9cf-779d661d4e18:localhost:node-8d22e0fb-1d38-40e7-8506-534a772c9f1f:Node 8d22e0fb-1d38-40e7-8506-534a772c9f1f :: false 2020-11-19 21:34:19 | [Mutex] waiting for: [received:nodes:dca3bea0-14fb-41e9-9666-5f177661fd9e:localhost] 2020-11-19 21:34:19 | [Mutex] received everything. 2020-11-19 21:34:19 | [Mutex] isItemNotified: received:node:dca3bea0-14fb-41e9-9666-5f177661fd9e:localhost:node-8d22e0fb-1d38-40e7-8506-534a772c9f1f:Node 8d22e0fb-1d38-40e7-8506-534a772c9f1f :: false |
publishItemsToNodes | 0.244s |
2020-11-19 21:34:16 |
2020-11-19 21:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:16 | ------------------------------------ 2020-11-19 21:34:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</node><item-id>item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</item-id><entry><test>item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</test></entry></data> 2020-11-19 21:34:16 | 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-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</value></item-id></result> 2020-11-19 21:34:16 | [Mutex] received everything. 2020-11-19 21:34:16 | [Mutex] isItemNotified: published:item:notifieditem-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.187s |
2020-11-19 21:34:17 |
2020-11-19 21:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:17 | ------------------------------------ 2020-11-19 21:34:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</node><item-id>item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</item-id></data> 2020-11-19 21:34:17 | 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-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</value></item-id></result> 2020-11-19 21:34:17 | [Mutex] received everything. 2020-11-19 21:34:17 | [Mutex] isItemNotified: retracted:item:notifieditem-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.267s |
2020-11-19 21:34:16 |
2020-11-19 21:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:16 | ------------------------------------ 2020-11-19 21:34:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</node><item-id>item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</item-id></data> 2020-11-19 21:34:17 | 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-8d22e0fb-1d38-40e7-8506-534a772c9f1f</value></node><item-id type="text-single" label="Item ID"><value>item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</value></item-id><item type="text-multi" label="Item"><value><item id="item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f"><test>item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f</test></item></value></item></result> 2020-11-19 21:34:17 | [Mutex] notify: [retrieved:item:item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f:payload-matches:true:localhost] 2020-11-19 21:34:17 | [Mutex] received everything. 2020-11-19 21:34:17 | [Mutex] isItemNotified: retrieved:item:item-d608b64b-e3e0-4a1d-ab05-dd6aca911c5f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-19 21:34:17 |
2020-11-19 21:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:17 | ------------------------------------ 2020-11-19 21:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-19 21:34:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</value><value>test</value><value>node-e713d6a1-be9f-40cb-9532-8e390addff6d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-11-19 21:34:17 |
2020-11-19 21:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:17 | ------------------------------------ 2020-11-19 21:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8d22e0fb-1d38-40e7-8506-534a772c9f1f)</node-pattern></data> 2020-11-19 21:34:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.148s |
2020-11-19 21:34:15 |
2020-11-19 21:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:15 | ------------------------------------ 2020-11-19 21:34:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-19 21:34:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.290s |
2020-11-19 21:34:17 |
2020-11-19 21:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:34:17 | ------------------------------------ 2020-11-19 21:34:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8d22e0fb-1d38-40e7-8506-534a772c9f1f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-19 21:34:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |