Test duration : 10.897s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.145s |
2021-06-21 22:35:04 |
2021-06-21 22:35:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:04 | ------------------------------------ 2021-06-21 22:35:04 | [Mutex] waiting for: [configured:node:node-e3779ec3-1641-41bf-b487-4b11eb66b544:node-9b7690ca-41f8-448f-8011-7d1eb67b2624] 2021-06-21 22:35:04 | [Mutex] received everything. 2021-06-21 22:35:04 | [Mutex] isItemNotified: configured:node:node-e3779ec3-1641-41bf-b487-4b11eb66b544:node-9b7690ca-41f8-448f-8011-7d1eb67b2624 :: true 2021-06-21 22:35:05 | [Mutex] waiting for: [received:nodes:e368ab55-6db2-49c0-a198-bd051b856227:localhost] 2021-06-21 22:35:05 | [Mutex] received everything. 2021-06-21 22:35:05 | [Mutex] isItemNotified: received:node:e368ab55-6db2-49c0-a198-bd051b856227:localhost:node-e3779ec3-1641-41bf-b487-4b11eb66b544:Node e3779ec3-1641-41bf-b487-4b11eb66b544 :: true 2021-06-21 22:35:05 | [Mutex] waiting for: [received:nodes:3164d3dd-06e1-4cd4-84e5-316ea4f7d491:localhost] 2021-06-21 22:35:05 | [Mutex] waiting for: [received:nodes:3164d3dd-06e1-4cd4-84e5-316ea4f7d491:localhost] 2021-06-21 22:35:05 | [Mutex] waiting for: [received:nodes:3164d3dd-06e1-4cd4-84e5-316ea4f7d491:localhost] 2021-06-21 22:35:05 | [Mutex] received everything. 2021-06-21 22:35:05 | [Mutex] isItemNotified: received:node:3164d3dd-06e1-4cd4-84e5-316ea4f7d491:localhost:node-e3779ec3-1641-41bf-b487-4b11eb66b544:Node e3779ec3-1641-41bf-b487-4b11eb66b544 :: false |
createNodes | 1.909s |
2021-06-21 22:35:01 |
2021-06-21 22:35:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:01 | ------------------------------------ 2021-06-21 22:35:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e3779ec3-1641-41bf-b487-4b11eb66b544</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e3779ec3-1641-41bf-b487-4b11eb66b544</title></pubsub></data> 2021-06-21 22:35:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:35:03 | [Mutex] waiting for: [received:nodes:e11b8bf2-5ec0-490e-a1ce-94a1fe93dfb1:localhost] 2021-06-21 22:35:03 | [Mutex] received everything. 2021-06-21 22:35:03 | [Mutex] isItemNotified: received:node:e11b8bf2-5ec0-490e-a1ce-94a1fe93dfb1:localhost:node-e3779ec3-1641-41bf-b487-4b11eb66b544:Node e3779ec3-1641-41bf-b487-4b11eb66b544 :: true |
createSubnodes | 1.050s |
2021-06-21 22:35:03 |
2021-06-21 22:35:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:03 | ------------------------------------ 2021-06-21 22:35:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9b7690ca-41f8-448f-8011-7d1eb67b2624</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9b7690ca-41f8-448f-8011-7d1eb67b2624</title></pubsub></data> 2021-06-21 22:35:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:35:04 | [Mutex] waiting for: [received:nodes:14f063aa-b2d2-4831-946b-2ffaa618bf3e:localhost] 2021-06-21 22:35:04 | [Mutex] received everything. 2021-06-21 22:35:04 | [Mutex] isItemNotified: received:node:14f063aa-b2d2-4831-946b-2ffaa618bf3e:localhost:node-9b7690ca-41f8-448f-8011-7d1eb67b2624:Node 9b7690ca-41f8-448f-8011-7d1eb67b2624 :: true |
deleteNodes | 1.022s |
2021-06-21 22:35:10 |
2021-06-21 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:10 | ------------------------------------ 2021-06-21 22:35:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9b7690ca-41f8-448f-8011-7d1eb67b2624</node></data> 2021-06-21 22:35:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:35:11 | [Mutex] waiting for: [received:nodes:71c935b0-0bd0-423f-ae66-307e2c017b8c:localhost] 2021-06-21 22:35:11 | [Mutex] waiting for: [received:nodes:71c935b0-0bd0-423f-ae66-307e2c017b8c:localhost] 2021-06-21 22:35:11 | [Mutex] received everything. 2021-06-21 22:35:11 | [Mutex] isItemNotified: received:node:71c935b0-0bd0-423f-ae66-307e2c017b8c:localhost:node-9b7690ca-41f8-448f-8011-7d1eb67b2624:Node 9b7690ca-41f8-448f-8011-7d1eb67b2624 :: false |
deleteSubnodes | 1.142s |
2021-06-21 22:35:08 |
2021-06-21 22:35:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:08 | ------------------------------------ 2021-06-21 22:35:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e3779ec3-1641-41bf-b487-4b11eb66b544</node></data> 2021-06-21 22:35:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:35:10 | [Mutex] waiting for: [received:nodes:693cfd58-0d49-499f-91c4-f61139b1feb4:localhost] 2021-06-21 22:35:10 | [Mutex] received everything. 2021-06-21 22:35:10 | [Mutex] isItemNotified: received:node:693cfd58-0d49-499f-91c4-f61139b1feb4:localhost:node-e3779ec3-1641-41bf-b487-4b11eb66b544:Node e3779ec3-1641-41bf-b487-4b11eb66b544 :: false 2021-06-21 22:35:10 | [Mutex] waiting for: [received:nodes:3018cd01-9ea8-4f63-8a4d-56c4917a03f7:localhost] 2021-06-21 22:35:10 | [Mutex] received everything. 2021-06-21 22:35:10 | [Mutex] isItemNotified: received:node:3018cd01-9ea8-4f63-8a4d-56c4917a03f7:localhost:node-e3779ec3-1641-41bf-b487-4b11eb66b544:Node e3779ec3-1641-41bf-b487-4b11eb66b544 :: false |
publishItemsToNodes | 0.219s |
2021-06-21 22:35:06 |
2021-06-21 22:35:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:06 | ------------------------------------ 2021-06-21 22:35:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e3779ec3-1641-41bf-b487-4b11eb66b544</node><item-id>item-8bd12881-6dbe-4520-999b-31517afb33fb</item-id><entry><test>item-8bd12881-6dbe-4520-999b-31517afb33fb</test></entry></data> 2021-06-21 22:35:06 | 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-8bd12881-6dbe-4520-999b-31517afb33fb</value></item-id></result> 2021-06-21 22:35:06 | [Mutex] waiting for: [published:item:notifieditem-8bd12881-6dbe-4520-999b-31517afb33fb:admin@test-domain.com] 2021-06-21 22:35:06 | [Mutex] received everything. 2021-06-21 22:35:06 | [Mutex] isItemNotified: published:item:notifieditem-8bd12881-6dbe-4520-999b-31517afb33fb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.332s |
2021-06-21 22:35:07 |
2021-06-21 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:07 | ------------------------------------ 2021-06-21 22:35:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e3779ec3-1641-41bf-b487-4b11eb66b544</node><item-id>item-8bd12881-6dbe-4520-999b-31517afb33fb</item-id></data> 2021-06-21 22:35:07 | 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-8bd12881-6dbe-4520-999b-31517afb33fb</value></item-id></result> 2021-06-21 22:35:07 | [Mutex] received everything. 2021-06-21 22:35:07 | [Mutex] isItemNotified: retracted:item:notifieditem-8bd12881-6dbe-4520-999b-31517afb33fb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.327s |
2021-06-21 22:35:06 |
2021-06-21 22:35:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:06 | ------------------------------------ 2021-06-21 22:35:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e3779ec3-1641-41bf-b487-4b11eb66b544</node><item-id>item-8bd12881-6dbe-4520-999b-31517afb33fb</item-id></data> 2021-06-21 22:35:07 | 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-e3779ec3-1641-41bf-b487-4b11eb66b544</value></node><item-id type="text-single" label="Item ID"><value>item-8bd12881-6dbe-4520-999b-31517afb33fb</value></item-id><item type="text-multi" label="Item"><value><item id="item-8bd12881-6dbe-4520-999b-31517afb33fb"><test>item-8bd12881-6dbe-4520-999b-31517afb33fb</test></item></value></item></result> 2021-06-21 22:35:07 | [Mutex] notify: [retrieved:item:item-8bd12881-6dbe-4520-999b-31517afb33fb:payload-matches:true:localhost] 2021-06-21 22:35:07 | [Mutex] received everything. 2021-06-21 22:35:07 | [Mutex] isItemNotified: retrieved:item:item-8bd12881-6dbe-4520-999b-31517afb33fb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2021-06-21 22:35:07 |
2021-06-21 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:07 | ------------------------------------ 2021-06-21 22:35:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-21 22:35:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-9b7690ca-41f8-448f-8011-7d1eb67b2624</value><value>test</value><value>node-e3779ec3-1641-41bf-b487-4b11eb66b544</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-06-21 22:35:07 |
2021-06-21 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:07 | ------------------------------------ 2021-06-21 22:35:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e3779ec3-1641-41bf-b487-4b11eb66b544)</node-pattern></data> 2021-06-21 22:35:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.189s |
2021-06-21 22:35:05 |
2021-06-21 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:05 | ------------------------------------ 2021-06-21 22:35:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e3779ec3-1641-41bf-b487-4b11eb66b544</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-21 22:35:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.234s |
2021-06-21 22:35:07 |
2021-06-21 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:35:07 | ------------------------------------ 2021-06-21 22:35:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e3779ec3-1641-41bf-b487-4b11eb66b544</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-21 22:35:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |