Test duration : 10.311s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2021-05-27 22:45:06 |
2021-05-27 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:06 | ------------------------------------ 2021-05-27 22:45:06 | [Mutex] waiting for: [configured:node:node-3d6efb56-25b8-49d6-9a02-de708477656a:node-3f4816d1-0559-4b46-b514-578567efcb94] 2021-05-27 22:45:06 | [Mutex] received everything. 2021-05-27 22:45:06 | [Mutex] isItemNotified: configured:node:node-3d6efb56-25b8-49d6-9a02-de708477656a:node-3f4816d1-0559-4b46-b514-578567efcb94 :: true 2021-05-27 22:45:07 | [Mutex] waiting for: [received:nodes:eb4034ce-874e-4d7f-951e-f44262f82bed:localhost] 2021-05-27 22:45:07 | [Mutex] received everything. 2021-05-27 22:45:07 | [Mutex] isItemNotified: received:node:eb4034ce-874e-4d7f-951e-f44262f82bed:localhost:node-3d6efb56-25b8-49d6-9a02-de708477656a:Node 3d6efb56-25b8-49d6-9a02-de708477656a :: true 2021-05-27 22:45:07 | [Mutex] waiting for: [received:nodes:5247cff9-c425-4b99-ac21-814b1536b913:localhost] 2021-05-27 22:45:07 | [Mutex] received everything. 2021-05-27 22:45:07 | [Mutex] isItemNotified: received:node:5247cff9-c425-4b99-ac21-814b1536b913:localhost:node-3d6efb56-25b8-49d6-9a02-de708477656a:Node 3d6efb56-25b8-49d6-9a02-de708477656a :: false |
createNodes | 1.577s |
2021-05-27 22:45:03 |
2021-05-27 22:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:03 | ------------------------------------ 2021-05-27 22:45:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3d6efb56-25b8-49d6-9a02-de708477656a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3d6efb56-25b8-49d6-9a02-de708477656a</title></pubsub></data> 2021-05-27 22:45:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 22:45:05 | [Mutex] waiting for: [received:nodes:e7c47aa1-0ebd-4026-9ac5-dfee6bec5d0d:localhost] 2021-05-27 22:45:05 | [Mutex] waiting for: [received:nodes:e7c47aa1-0ebd-4026-9ac5-dfee6bec5d0d:localhost] 2021-05-27 22:45:05 | [Mutex] received everything. 2021-05-27 22:45:05 | [Mutex] isItemNotified: received:node:e7c47aa1-0ebd-4026-9ac5-dfee6bec5d0d:localhost:node-3d6efb56-25b8-49d6-9a02-de708477656a:Node 3d6efb56-25b8-49d6-9a02-de708477656a :: true |
createSubnodes | 1.037s |
2021-05-27 22:45:05 |
2021-05-27 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:05 | ------------------------------------ 2021-05-27 22:45:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3f4816d1-0559-4b46-b514-578567efcb94</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3f4816d1-0559-4b46-b514-578567efcb94</title></pubsub></data> 2021-05-27 22:45:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 22:45:06 | [Mutex] waiting for: [received:nodes:a9c4d284-41be-483c-b8a7-a835a57ee70e:localhost] 2021-05-27 22:45:06 | [Mutex] received everything. 2021-05-27 22:45:06 | [Mutex] isItemNotified: received:node:a9c4d284-41be-483c-b8a7-a835a57ee70e:localhost:node-3f4816d1-0559-4b46-b514-578567efcb94:Node 3f4816d1-0559-4b46-b514-578567efcb94 :: true |
deleteNodes | 1.023s |
2021-05-27 22:45:11 |
2021-05-27 22:45:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:11 | ------------------------------------ 2021-05-27 22:45:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3f4816d1-0559-4b46-b514-578567efcb94</node></data> 2021-05-27 22:45:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 22:45:12 | [Mutex] waiting for: [received:nodes:e0975f1e-3d0a-40d5-924f-1848df60b5f0:localhost] 2021-05-27 22:45:12 | [Mutex] waiting for: [received:nodes:e0975f1e-3d0a-40d5-924f-1848df60b5f0:localhost] 2021-05-27 22:45:12 | [Mutex] received everything. 2021-05-27 22:45:12 | [Mutex] isItemNotified: received:node:e0975f1e-3d0a-40d5-924f-1848df60b5f0:localhost:node-3f4816d1-0559-4b46-b514-578567efcb94:Node 3f4816d1-0559-4b46-b514-578567efcb94 :: false |
deleteSubnodes | 1.184s |
2021-05-27 22:45:10 |
2021-05-27 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:10 | ------------------------------------ 2021-05-27 22:45:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3d6efb56-25b8-49d6-9a02-de708477656a</node></data> 2021-05-27 22:45:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 22:45:11 | [Mutex] waiting for: [received:nodes:267abb80-45f1-4562-aab8-03bbe9015587:localhost] 2021-05-27 22:45:11 | [Mutex] waiting for: [received:nodes:267abb80-45f1-4562-aab8-03bbe9015587:localhost] 2021-05-27 22:45:11 | [Mutex] received everything. 2021-05-27 22:45:11 | [Mutex] isItemNotified: received:node:267abb80-45f1-4562-aab8-03bbe9015587:localhost:node-3d6efb56-25b8-49d6-9a02-de708477656a:Node 3d6efb56-25b8-49d6-9a02-de708477656a :: false 2021-05-27 22:45:11 | [Mutex] waiting for: [received:nodes:6496b3a5-5237-46f3-adac-ab3e69285982:localhost] 2021-05-27 22:45:11 | [Mutex] received everything. 2021-05-27 22:45:11 | [Mutex] isItemNotified: received:node:6496b3a5-5237-46f3-adac-ab3e69285982:localhost:node-3d6efb56-25b8-49d6-9a02-de708477656a:Node 3d6efb56-25b8-49d6-9a02-de708477656a :: false |
publishItemsToNodes | 0.273s |
2021-05-27 22:45:08 |
2021-05-27 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:08 | ------------------------------------ 2021-05-27 22:45:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3d6efb56-25b8-49d6-9a02-de708477656a</node><item-id>item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</item-id><entry><test>item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</test></entry></data> 2021-05-27 22:45:08 | 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-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</value></item-id></result> 2021-05-27 22:45:08 | [Mutex] received everything. 2021-05-27 22:45:08 | [Mutex] isItemNotified: published:item:notifieditem-adebbb6a-730c-4614-8466-6f9bbd1c2ad8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.167s |
2021-05-27 22:45:09 |
2021-05-27 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:09 | ------------------------------------ 2021-05-27 22:45:09 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3d6efb56-25b8-49d6-9a02-de708477656a</node><item-id>item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</item-id></data> 2021-05-27 22:45:09 | 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-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</value></item-id></result> 2021-05-27 22:45:09 | [Mutex] received everything. 2021-05-27 22:45:09 | [Mutex] isItemNotified: retracted:item:notifieditem-adebbb6a-730c-4614-8466-6f9bbd1c2ad8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.273s |
2021-05-27 22:45:08 |
2021-05-27 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:08 | ------------------------------------ 2021-05-27 22:45:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3d6efb56-25b8-49d6-9a02-de708477656a</node><item-id>item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</item-id></data> 2021-05-27 22:45:09 | 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-3d6efb56-25b8-49d6-9a02-de708477656a</value></node><item-id type="text-single" label="Item ID"><value>item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</value></item-id><item type="text-multi" label="Item"><value><item id="item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8"><test>item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8</test></item></value></item></result> 2021-05-27 22:45:09 | [Mutex] notify: [retrieved:item:item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8:payload-matches:true:localhost] 2021-05-27 22:45:09 | [Mutex] received everything. 2021-05-27 22:45:09 | [Mutex] isItemNotified: retrieved:item:item-adebbb6a-730c-4614-8466-6f9bbd1c2ad8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-05-27 22:45:09 |
2021-05-27 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:09 | ------------------------------------ 2021-05-27 22:45:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-27 22:45:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-3f4816d1-0559-4b46-b514-578567efcb94</value><value>node-3d6efb56-25b8-49d6-9a02-de708477656a</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-05-27 22:45:09 |
2021-05-27 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:09 | ------------------------------------ 2021-05-27 22:45:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3d6efb56-25b8-49d6-9a02-de708477656a)</node-pattern></data> 2021-05-27 22:45:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.206s |
2021-05-27 22:45:07 |
2021-05-27 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:07 | ------------------------------------ 2021-05-27 22:45:07 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3d6efb56-25b8-49d6-9a02-de708477656a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-27 22:45:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.359s |
2021-05-27 22:45:09 |
2021-05-27 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 22:45:09 | ------------------------------------ 2021-05-27 22:45:09 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3d6efb56-25b8-49d6-9a02-de708477656a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-27 22:45:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |