Test duration : 10.216s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2021-11-16 21:45:23 |
2021-11-16 21:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:23 | ------------------------------------ 2021-11-16 21:45:23 | [Mutex] waiting for: [configured:node:node-79c59763-f3f7-439c-851a-a9f14078b0d2:node-d5b11da9-3238-412f-ada3-f619157abdae] 2021-11-16 21:45:23 | [Mutex] received everything. 2021-11-16 21:45:23 | [Mutex] isItemNotified: configured:node:node-79c59763-f3f7-439c-851a-a9f14078b0d2:node-d5b11da9-3238-412f-ada3-f619157abdae :: true 2021-11-16 21:45:24 | [Mutex] waiting for: [received:nodes:7820bb26-c397-46c6-a803-5d0b7f1886a5:localhost] 2021-11-16 21:45:24 | [Mutex] received everything. 2021-11-16 21:45:24 | [Mutex] isItemNotified: received:node:7820bb26-c397-46c6-a803-5d0b7f1886a5:localhost:node-79c59763-f3f7-439c-851a-a9f14078b0d2:Node 79c59763-f3f7-439c-851a-a9f14078b0d2 :: true 2021-11-16 21:45:24 | [Mutex] waiting for: [received:nodes:f1987b6c-d55c-4e85-af15-ed34fe870ad1:localhost] 2021-11-16 21:45:24 | [Mutex] received everything. 2021-11-16 21:45:24 | [Mutex] isItemNotified: received:node:f1987b6c-d55c-4e85-af15-ed34fe870ad1:localhost:node-79c59763-f3f7-439c-851a-a9f14078b0d2:Node 79c59763-f3f7-439c-851a-a9f14078b0d2 :: false |
createNodes | 1.480s |
2021-11-16 21:45:21 |
2021-11-16 21:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:21 | ------------------------------------ 2021-11-16 21:45:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-79c59763-f3f7-439c-851a-a9f14078b0d2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 79c59763-f3f7-439c-851a-a9f14078b0d2</title></pubsub></data> 2021-11-16 21:45:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:45:22 | [Mutex] waiting for: [received:nodes:4ab461fc-a2b8-45f6-974a-cf193d188fea:localhost] 2021-11-16 21:45:22 | [Mutex] received everything. 2021-11-16 21:45:22 | [Mutex] isItemNotified: received:node:4ab461fc-a2b8-45f6-974a-cf193d188fea:localhost:node-79c59763-f3f7-439c-851a-a9f14078b0d2:Node 79c59763-f3f7-439c-851a-a9f14078b0d2 :: true |
createSubnodes | 1.032s |
2021-11-16 21:45:22 |
2021-11-16 21:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:22 | ------------------------------------ 2021-11-16 21:45:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d5b11da9-3238-412f-ada3-f619157abdae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5b11da9-3238-412f-ada3-f619157abdae</title></pubsub></data> 2021-11-16 21:45:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:45:23 | [Mutex] waiting for: [received:nodes:5ccd37b8-0edc-413a-9124-8124e4e510e3:localhost] 2021-11-16 21:45:23 | [Mutex] received everything. 2021-11-16 21:45:23 | [Mutex] isItemNotified: received:node:5ccd37b8-0edc-413a-9124-8124e4e510e3:localhost:node-d5b11da9-3238-412f-ada3-f619157abdae:Node d5b11da9-3238-412f-ada3-f619157abdae :: true |
deleteNodes | 1.024s |
2021-11-16 21:45:29 |
2021-11-16 21:45:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:29 | ------------------------------------ 2021-11-16 21:45:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d5b11da9-3238-412f-ada3-f619157abdae</node></data> 2021-11-16 21:45:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:45:30 | [Mutex] waiting for: [received:nodes:ccfab6c9-e7ea-4a41-a44d-9f48df896eb8:localhost] 2021-11-16 21:45:30 | [Mutex] waiting for: [received:nodes:ccfab6c9-e7ea-4a41-a44d-9f48df896eb8:localhost] 2021-11-16 21:45:30 | [Mutex] received everything. 2021-11-16 21:45:30 | [Mutex] isItemNotified: received:node:ccfab6c9-e7ea-4a41-a44d-9f48df896eb8:localhost:node-d5b11da9-3238-412f-ada3-f619157abdae:Node d5b11da9-3238-412f-ada3-f619157abdae :: false |
deleteSubnodes | 1.168s |
2021-11-16 21:45:28 |
2021-11-16 21:45:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:28 | ------------------------------------ 2021-11-16 21:45:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-79c59763-f3f7-439c-851a-a9f14078b0d2</node></data> 2021-11-16 21:45:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 21:45:29 | [Mutex] waiting for: [received:nodes:6536062a-b09d-474e-89ae-cec0bd6d45f4:localhost] 2021-11-16 21:45:29 | [Mutex] received everything. 2021-11-16 21:45:29 | [Mutex] isItemNotified: received:node:6536062a-b09d-474e-89ae-cec0bd6d45f4:localhost:node-79c59763-f3f7-439c-851a-a9f14078b0d2:Node 79c59763-f3f7-439c-851a-a9f14078b0d2 :: false 2021-11-16 21:45:29 | [Mutex] waiting for: [received:nodes:6b8fde7b-721e-42ac-bfd3-0d41376ffd77:localhost] 2021-11-16 21:45:29 | [Mutex] received everything. 2021-11-16 21:45:29 | [Mutex] isItemNotified: received:node:6b8fde7b-721e-42ac-bfd3-0d41376ffd77:localhost:node-79c59763-f3f7-439c-851a-a9f14078b0d2:Node 79c59763-f3f7-439c-851a-a9f14078b0d2 :: false |
publishItemsToNodes | 0.243s |
2021-11-16 21:45:25 |
2021-11-16 21:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:25 | ------------------------------------ 2021-11-16 21:45:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-79c59763-f3f7-439c-851a-a9f14078b0d2</node><item-id>item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</item-id><entry><test>item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</test></entry></data> 2021-11-16 21:45:26 | 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-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</value></item-id></result> 2021-11-16 21:45:26 | [Mutex] waiting for: [published:item:notifieditem-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb:admin@test-domain.com] 2021-11-16 21:45:26 | [Mutex] received everything. 2021-11-16 21:45:26 | [Mutex] isItemNotified: published:item:notifieditem-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.235s |
2021-11-16 21:45:26 |
2021-11-16 21:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:26 | ------------------------------------ 2021-11-16 21:45:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-79c59763-f3f7-439c-851a-a9f14078b0d2</node><item-id>item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</item-id></data> 2021-11-16 21:45:27 | 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-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</value></item-id></result> 2021-11-16 21:45:27 | [Mutex] received everything. 2021-11-16 21:45:27 | [Mutex] isItemNotified: retracted:item:notifieditem-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.468s |
2021-11-16 21:45:26 |
2021-11-16 21:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:26 | ------------------------------------ 2021-11-16 21:45:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-79c59763-f3f7-439c-851a-a9f14078b0d2</node><item-id>item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</item-id></data> 2021-11-16 21:45:26 | 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-79c59763-f3f7-439c-851a-a9f14078b0d2</value></node><item-id type="text-single" label="Item ID"><value>item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</value></item-id><item type="text-multi" label="Item"><value><item id="item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb"><test>item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb</test></item></value></item></result> 2021-11-16 21:45:26 | [Mutex] notify: [retrieved:item:item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb:payload-matches:true:localhost] 2021-11-16 21:45:26 | [Mutex] received everything. 2021-11-16 21:45:26 | [Mutex] isItemNotified: retrieved:item:item-6e7d8d4b-6809-4a28-9f64-c436a51b2ccb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-11-16 21:45:26 |
2021-11-16 21:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:26 | ------------------------------------ 2021-11-16 21:45:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-11-16 21:45:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-d5b11da9-3238-412f-ada3-f619157abdae</value><value>node-79c59763-f3f7-439c-851a-a9f14078b0d2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.061s |
2021-11-16 21:45:26 |
2021-11-16 21:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:26 | ------------------------------------ 2021-11-16 21:45:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-79c59763-f3f7-439c-851a-a9f14078b0d2)</node-pattern></data> 2021-11-16 21:45:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.126s |
2021-11-16 21:45:24 |
2021-11-16 21:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:24 | ------------------------------------ 2021-11-16 21:45:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-79c59763-f3f7-439c-851a-a9f14078b0d2</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-16 21:45:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.331s |
2021-11-16 21:45:27 |
2021-11-16 21:45:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 21:45:27 | ------------------------------------ 2021-11-16 21:45:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-79c59763-f3f7-439c-851a-a9f14078b0d2</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-16 21:45:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |