Test duration : 9.838s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2020-10-08 22:56:39 |
2020-10-08 22:56:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:39 | ------------------------------------ 2020-10-08 22:56:39 | [Mutex] waiting for: [configured:node:node-bbc81c75-f28d-486e-8e27-9679020a5acb:node-7b3c2982-0470-4594-91d7-e5f3576bcfa0] 2020-10-08 22:56:39 | [Mutex] received everything. 2020-10-08 22:56:39 | [Mutex] isItemNotified: configured:node:node-bbc81c75-f28d-486e-8e27-9679020a5acb:node-7b3c2982-0470-4594-91d7-e5f3576bcfa0 :: true 2020-10-08 22:56:40 | [Mutex] waiting for: [received:nodes:c7562ca4-1e91-4fd6-8f06-f3cc8f21d4df:localhost] 2020-10-08 22:56:40 | [Mutex] received everything. 2020-10-08 22:56:40 | [Mutex] isItemNotified: received:node:c7562ca4-1e91-4fd6-8f06-f3cc8f21d4df:localhost:node-bbc81c75-f28d-486e-8e27-9679020a5acb:Node bbc81c75-f28d-486e-8e27-9679020a5acb :: true 2020-10-08 22:56:40 | [Mutex] waiting for: [received:nodes:592cbc49-fa63-4461-a97c-326f606fcac2:localhost] 2020-10-08 22:56:40 | [Mutex] received everything. 2020-10-08 22:56:40 | [Mutex] isItemNotified: received:node:592cbc49-fa63-4461-a97c-326f606fcac2:localhost:node-bbc81c75-f28d-486e-8e27-9679020a5acb:Node bbc81c75-f28d-486e-8e27-9679020a5acb :: false |
createNodes | 1.365s |
2020-10-08 22:56:36 |
2020-10-08 22:56:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:36 | ------------------------------------ 2020-10-08 22:56:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bbc81c75-f28d-486e-8e27-9679020a5acb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bbc81c75-f28d-486e-8e27-9679020a5acb</title></pubsub></data> 2020-10-08 22:56:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:56:38 | [Mutex] waiting for: [received:nodes:e9a11a6d-a7c7-4feb-a359-d60585cc0102:localhost] 2020-10-08 22:56:38 | [Mutex] received everything. 2020-10-08 22:56:38 | [Mutex] isItemNotified: received:node:e9a11a6d-a7c7-4feb-a359-d60585cc0102:localhost:node-bbc81c75-f28d-486e-8e27-9679020a5acb:Node bbc81c75-f28d-486e-8e27-9679020a5acb :: true |
createSubnodes | 1.034s |
2020-10-08 22:56:38 |
2020-10-08 22:56:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:38 | ------------------------------------ 2020-10-08 22:56:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7b3c2982-0470-4594-91d7-e5f3576bcfa0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7b3c2982-0470-4594-91d7-e5f3576bcfa0</title></pubsub></data> 2020-10-08 22:56:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:56:39 | [Mutex] waiting for: [received:nodes:d3f4151c-84cf-4be4-b794-b658730b2473:localhost] 2020-10-08 22:56:39 | [Mutex] received everything. 2020-10-08 22:56:39 | [Mutex] isItemNotified: received:node:d3f4151c-84cf-4be4-b794-b658730b2473:localhost:node-7b3c2982-0470-4594-91d7-e5f3576bcfa0:Node 7b3c2982-0470-4594-91d7-e5f3576bcfa0 :: true |
deleteNodes | 1.026s |
2020-10-08 22:56:44 |
2020-10-08 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:44 | ------------------------------------ 2020-10-08 22:56:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7b3c2982-0470-4594-91d7-e5f3576bcfa0</node></data> 2020-10-08 22:56:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:56:45 | [Mutex] waiting for: [received:nodes:ec337ccb-4776-444d-9e72-4188cbbe8a44:localhost] 2020-10-08 22:56:45 | [Mutex] received everything. 2020-10-08 22:56:45 | [Mutex] isItemNotified: received:node:ec337ccb-4776-444d-9e72-4188cbbe8a44:localhost:node-7b3c2982-0470-4594-91d7-e5f3576bcfa0:Node 7b3c2982-0470-4594-91d7-e5f3576bcfa0 :: false |
deleteSubnodes | 1.123s |
2020-10-08 22:56:43 |
2020-10-08 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:43 | ------------------------------------ 2020-10-08 22:56:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bbc81c75-f28d-486e-8e27-9679020a5acb</node></data> 2020-10-08 22:56:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:56:44 | [Mutex] waiting for: [received:nodes:6051a2df-7ff4-4fe5-8b00-7c7308241d58:localhost] 2020-10-08 22:56:44 | [Mutex] received everything. 2020-10-08 22:56:44 | [Mutex] isItemNotified: received:node:6051a2df-7ff4-4fe5-8b00-7c7308241d58:localhost:node-bbc81c75-f28d-486e-8e27-9679020a5acb:Node bbc81c75-f28d-486e-8e27-9679020a5acb :: false 2020-10-08 22:56:44 | [Mutex] waiting for: [received:nodes:24051302-704b-407b-98ce-bcd5fd4c9b07:localhost] 2020-10-08 22:56:44 | [Mutex] received everything. 2020-10-08 22:56:44 | [Mutex] isItemNotified: received:node:24051302-704b-407b-98ce-bcd5fd4c9b07:localhost:node-bbc81c75-f28d-486e-8e27-9679020a5acb:Node bbc81c75-f28d-486e-8e27-9679020a5acb :: false |
publishItemsToNodes | 0.227s |
2020-10-08 22:56:41 |
2020-10-08 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:41 | ------------------------------------ 2020-10-08 22:56:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bbc81c75-f28d-486e-8e27-9679020a5acb</node><item-id>item-c49d5224-8268-46ea-8be2-dc0125ffbf27</item-id><entry><test>item-c49d5224-8268-46ea-8be2-dc0125ffbf27</test></entry></data> 2020-10-08 22:56:41 | 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-c49d5224-8268-46ea-8be2-dc0125ffbf27</value></item-id></result> 2020-10-08 22:56:41 | [Mutex] waiting for: [published:item:notifieditem-c49d5224-8268-46ea-8be2-dc0125ffbf27:admin@test-domain.com] 2020-10-08 22:56:41 | [Mutex] received everything. 2020-10-08 22:56:41 | [Mutex] isItemNotified: published:item:notifieditem-c49d5224-8268-46ea-8be2-dc0125ffbf27:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2020-10-08 22:56:41 |
2020-10-08 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:41 | ------------------------------------ 2020-10-08 22:56:41 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bbc81c75-f28d-486e-8e27-9679020a5acb</node><item-id>item-c49d5224-8268-46ea-8be2-dc0125ffbf27</item-id></data> 2020-10-08 22:56:42 | 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-c49d5224-8268-46ea-8be2-dc0125ffbf27</value></item-id></result> 2020-10-08 22:56:42 | [Mutex] received everything. 2020-10-08 22:56:42 | [Mutex] isItemNotified: retracted:item:notifieditem-c49d5224-8268-46ea-8be2-dc0125ffbf27:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.238s |
2020-10-08 22:56:41 |
2020-10-08 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:41 | ------------------------------------ 2020-10-08 22:56:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bbc81c75-f28d-486e-8e27-9679020a5acb</node><item-id>item-c49d5224-8268-46ea-8be2-dc0125ffbf27</item-id></data> 2020-10-08 22:56:41 | 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-bbc81c75-f28d-486e-8e27-9679020a5acb</value></node><item-id label="Item ID" type="text-single"><value>item-c49d5224-8268-46ea-8be2-dc0125ffbf27</value></item-id><item label="Item" type="text-multi"><value><item id="item-c49d5224-8268-46ea-8be2-dc0125ffbf27"><test>item-c49d5224-8268-46ea-8be2-dc0125ffbf27</test></item></value></item></result> 2020-10-08 22:56:41 | [Mutex] notify: [retrieved:item:item-c49d5224-8268-46ea-8be2-dc0125ffbf27:payload-matches:true:localhost] 2020-10-08 22:56:41 | [Mutex] received everything. 2020-10-08 22:56:41 | [Mutex] isItemNotified: retrieved:item:item-c49d5224-8268-46ea-8be2-dc0125ffbf27:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2020-10-08 22:56:41 |
2020-10-08 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:41 | ------------------------------------ 2020-10-08 22:56:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-08 22:56:41 | 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-7b3c2982-0470-4594-91d7-e5f3576bcfa0</value><value>node-bbc81c75-f28d-486e-8e27-9679020a5acb</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-10-08 22:56:41 |
2020-10-08 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:41 | ------------------------------------ 2020-10-08 22:56:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bbc81c75-f28d-486e-8e27-9679020a5acb)</node-pattern></data> 2020-10-08 22:56:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.089s |
2020-10-08 22:56:40 |
2020-10-08 22:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:40 | ------------------------------------ 2020-10-08 22:56:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bbc81c75-f28d-486e-8e27-9679020a5acb</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-08 22:56:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.294s |
2020-10-08 22:56:42 |
2020-10-08 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:56:42 | ------------------------------------ 2020-10-08 22:56:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bbc81c75-f28d-486e-8e27-9679020a5acb</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-08 22:56:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |