Test duration : 9.654s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.115s |
2020-09-09 23:58:52 |
2020-09-09 23:58:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:52 | ------------------------------------ 2020-09-09 23:58:52 | [Mutex] waiting for: [configured:node:node-141e710f-8ba3-487f-8d59-bdd2a3d01866:node-1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd] 2020-09-09 23:58:52 | [Mutex] received everything. 2020-09-09 23:58:52 | [Mutex] isItemNotified: configured:node:node-141e710f-8ba3-487f-8d59-bdd2a3d01866:node-1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd :: true 2020-09-09 23:58:53 | [Mutex] waiting for: [received:nodes:754cbfca-196f-4cba-8eb8-34cb53630dd4:localhost] 2020-09-09 23:58:53 | [Mutex] received everything. 2020-09-09 23:58:53 | [Mutex] isItemNotified: received:node:754cbfca-196f-4cba-8eb8-34cb53630dd4:localhost:node-141e710f-8ba3-487f-8d59-bdd2a3d01866:Node 141e710f-8ba3-487f-8d59-bdd2a3d01866 :: true 2020-09-09 23:58:53 | [Mutex] waiting for: [received:nodes:e61bd4b1-2a12-438d-b3fd-2dfffa1536da:localhost] 2020-09-09 23:58:53 | [Mutex] received everything. 2020-09-09 23:58:53 | [Mutex] isItemNotified: received:node:e61bd4b1-2a12-438d-b3fd-2dfffa1536da:localhost:node-141e710f-8ba3-487f-8d59-bdd2a3d01866:Node 141e710f-8ba3-487f-8d59-bdd2a3d01866 :: false |
createNodes | 1.377s |
2020-09-09 23:58:50 |
2020-09-09 23:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:50 | ------------------------------------ 2020-09-09 23:58:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-141e710f-8ba3-487f-8d59-bdd2a3d01866</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 141e710f-8ba3-487f-8d59-bdd2a3d01866</title></pubsub></data> 2020-09-09 23:58:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 23:58:51 | [Mutex] waiting for: [received:nodes:adde04e1-9b47-47d1-a819-5a3f1ea79e0f:localhost] 2020-09-09 23:58:51 | [Mutex] received everything. 2020-09-09 23:58:51 | [Mutex] isItemNotified: received:node:adde04e1-9b47-47d1-a819-5a3f1ea79e0f:localhost:node-141e710f-8ba3-487f-8d59-bdd2a3d01866:Node 141e710f-8ba3-487f-8d59-bdd2a3d01866 :: true |
createSubnodes | 1.023s |
2020-09-09 23:58:51 |
2020-09-09 23:58:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:51 | ------------------------------------ 2020-09-09 23:58:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd</title></pubsub></data> 2020-09-09 23:58:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 23:58:52 | [Mutex] waiting for: [received:nodes:95d64b0c-a7eb-4f9d-b2e2-c1b1a93e34a7:localhost] 2020-09-09 23:58:52 | [Mutex] received everything. 2020-09-09 23:58:52 | [Mutex] isItemNotified: received:node:95d64b0c-a7eb-4f9d-b2e2-c1b1a93e34a7:localhost:node-1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd:Node 1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd :: true |
deleteNodes | 1.019s |
2020-09-09 23:58:58 |
2020-09-09 23:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:58 | ------------------------------------ 2020-09-09 23:58:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd</node></data> 2020-09-09 23:58:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 23:58:59 | [Mutex] waiting for: [received:nodes:61f318ae-6ca5-4d9d-ba69-de6f25e7b3b6:localhost] 2020-09-09 23:58:59 | [Mutex] received everything. 2020-09-09 23:58:59 | [Mutex] isItemNotified: received:node:61f318ae-6ca5-4d9d-ba69-de6f25e7b3b6:localhost:node-1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd:Node 1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd :: false |
deleteSubnodes | 1.188s |
2020-09-09 23:58:57 |
2020-09-09 23:58:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:57 | ------------------------------------ 2020-09-09 23:58:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-141e710f-8ba3-487f-8d59-bdd2a3d01866</node></data> 2020-09-09 23:58:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 23:58:58 | [Mutex] waiting for: [received:nodes:89e820c4-8c81-44ab-a11b-bec1fcff70c1:localhost] 2020-09-09 23:58:58 | [Mutex] received everything. 2020-09-09 23:58:58 | [Mutex] isItemNotified: received:node:89e820c4-8c81-44ab-a11b-bec1fcff70c1:localhost:node-141e710f-8ba3-487f-8d59-bdd2a3d01866:Node 141e710f-8ba3-487f-8d59-bdd2a3d01866 :: false 2020-09-09 23:58:58 | [Mutex] waiting for: [received:nodes:5e91b19c-0429-4cc4-a3be-321e8a2cd4c4:localhost] 2020-09-09 23:58:58 | [Mutex] received everything. 2020-09-09 23:58:58 | [Mutex] isItemNotified: received:node:5e91b19c-0429-4cc4-a3be-321e8a2cd4c4:localhost:node-141e710f-8ba3-487f-8d59-bdd2a3d01866:Node 141e710f-8ba3-487f-8d59-bdd2a3d01866 :: false |
publishItemsToNodes | 0.182s |
2020-09-09 23:58:55 |
2020-09-09 23:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:55 | ------------------------------------ 2020-09-09 23:58:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-141e710f-8ba3-487f-8d59-bdd2a3d01866</node><item-id>item-a41dc66b-41b5-43b0-b363-00655f653cb7</item-id><entry><test>item-a41dc66b-41b5-43b0-b363-00655f653cb7</test></entry></data> 2020-09-09 23:58:55 | 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-a41dc66b-41b5-43b0-b363-00655f653cb7</value></item-id></result> 2020-09-09 23:58:55 | [Mutex] received everything. 2020-09-09 23:58:55 | [Mutex] isItemNotified: published:item:notifieditem-a41dc66b-41b5-43b0-b363-00655f653cb7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.171s |
2020-09-09 23:58:55 |
2020-09-09 23:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:55 | ------------------------------------ 2020-09-09 23:58:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-141e710f-8ba3-487f-8d59-bdd2a3d01866</node><item-id>item-a41dc66b-41b5-43b0-b363-00655f653cb7</item-id></data> 2020-09-09 23:58:55 | 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-a41dc66b-41b5-43b0-b363-00655f653cb7</value></item-id></result> 2020-09-09 23:58:55 | [Mutex] received everything. 2020-09-09 23:58:55 | [Mutex] isItemNotified: retracted:item:notifieditem-a41dc66b-41b5-43b0-b363-00655f653cb7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.247s |
2020-09-09 23:58:55 |
2020-09-09 23:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:55 | ------------------------------------ 2020-09-09 23:58:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-141e710f-8ba3-487f-8d59-bdd2a3d01866</node><item-id>item-a41dc66b-41b5-43b0-b363-00655f653cb7</item-id></data> 2020-09-09 23:58:55 | 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-141e710f-8ba3-487f-8d59-bdd2a3d01866</value></node><item-id type="text-single" label="Item ID"><value>item-a41dc66b-41b5-43b0-b363-00655f653cb7</value></item-id><item type="text-multi" label="Item"><value><item id="item-a41dc66b-41b5-43b0-b363-00655f653cb7"><test>item-a41dc66b-41b5-43b0-b363-00655f653cb7</test></item></value></item></result> 2020-09-09 23:58:55 | [Mutex] notify: [retrieved:item:item-a41dc66b-41b5-43b0-b363-00655f653cb7:payload-matches:true:localhost] 2020-09-09 23:58:55 | [Mutex] received everything. 2020-09-09 23:58:55 | [Mutex] isItemNotified: retrieved:item:item-a41dc66b-41b5-43b0-b363-00655f653cb7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-09 23:58:55 |
2020-09-09 23:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:55 | ------------------------------------ 2020-09-09 23:58:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-09 23:58:55 | 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-141e710f-8ba3-487f-8d59-bdd2a3d01866</value><value>node-1afb7146-bfea-4c82-9ef3-a2e4e1fbb5bd</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-09-09 23:58:55 |
2020-09-09 23:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:55 | ------------------------------------ 2020-09-09 23:58:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-141e710f-8ba3-487f-8d59-bdd2a3d01866)</node-pattern></data> 2020-09-09 23:58:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.096s |
2020-09-09 23:58:53 |
2020-09-09 23:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:53 | ------------------------------------ 2020-09-09 23:58:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-141e710f-8ba3-487f-8d59-bdd2a3d01866</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-09 23:58:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2020-09-09 23:58:55 |
2020-09-09 23:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 23:58:55 | ------------------------------------ 2020-09-09 23:58:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-141e710f-8ba3-487f-8d59-bdd2a3d01866</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-09 23:58:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |