Test duration : 9.862s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2020-11-29 22:01:17 |
2020-11-29 22:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:17 | ------------------------------------ 2020-11-29 22:01:17 | [Mutex] waiting for: [configured:node:node-cda3c62c-d9b3-4131-91bb-348ed1864db9:node-242b4381-0696-4fb9-ad97-7d3e00b64432] 2020-11-29 22:01:17 | [Mutex] received everything. 2020-11-29 22:01:17 | [Mutex] isItemNotified: configured:node:node-cda3c62c-d9b3-4131-91bb-348ed1864db9:node-242b4381-0696-4fb9-ad97-7d3e00b64432 :: true 2020-11-29 22:01:18 | [Mutex] waiting for: [received:nodes:8bab798f-6c37-47c1-8b57-7cdc69294517:localhost] 2020-11-29 22:01:18 | [Mutex] received everything. 2020-11-29 22:01:18 | [Mutex] isItemNotified: received:node:8bab798f-6c37-47c1-8b57-7cdc69294517:localhost:node-cda3c62c-d9b3-4131-91bb-348ed1864db9:Node cda3c62c-d9b3-4131-91bb-348ed1864db9 :: true 2020-11-29 22:01:18 | [Mutex] waiting for: [received:nodes:7243dbb1-6f77-4afd-a62b-1e2c6bff673d:localhost] 2020-11-29 22:01:18 | [Mutex] received everything. 2020-11-29 22:01:18 | [Mutex] isItemNotified: received:node:7243dbb1-6f77-4afd-a62b-1e2c6bff673d:localhost:node-cda3c62c-d9b3-4131-91bb-348ed1864db9:Node cda3c62c-d9b3-4131-91bb-348ed1864db9 :: false |
createNodes | 1.359s |
2020-11-29 22:01:14 |
2020-11-29 22:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:14 | ------------------------------------ 2020-11-29 22:01:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cda3c62c-d9b3-4131-91bb-348ed1864db9</title></pubsub></data> 2020-11-29 22:01:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:01:16 | [Mutex] waiting for: [received:nodes:90862ce2-95d4-4711-9f7b-793231ee1018:localhost] 2020-11-29 22:01:16 | [Mutex] received everything. 2020-11-29 22:01:16 | [Mutex] isItemNotified: received:node:90862ce2-95d4-4711-9f7b-793231ee1018:localhost:node-cda3c62c-d9b3-4131-91bb-348ed1864db9:Node cda3c62c-d9b3-4131-91bb-348ed1864db9 :: true |
createSubnodes | 1.033s |
2020-11-29 22:01:16 |
2020-11-29 22:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:16 | ------------------------------------ 2020-11-29 22:01:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-242b4381-0696-4fb9-ad97-7d3e00b64432</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 242b4381-0696-4fb9-ad97-7d3e00b64432</title></pubsub></data> 2020-11-29 22:01:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:01:17 | [Mutex] waiting for: [received:nodes:0e90183f-26d4-4e6e-bc23-f8e8419a7e6d:localhost] 2020-11-29 22:01:17 | [Mutex] received everything. 2020-11-29 22:01:17 | [Mutex] isItemNotified: received:node:0e90183f-26d4-4e6e-bc23-f8e8419a7e6d:localhost:node-242b4381-0696-4fb9-ad97-7d3e00b64432:Node 242b4381-0696-4fb9-ad97-7d3e00b64432 :: true |
deleteNodes | 1.021s |
2020-11-29 22:01:22 |
2020-11-29 22:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:22 | ------------------------------------ 2020-11-29 22:01:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-242b4381-0696-4fb9-ad97-7d3e00b64432</node></data> 2020-11-29 22:01:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:01:23 | [Mutex] waiting for: [received:nodes:069bf249-8ec1-4d8f-b033-cb94fb50dbef:localhost] 2020-11-29 22:01:23 | [Mutex] received everything. 2020-11-29 22:01:23 | [Mutex] isItemNotified: received:node:069bf249-8ec1-4d8f-b033-cb94fb50dbef:localhost:node-242b4381-0696-4fb9-ad97-7d3e00b64432:Node 242b4381-0696-4fb9-ad97-7d3e00b64432 :: false |
deleteSubnodes | 1.132s |
2020-11-29 22:01:21 |
2020-11-29 22:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:21 | ------------------------------------ 2020-11-29 22:01:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</node></data> 2020-11-29 22:01:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:01:22 | [Mutex] waiting for: [received:nodes:af7d2a7c-0dac-4bc8-8bff-f1db46033276:localhost] 2020-11-29 22:01:22 | [Mutex] received everything. 2020-11-29 22:01:22 | [Mutex] isItemNotified: received:node:af7d2a7c-0dac-4bc8-8bff-f1db46033276:localhost:node-cda3c62c-d9b3-4131-91bb-348ed1864db9:Node cda3c62c-d9b3-4131-91bb-348ed1864db9 :: false 2020-11-29 22:01:22 | [Mutex] waiting for: [received:nodes:989b6d1c-da17-45f4-8e4b-25047f29e50a:localhost] 2020-11-29 22:01:22 | [Mutex] received everything. 2020-11-29 22:01:22 | [Mutex] isItemNotified: received:node:989b6d1c-da17-45f4-8e4b-25047f29e50a:localhost:node-cda3c62c-d9b3-4131-91bb-348ed1864db9:Node cda3c62c-d9b3-4131-91bb-348ed1864db9 :: false |
publishItemsToNodes | 0.203s |
2020-11-29 22:01:19 |
2020-11-29 22:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:19 | ------------------------------------ 2020-11-29 22:01:19 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</node><item-id>item-a48565f7-75cb-4164-ac5e-96e19672b0f0</item-id><entry><test>item-a48565f7-75cb-4164-ac5e-96e19672b0f0</test></entry></data> 2020-11-29 22:01:19 | 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-a48565f7-75cb-4164-ac5e-96e19672b0f0</value></item-id></result> 2020-11-29 22:01:19 | [Mutex] received everything. 2020-11-29 22:01:19 | [Mutex] isItemNotified: published:item:notifieditem-a48565f7-75cb-4164-ac5e-96e19672b0f0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.247s |
2020-11-29 22:01:20 |
2020-11-29 22:01:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:20 | ------------------------------------ 2020-11-29 22:01:20 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</node><item-id>item-a48565f7-75cb-4164-ac5e-96e19672b0f0</item-id></data> 2020-11-29 22:01:20 | 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-a48565f7-75cb-4164-ac5e-96e19672b0f0</value></item-id></result> 2020-11-29 22:01:20 | [Mutex] received everything. 2020-11-29 22:01:20 | [Mutex] isItemNotified: retracted:item:notifieditem-a48565f7-75cb-4164-ac5e-96e19672b0f0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.300s |
2020-11-29 22:01:19 |
2020-11-29 22:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:19 | ------------------------------------ 2020-11-29 22:01:19 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</node><item-id>item-a48565f7-75cb-4164-ac5e-96e19672b0f0</item-id></data> 2020-11-29 22:01:19 | 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-cda3c62c-d9b3-4131-91bb-348ed1864db9</value></node><item-id label="Item ID" type="text-single"><value>item-a48565f7-75cb-4164-ac5e-96e19672b0f0</value></item-id><item label="Item" type="text-multi"><value><item id="item-a48565f7-75cb-4164-ac5e-96e19672b0f0"><test>item-a48565f7-75cb-4164-ac5e-96e19672b0f0</test></item></value></item></result> 2020-11-29 22:01:19 | [Mutex] notify: [retrieved:item:item-a48565f7-75cb-4164-ac5e-96e19672b0f0:payload-matches:true:localhost] 2020-11-29 22:01:19 | [Mutex] received everything. 2020-11-29 22:01:19 | [Mutex] isItemNotified: retrieved:item:item-a48565f7-75cb-4164-ac5e-96e19672b0f0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-29 22:01:19 |
2020-11-29 22:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:19 | ------------------------------------ 2020-11-29 22:01:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-29 22:01:19 | 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-242b4381-0696-4fb9-ad97-7d3e00b64432</value><value>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-29 22:01:19 |
2020-11-29 22:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:19 | ------------------------------------ 2020-11-29 22:01:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cda3c62c-d9b3-4131-91bb-348ed1864db9)</node-pattern></data> 2020-11-29 22:01:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.126s |
2020-11-29 22:01:18 |
2020-11-29 22:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:18 | ------------------------------------ 2020-11-29 22:01:18 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 22:01:18 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.207s |
2020-11-29 22:01:20 |
2020-11-29 22:01:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:01:20 | ------------------------------------ 2020-11-29 22:01:20 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cda3c62c-d9b3-4131-91bb-348ed1864db9</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 22:01:20 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |