Test duration : 9.873s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2020-09-29 23:06:19 |
2020-09-29 23:06:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:19 | ------------------------------------ 2020-09-29 23:06:19 | [Mutex] waiting for: [configured:node:node-007a7a56-49b2-456e-b213-f0b22112af4e:node-b2eda80f-5af4-4ec3-a371-6fe09c256656] 2020-09-29 23:06:19 | [Mutex] received everything. 2020-09-29 23:06:19 | [Mutex] isItemNotified: configured:node:node-007a7a56-49b2-456e-b213-f0b22112af4e:node-b2eda80f-5af4-4ec3-a371-6fe09c256656 :: true 2020-09-29 23:06:20 | [Mutex] waiting for: [received:nodes:6dc17d66-39aa-451d-be75-6570cb7e7965:localhost] 2020-09-29 23:06:20 | [Mutex] received everything. 2020-09-29 23:06:20 | [Mutex] isItemNotified: received:node:6dc17d66-39aa-451d-be75-6570cb7e7965:localhost:node-007a7a56-49b2-456e-b213-f0b22112af4e:Node 007a7a56-49b2-456e-b213-f0b22112af4e :: true 2020-09-29 23:06:20 | [Mutex] waiting for: [received:nodes:2be4c57b-8add-4418-9bd9-29998868356b:localhost] 2020-09-29 23:06:20 | [Mutex] received everything. 2020-09-29 23:06:20 | [Mutex] isItemNotified: received:node:2be4c57b-8add-4418-9bd9-29998868356b:localhost:node-007a7a56-49b2-456e-b213-f0b22112af4e:Node 007a7a56-49b2-456e-b213-f0b22112af4e :: false |
createNodes | 1.416s |
2020-09-29 23:06:17 |
2020-09-29 23:06:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:17 | ------------------------------------ 2020-09-29 23:06:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-007a7a56-49b2-456e-b213-f0b22112af4e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 007a7a56-49b2-456e-b213-f0b22112af4e</title></pubsub></data> 2020-09-29 23:06:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:06:18 | [Mutex] waiting for: [received:nodes:e592416f-fa48-47ba-aa30-0dcd8c1716a6:localhost] 2020-09-29 23:06:18 | [Mutex] waiting for: [received:nodes:e592416f-fa48-47ba-aa30-0dcd8c1716a6:localhost] 2020-09-29 23:06:18 | [Mutex] waiting for: [received:nodes:e592416f-fa48-47ba-aa30-0dcd8c1716a6:localhost] 2020-09-29 23:06:18 | [Mutex] received everything. 2020-09-29 23:06:18 | [Mutex] isItemNotified: received:node:e592416f-fa48-47ba-aa30-0dcd8c1716a6:localhost:node-007a7a56-49b2-456e-b213-f0b22112af4e:Node 007a7a56-49b2-456e-b213-f0b22112af4e :: true |
createSubnodes | 1.027s |
2020-09-29 23:06:18 |
2020-09-29 23:06:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:18 | ------------------------------------ 2020-09-29 23:06:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b2eda80f-5af4-4ec3-a371-6fe09c256656</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b2eda80f-5af4-4ec3-a371-6fe09c256656</title></pubsub></data> 2020-09-29 23:06:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:06:19 | [Mutex] waiting for: [received:nodes:9722b8e7-62b5-47d9-9c10-5f98b7d91f61:localhost] 2020-09-29 23:06:19 | [Mutex] received everything. 2020-09-29 23:06:19 | [Mutex] isItemNotified: received:node:9722b8e7-62b5-47d9-9c10-5f98b7d91f61:localhost:node-b2eda80f-5af4-4ec3-a371-6fe09c256656:Node b2eda80f-5af4-4ec3-a371-6fe09c256656 :: true |
deleteNodes | 1.022s |
2020-09-29 23:06:25 |
2020-09-29 23:06:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:25 | ------------------------------------ 2020-09-29 23:06:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b2eda80f-5af4-4ec3-a371-6fe09c256656</node></data> 2020-09-29 23:06:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:06:26 | [Mutex] waiting for: [received:nodes:76b04c54-2565-41f2-ac9a-6a2a4b15fb6c:localhost] 2020-09-29 23:06:26 | [Mutex] waiting for: [received:nodes:76b04c54-2565-41f2-ac9a-6a2a4b15fb6c:localhost] 2020-09-29 23:06:26 | [Mutex] received everything. 2020-09-29 23:06:26 | [Mutex] isItemNotified: received:node:76b04c54-2565-41f2-ac9a-6a2a4b15fb6c:localhost:node-b2eda80f-5af4-4ec3-a371-6fe09c256656:Node b2eda80f-5af4-4ec3-a371-6fe09c256656 :: false |
deleteSubnodes | 1.140s |
2020-09-29 23:06:24 |
2020-09-29 23:06:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:24 | ------------------------------------ 2020-09-29 23:06:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-007a7a56-49b2-456e-b213-f0b22112af4e</node></data> 2020-09-29 23:06:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 23:06:25 | [Mutex] waiting for: [received:nodes:bdce0d3b-1070-48a0-b64a-6699deb05f49:localhost] 2020-09-29 23:06:25 | [Mutex] waiting for: [received:nodes:bdce0d3b-1070-48a0-b64a-6699deb05f49:localhost] 2020-09-29 23:06:25 | [Mutex] received everything. 2020-09-29 23:06:25 | [Mutex] isItemNotified: received:node:bdce0d3b-1070-48a0-b64a-6699deb05f49:localhost:node-007a7a56-49b2-456e-b213-f0b22112af4e:Node 007a7a56-49b2-456e-b213-f0b22112af4e :: false 2020-09-29 23:06:25 | [Mutex] waiting for: [received:nodes:503547a0-4b74-45c4-9d95-8cd8aab1e4eb:localhost] 2020-09-29 23:06:25 | [Mutex] received everything. 2020-09-29 23:06:25 | [Mutex] isItemNotified: received:node:503547a0-4b74-45c4-9d95-8cd8aab1e4eb:localhost:node-007a7a56-49b2-456e-b213-f0b22112af4e:Node 007a7a56-49b2-456e-b213-f0b22112af4e :: false |
publishItemsToNodes | 0.276s |
2020-09-29 23:06:21 |
2020-09-29 23:06:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:21 | ------------------------------------ 2020-09-29 23:06:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-007a7a56-49b2-456e-b213-f0b22112af4e</node><item-id>item-4a6f7e70-f20a-4d2b-94f7-77855144ec86</item-id><entry><test>item-4a6f7e70-f20a-4d2b-94f7-77855144ec86</test></entry></data> 2020-09-29 23:06:22 | 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-4a6f7e70-f20a-4d2b-94f7-77855144ec86</value></item-id></result> 2020-09-29 23:06:22 | [Mutex] received everything. 2020-09-29 23:06:22 | [Mutex] isItemNotified: published:item:notifieditem-4a6f7e70-f20a-4d2b-94f7-77855144ec86:admin@test-domain.com :: true |
retractItemsFromNodes | 0.308s |
2020-09-29 23:06:22 |
2020-09-29 23:06:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:22 | ------------------------------------ 2020-09-29 23:06:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-007a7a56-49b2-456e-b213-f0b22112af4e</node><item-id>item-4a6f7e70-f20a-4d2b-94f7-77855144ec86</item-id></data> 2020-09-29 23:06:22 | 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-4a6f7e70-f20a-4d2b-94f7-77855144ec86</value></item-id></result> 2020-09-29 23:06:22 | [Mutex] received everything. 2020-09-29 23:06:22 | [Mutex] isItemNotified: retracted:item:notifieditem-4a6f7e70-f20a-4d2b-94f7-77855144ec86:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.202s |
2020-09-29 23:06:22 |
2020-09-29 23:06:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:22 | ------------------------------------ 2020-09-29 23:06:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-007a7a56-49b2-456e-b213-f0b22112af4e</node><item-id>item-4a6f7e70-f20a-4d2b-94f7-77855144ec86</item-id></data> 2020-09-29 23:06:22 | 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-007a7a56-49b2-456e-b213-f0b22112af4e</value></node><item-id label="Item ID" type="text-single"><value>item-4a6f7e70-f20a-4d2b-94f7-77855144ec86</value></item-id><item label="Item" type="text-multi"><value><item id="item-4a6f7e70-f20a-4d2b-94f7-77855144ec86"><test>item-4a6f7e70-f20a-4d2b-94f7-77855144ec86</test></item></value></item></result> 2020-09-29 23:06:22 | [Mutex] notify: [retrieved:item:item-4a6f7e70-f20a-4d2b-94f7-77855144ec86:payload-matches:true:localhost] 2020-09-29 23:06:22 | [Mutex] received everything. 2020-09-29 23:06:22 | [Mutex] isItemNotified: retrieved:item:item-4a6f7e70-f20a-4d2b-94f7-77855144ec86:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-09-29 23:06:22 |
2020-09-29 23:06:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:22 | ------------------------------------ 2020-09-29 23:06:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-29 23:06:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-007a7a56-49b2-456e-b213-f0b22112af4e</value><value>test</value><value>node-b2eda80f-5af4-4ec3-a371-6fe09c256656</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-29 23:06:22 |
2020-09-29 23:06:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:22 | ------------------------------------ 2020-09-29 23:06:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-007a7a56-49b2-456e-b213-f0b22112af4e)</node-pattern></data> 2020-09-29 23:06:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.160s |
2020-09-29 23:06:20 |
2020-09-29 23:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:20 | ------------------------------------ 2020-09-29 23:06:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-007a7a56-49b2-456e-b213-f0b22112af4e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-29 23:06:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.220s |
2020-09-29 23:06:22 |
2020-09-29 23:06:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 23:06:22 | ------------------------------------ 2020-09-29 23:06:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-007a7a56-49b2-456e-b213-f0b22112af4e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-29 23:06:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |