Test duration : 10.559s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.143s |
2020-10-29 22:28:10 |
2020-10-29 22:28:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:10 | ------------------------------------ 2020-10-29 22:28:10 | [Mutex] waiting for: [configured:node:node-de7bfb77-2532-43c2-aa45-145495627568:node-36e7e013-02d5-427b-8d53-880fccb35c1b] 2020-10-29 22:28:10 | [Mutex] received everything. 2020-10-29 22:28:10 | [Mutex] isItemNotified: configured:node:node-de7bfb77-2532-43c2-aa45-145495627568:node-36e7e013-02d5-427b-8d53-880fccb35c1b :: true 2020-10-29 22:28:11 | [Mutex] waiting for: [received:nodes:12789ad9-73c3-433b-b98c-f0b80a91a801:localhost] 2020-10-29 22:28:11 | [Mutex] received everything. 2020-10-29 22:28:11 | [Mutex] isItemNotified: received:node:12789ad9-73c3-433b-b98c-f0b80a91a801:localhost:node-de7bfb77-2532-43c2-aa45-145495627568:Node de7bfb77-2532-43c2-aa45-145495627568 :: true 2020-10-29 22:28:11 | [Mutex] waiting for: [received:nodes:9cddf973-5c8e-4845-88ff-5fe286fb3c71:localhost] 2020-10-29 22:28:11 | [Mutex] received everything. 2020-10-29 22:28:11 | [Mutex] isItemNotified: received:node:9cddf973-5c8e-4845-88ff-5fe286fb3c71:localhost:node-de7bfb77-2532-43c2-aa45-145495627568:Node de7bfb77-2532-43c2-aa45-145495627568 :: false |
createNodes | 1.546s |
2020-10-29 22:28:07 |
2020-10-29 22:28:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:07 | ------------------------------------ 2020-10-29 22:28:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-de7bfb77-2532-43c2-aa45-145495627568</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node de7bfb77-2532-43c2-aa45-145495627568</title></pubsub></data> 2020-10-29 22:28:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:28:09 | [Mutex] waiting for: [received:nodes:567e1061-de84-415d-8d59-2edbd902f4f6:localhost] 2020-10-29 22:28:09 | [Mutex] received everything. 2020-10-29 22:28:09 | [Mutex] isItemNotified: received:node:567e1061-de84-415d-8d59-2edbd902f4f6:localhost:node-de7bfb77-2532-43c2-aa45-145495627568:Node de7bfb77-2532-43c2-aa45-145495627568 :: true |
createSubnodes | 1.029s |
2020-10-29 22:28:09 |
2020-10-29 22:28:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:09 | ------------------------------------ 2020-10-29 22:28:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-36e7e013-02d5-427b-8d53-880fccb35c1b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 36e7e013-02d5-427b-8d53-880fccb35c1b</title></pubsub></data> 2020-10-29 22:28:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:28:10 | [Mutex] waiting for: [received:nodes:9163befe-11f3-463b-ae95-3e0165c13294:localhost] 2020-10-29 22:28:10 | [Mutex] received everything. 2020-10-29 22:28:10 | [Mutex] isItemNotified: received:node:9163befe-11f3-463b-ae95-3e0165c13294:localhost:node-36e7e013-02d5-427b-8d53-880fccb35c1b:Node 36e7e013-02d5-427b-8d53-880fccb35c1b :: true |
deleteNodes | 1.023s |
2020-10-29 22:28:15 |
2020-10-29 22:28:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:15 | ------------------------------------ 2020-10-29 22:28:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-36e7e013-02d5-427b-8d53-880fccb35c1b</node></data> 2020-10-29 22:28:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:28:16 | [Mutex] waiting for: [received:nodes:48deacc5-851c-40fc-a44a-8eeb8341ce56:localhost] 2020-10-29 22:28:16 | [Mutex] received everything. 2020-10-29 22:28:16 | [Mutex] isItemNotified: received:node:48deacc5-851c-40fc-a44a-8eeb8341ce56:localhost:node-36e7e013-02d5-427b-8d53-880fccb35c1b:Node 36e7e013-02d5-427b-8d53-880fccb35c1b :: false |
deleteSubnodes | 1.157s |
2020-10-29 22:28:14 |
2020-10-29 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:14 | ------------------------------------ 2020-10-29 22:28:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-de7bfb77-2532-43c2-aa45-145495627568</node></data> 2020-10-29 22:28:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:28:15 | [Mutex] waiting for: [received:nodes:946c5705-c9fa-4970-b13f-8efd490eaa69:localhost] 2020-10-29 22:28:15 | [Mutex] received everything. 2020-10-29 22:28:15 | [Mutex] isItemNotified: received:node:946c5705-c9fa-4970-b13f-8efd490eaa69:localhost:node-de7bfb77-2532-43c2-aa45-145495627568:Node de7bfb77-2532-43c2-aa45-145495627568 :: false 2020-10-29 22:28:15 | [Mutex] waiting for: [received:nodes:99e60702-5080-4604-bd27-6f538f40593f:localhost] 2020-10-29 22:28:15 | [Mutex] received everything. 2020-10-29 22:28:15 | [Mutex] isItemNotified: received:node:99e60702-5080-4604-bd27-6f538f40593f:localhost:node-de7bfb77-2532-43c2-aa45-145495627568:Node de7bfb77-2532-43c2-aa45-145495627568 :: false |
publishItemsToNodes | 0.213s |
2020-10-29 22:28:12 |
2020-10-29 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:12 | ------------------------------------ 2020-10-29 22:28:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-de7bfb77-2532-43c2-aa45-145495627568</node><item-id>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</item-id><entry><test>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</test></entry></data> 2020-10-29 22:28:12 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</value></item-id></result> 2020-10-29 22:28:12 | [Mutex] waiting for: [published:item:notifieditem-8e5049b0-54e7-48ea-ad42-6a40a76cd134:admin@test-domain.com] 2020-10-29 22:28:12 | [Mutex] received everything. 2020-10-29 22:28:12 | [Mutex] isItemNotified: published:item:notifieditem-8e5049b0-54e7-48ea-ad42-6a40a76cd134:admin@test-domain.com :: true |
retractItemsFromNodes | 0.274s |
2020-10-29 22:28:13 |
2020-10-29 22:28:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:13 | ------------------------------------ 2020-10-29 22:28:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-de7bfb77-2532-43c2-aa45-145495627568</node><item-id>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</item-id></data> 2020-10-29 22:28:13 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</value></item-id></result> 2020-10-29 22:28:13 | [Mutex] waiting for: [retracted:item:notifieditem-8e5049b0-54e7-48ea-ad42-6a40a76cd134:admin@test-domain.com] 2020-10-29 22:28:13 | [Mutex] received everything. 2020-10-29 22:28:13 | [Mutex] isItemNotified: retracted:item:notifieditem-8e5049b0-54e7-48ea-ad42-6a40a76cd134:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.371s |
2020-10-29 22:28:12 |
2020-10-29 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:12 | ------------------------------------ 2020-10-29 22:28:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-de7bfb77-2532-43c2-aa45-145495627568</node><item-id>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</item-id></data> 2020-10-29 22:28:13 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-de7bfb77-2532-43c2-aa45-145495627568</value></node><item-id label="Item ID" type="text-single"><value>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</value></item-id><item label="Item" type="text-multi"><value><item id="item-8e5049b0-54e7-48ea-ad42-6a40a76cd134"><test>item-8e5049b0-54e7-48ea-ad42-6a40a76cd134</test></item></value></item></result> 2020-10-29 22:28:13 | [Mutex] notify: [retrieved:item:item-8e5049b0-54e7-48ea-ad42-6a40a76cd134:payload-matches:true:localhost] 2020-10-29 22:28:13 | [Mutex] received everything. 2020-10-29 22:28:13 | [Mutex] isItemNotified: retrieved:item:item-8e5049b0-54e7-48ea-ad42-6a40a76cd134:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.060s |
2020-10-29 22:28:13 |
2020-10-29 22:28:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:13 | ------------------------------------ 2020-10-29 22:28:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-29 22:28:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-36e7e013-02d5-427b-8d53-880fccb35c1b</value><value>test</value><value>node-de7bfb77-2532-43c2-aa45-145495627568</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.064s |
2020-10-29 22:28:13 |
2020-10-29 22:28:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:13 | ------------------------------------ 2020-10-29 22:28:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-de7bfb77-2532-43c2-aa45-145495627568)</node-pattern></data> 2020-10-29 22:28:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.129s |
2020-10-29 22:28:11 |
2020-10-29 22:28:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:11 | ------------------------------------ 2020-10-29 22:28:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-de7bfb77-2532-43c2-aa45-145495627568</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-29 22:28:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.316s |
2020-10-29 22:28:13 |
2020-10-29 22:28:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:28:13 | ------------------------------------ 2020-10-29 22:28:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-de7bfb77-2532-43c2-aa45-145495627568</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-29 22:28:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |