Test duration : 11.173s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.143s |
2021-09-28 22:56:39 |
2021-09-28 22:56:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:39 | ------------------------------------ 2021-09-28 22:56:39 | [Mutex] waiting for: [configured:node:node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3:node-a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6] 2021-09-28 22:56:39 | [Mutex] received everything. 2021-09-28 22:56:39 | [Mutex] isItemNotified: configured:node:node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3:node-a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6 :: true 2021-09-28 22:56:40 | [Mutex] waiting for: [received:nodes:e5a7de70-c218-4493-b0d9-610188a6a33c:localhost] 2021-09-28 22:56:40 | [Mutex] received everything. 2021-09-28 22:56:40 | [Mutex] isItemNotified: received:node:e5a7de70-c218-4493-b0d9-610188a6a33c:localhost:node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3:Node ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3 :: true 2021-09-28 22:56:40 | [Mutex] waiting for: [received:nodes:d0aa4f5d-d07f-4194-9ae6-9baa86fea931:localhost] 2021-09-28 22:56:40 | [Mutex] received everything. 2021-09-28 22:56:40 | [Mutex] isItemNotified: received:node:d0aa4f5d-d07f-4194-9ae6-9baa86fea931:localhost:node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3:Node ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3 :: false |
createNodes | 1.619s |
2021-09-28 22:56:36 |
2021-09-28 22:56:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:36 | ------------------------------------ 2021-09-28 22:56:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</title></pubsub></data> 2021-09-28 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> 2021-09-28 22:56:38 | [Mutex] waiting for: [received:nodes:7fabc1a8-6ff6-41f9-8b7d-25479bf82cea:localhost] 2021-09-28 22:56:38 | [Mutex] received everything. 2021-09-28 22:56:38 | [Mutex] isItemNotified: received:node:7fabc1a8-6ff6-41f9-8b7d-25479bf82cea:localhost:node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3:Node ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3 :: true |
createSubnodes | 1.029s |
2021-09-28 22:56:38 |
2021-09-28 22:56:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:38 | ------------------------------------ 2021-09-28 22:56:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6</title></pubsub></data> 2021-09-28 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> 2021-09-28 22:56:39 | [Mutex] waiting for: [received:nodes:b8da8077-f515-40b3-927f-79fb22b476cc:localhost] 2021-09-28 22:56:39 | [Mutex] received everything. 2021-09-28 22:56:39 | [Mutex] isItemNotified: received:node:b8da8077-f515-40b3-927f-79fb22b476cc:localhost:node-a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6:Node a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6 :: true |
deleteNodes | 1.032s |
2021-09-28 22:56:45 |
2021-09-28 22:56:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:45 | ------------------------------------ 2021-09-28 22:56:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6</node></data> 2021-09-28 22:56:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-28 22:56:46 | [Mutex] waiting for: [received:nodes:e02d2da6-91f1-40ce-aed4-7311d7711c4f:localhost] 2021-09-28 22:56:46 | [Mutex] received everything. 2021-09-28 22:56:46 | [Mutex] isItemNotified: received:node:e02d2da6-91f1-40ce-aed4-7311d7711c4f:localhost:node-a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6:Node a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6 :: false |
deleteSubnodes | 1.170s |
2021-09-28 22:56:44 |
2021-09-28 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:44 | ------------------------------------ 2021-09-28 22:56:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</node></data> 2021-09-28 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> 2021-09-28 22:56:45 | [Mutex] waiting for: [received:nodes:60a43efc-aeff-41c2-9877-844a7a7d15d3:localhost] 2021-09-28 22:56:45 | [Mutex] received everything. 2021-09-28 22:56:45 | [Mutex] isItemNotified: received:node:60a43efc-aeff-41c2-9877-844a7a7d15d3:localhost:node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3:Node ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3 :: false 2021-09-28 22:56:45 | [Mutex] waiting for: [received:nodes:5460e901-3c39-4990-a5c4-9b1c81691624:localhost] 2021-09-28 22:56:45 | [Mutex] received everything. 2021-09-28 22:56:45 | [Mutex] isItemNotified: received:node:5460e901-3c39-4990-a5c4-9b1c81691624:localhost:node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3:Node ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3 :: false |
publishItemsToNodes | 0.591s |
2021-09-28 22:56:41 |
2021-09-28 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:41 | ------------------------------------ 2021-09-28 22:56:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</node><item-id>item-878ba858-a8d5-4bd7-a40b-3b769fb728ca</item-id><entry><test>item-878ba858-a8d5-4bd7-a40b-3b769fb728ca</test></entry></data> 2021-09-28 22:56:42 | 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-878ba858-a8d5-4bd7-a40b-3b769fb728ca</value></item-id></result> 2021-09-28 22:56:42 | [Mutex] received everything. 2021-09-28 22:56:42 | [Mutex] isItemNotified: published:item:notifieditem-878ba858-a8d5-4bd7-a40b-3b769fb728ca:admin@test-domain.com :: true |
retractItemsFromNodes | 0.331s |
2021-09-28 22:56:42 |
2021-09-28 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:42 | ------------------------------------ 2021-09-28 22:56:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</node><item-id>item-878ba858-a8d5-4bd7-a40b-3b769fb728ca</item-id></data> 2021-09-28 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 type="fixed" label="Item ID"><value>item-878ba858-a8d5-4bd7-a40b-3b769fb728ca</value></item-id></result> 2021-09-28 22:56:42 | [Mutex] received everything. 2021-09-28 22:56:42 | [Mutex] isItemNotified: retracted:item:notifieditem-878ba858-a8d5-4bd7-a40b-3b769fb728ca:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.364s |
2021-09-28 22:56:42 |
2021-09-28 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:42 | ------------------------------------ 2021-09-28 22:56:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</node><item-id>item-878ba858-a8d5-4bd7-a40b-3b769fb728ca</item-id></data> 2021-09-28 22:56:42 | 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-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</value></node><item-id type="text-single" label="Item ID"><value>item-878ba858-a8d5-4bd7-a40b-3b769fb728ca</value></item-id><item type="text-multi" label="Item"><value><item id="item-878ba858-a8d5-4bd7-a40b-3b769fb728ca"><test>item-878ba858-a8d5-4bd7-a40b-3b769fb728ca</test></item></value></item></result> 2021-09-28 22:56:42 | [Mutex] notify: [retrieved:item:item-878ba858-a8d5-4bd7-a40b-3b769fb728ca:payload-matches:true:localhost] 2021-09-28 22:56:42 | [Mutex] received everything. 2021-09-28 22:56:42 | [Mutex] isItemNotified: retrieved:item:item-878ba858-a8d5-4bd7-a40b-3b769fb728ca:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-09-28 22:56:42 |
2021-09-28 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:42 | ------------------------------------ 2021-09-28 22:56:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-28 22:56:42 | 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-a3d5e68b-c1d8-42d8-9c6b-d1594b77cfc6</value><value>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-09-28 22:56:42 |
2021-09-28 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:42 | ------------------------------------ 2021-09-28 22:56:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3)</node-pattern></data> 2021-09-28 22:56:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.172s |
2021-09-28 22:56:40 |
2021-09-28 22:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:40 | ------------------------------------ 2021-09-28 22:56:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-28 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.455s |
2021-09-28 22:56:42 |
2021-09-28 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-28 22:56:42 | ------------------------------------ 2021-09-28 22:56:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ad481b54-ad66-4f6d-bdbb-8d44ca43c4a3</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-28 22:56:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |