Test duration : 9.976s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2020-09-14 22:57:03 |
2020-09-14 22:57:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:03 | ------------------------------------ 2020-09-14 22:57:03 | [Mutex] waiting for: [configured:node:node-7789578a-2723-425f-9a17-4d2b27eea9a0:node-e7be4a54-139f-4f1d-936b-5b310ccb648a] 2020-09-14 22:57:03 | [Mutex] received everything. 2020-09-14 22:57:03 | [Mutex] isItemNotified: configured:node:node-7789578a-2723-425f-9a17-4d2b27eea9a0:node-e7be4a54-139f-4f1d-936b-5b310ccb648a :: true 2020-09-14 22:57:04 | [Mutex] waiting for: [received:nodes:7f77c871-bf7f-4a67-8c1c-f732796a8333:localhost] 2020-09-14 22:57:04 | [Mutex] received everything. 2020-09-14 22:57:04 | [Mutex] isItemNotified: received:node:7f77c871-bf7f-4a67-8c1c-f732796a8333:localhost:node-7789578a-2723-425f-9a17-4d2b27eea9a0:Node 7789578a-2723-425f-9a17-4d2b27eea9a0 :: true 2020-09-14 22:57:04 | [Mutex] waiting for: [received:nodes:facbd945-a004-4936-927e-1ae90a6080ec:localhost] 2020-09-14 22:57:04 | [Mutex] received everything. 2020-09-14 22:57:04 | [Mutex] isItemNotified: received:node:facbd945-a004-4936-927e-1ae90a6080ec:localhost:node-7789578a-2723-425f-9a17-4d2b27eea9a0:Node 7789578a-2723-425f-9a17-4d2b27eea9a0 :: false |
createNodes | 1.509s |
2020-09-14 22:57:01 |
2020-09-14 22:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:01 | ------------------------------------ 2020-09-14 22:57:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7789578a-2723-425f-9a17-4d2b27eea9a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7789578a-2723-425f-9a17-4d2b27eea9a0</title></pubsub></data> 2020-09-14 22:57:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:57:02 | [Mutex] waiting for: [received:nodes:1e82fb11-f3a9-4088-adc8-a30d2f7afc9d:localhost] 2020-09-14 22:57:02 | [Mutex] received everything. 2020-09-14 22:57:02 | [Mutex] isItemNotified: received:node:1e82fb11-f3a9-4088-adc8-a30d2f7afc9d:localhost:node-7789578a-2723-425f-9a17-4d2b27eea9a0:Node 7789578a-2723-425f-9a17-4d2b27eea9a0 :: true |
createSubnodes | 1.029s |
2020-09-14 22:57:02 |
2020-09-14 22:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:02 | ------------------------------------ 2020-09-14 22:57:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e7be4a54-139f-4f1d-936b-5b310ccb648a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e7be4a54-139f-4f1d-936b-5b310ccb648a</title></pubsub></data> 2020-09-14 22:57:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:57:03 | [Mutex] waiting for: [received:nodes:e6528166-782e-4836-9be9-bc9fa52d4a57:localhost] 2020-09-14 22:57:03 | [Mutex] received everything. 2020-09-14 22:57:03 | [Mutex] isItemNotified: received:node:e6528166-782e-4836-9be9-bc9fa52d4a57:localhost:node-e7be4a54-139f-4f1d-936b-5b310ccb648a:Node e7be4a54-139f-4f1d-936b-5b310ccb648a :: true |
deleteNodes | 1.018s |
2020-09-14 22:57:09 |
2020-09-14 22:57:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:09 | ------------------------------------ 2020-09-14 22:57:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e7be4a54-139f-4f1d-936b-5b310ccb648a</node></data> 2020-09-14 22:57:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:57:10 | [Mutex] waiting for: [received:nodes:17f75dd4-5deb-4620-833b-d088b77076eb:localhost] 2020-09-14 22:57:10 | [Mutex] waiting for: [received:nodes:17f75dd4-5deb-4620-833b-d088b77076eb:localhost] 2020-09-14 22:57:10 | [Mutex] received everything. 2020-09-14 22:57:10 | [Mutex] isItemNotified: received:node:17f75dd4-5deb-4620-833b-d088b77076eb:localhost:node-e7be4a54-139f-4f1d-936b-5b310ccb648a:Node e7be4a54-139f-4f1d-936b-5b310ccb648a :: false |
deleteSubnodes | 1.124s |
2020-09-14 22:57:08 |
2020-09-14 22:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:08 | ------------------------------------ 2020-09-14 22:57:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7789578a-2723-425f-9a17-4d2b27eea9a0</node></data> 2020-09-14 22:57:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:57:09 | [Mutex] waiting for: [received:nodes:abd17d80-6cee-450e-bc03-655b91e112c6:localhost] 2020-09-14 22:57:09 | [Mutex] waiting for: [received:nodes:abd17d80-6cee-450e-bc03-655b91e112c6:localhost] 2020-09-14 22:57:09 | [Mutex] received everything. 2020-09-14 22:57:09 | [Mutex] isItemNotified: received:node:abd17d80-6cee-450e-bc03-655b91e112c6:localhost:node-7789578a-2723-425f-9a17-4d2b27eea9a0:Node 7789578a-2723-425f-9a17-4d2b27eea9a0 :: false 2020-09-14 22:57:09 | [Mutex] waiting for: [received:nodes:6e34e735-e4e4-4452-be16-34ecbbf062b5:localhost] 2020-09-14 22:57:09 | [Mutex] received everything. 2020-09-14 22:57:09 | [Mutex] isItemNotified: received:node:6e34e735-e4e4-4452-be16-34ecbbf062b5:localhost:node-7789578a-2723-425f-9a17-4d2b27eea9a0:Node 7789578a-2723-425f-9a17-4d2b27eea9a0 :: false |
publishItemsToNodes | 0.226s |
2020-09-14 22:57:05 |
2020-09-14 22:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:05 | ------------------------------------ 2020-09-14 22:57:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7789578a-2723-425f-9a17-4d2b27eea9a0</node><item-id>item-6e0906fd-9e51-4294-ac46-f6dea778208f</item-id><entry><test>item-6e0906fd-9e51-4294-ac46-f6dea778208f</test></entry></data> 2020-09-14 22:57: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-6e0906fd-9e51-4294-ac46-f6dea778208f</value></item-id></result> 2020-09-14 22:57:06 | [Mutex] waiting for: [published:item:notifieditem-6e0906fd-9e51-4294-ac46-f6dea778208f:admin@test-domain.com] 2020-09-14 22:57:06 | [Mutex] received everything. 2020-09-14 22:57:06 | [Mutex] isItemNotified: published:item:notifieditem-6e0906fd-9e51-4294-ac46-f6dea778208f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.242s |
2020-09-14 22:57:06 |
2020-09-14 22:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:06 | ------------------------------------ 2020-09-14 22:57:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7789578a-2723-425f-9a17-4d2b27eea9a0</node><item-id>item-6e0906fd-9e51-4294-ac46-f6dea778208f</item-id></data> 2020-09-14 22:57:06 | 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-6e0906fd-9e51-4294-ac46-f6dea778208f</value></item-id></result> 2020-09-14 22:57:06 | [Mutex] received everything. 2020-09-14 22:57:06 | [Mutex] isItemNotified: retracted:item:notifieditem-6e0906fd-9e51-4294-ac46-f6dea778208f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.323s |
2020-09-14 22:57:06 |
2020-09-14 22:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:06 | ------------------------------------ 2020-09-14 22:57:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7789578a-2723-425f-9a17-4d2b27eea9a0</node><item-id>item-6e0906fd-9e51-4294-ac46-f6dea778208f</item-id></data> 2020-09-14 22:57:06 | 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-7789578a-2723-425f-9a17-4d2b27eea9a0</value></node><item-id type="text-single" label="Item ID"><value>item-6e0906fd-9e51-4294-ac46-f6dea778208f</value></item-id><item type="text-multi" label="Item"><value><item id="item-6e0906fd-9e51-4294-ac46-f6dea778208f"><test>item-6e0906fd-9e51-4294-ac46-f6dea778208f</test></item></value></item></result> 2020-09-14 22:57:06 | [Mutex] notify: [retrieved:item:item-6e0906fd-9e51-4294-ac46-f6dea778208f:payload-matches:true:localhost] 2020-09-14 22:57:06 | [Mutex] received everything. 2020-09-14 22:57:06 | [Mutex] isItemNotified: retrieved:item:item-6e0906fd-9e51-4294-ac46-f6dea778208f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-14 22:57:06 |
2020-09-14 22:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:06 | ------------------------------------ 2020-09-14 22:57:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-14 22:57:06 | 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-7789578a-2723-425f-9a17-4d2b27eea9a0</value><value>node-e7be4a54-139f-4f1d-936b-5b310ccb648a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-14 22:57:06 |
2020-09-14 22:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:06 | ------------------------------------ 2020-09-14 22:57:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7789578a-2723-425f-9a17-4d2b27eea9a0)</node-pattern></data> 2020-09-14 22:57:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.121s |
2020-09-14 22:57:04 |
2020-09-14 22:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:04 | ------------------------------------ 2020-09-14 22:57:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7789578a-2723-425f-9a17-4d2b27eea9a0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-14 22:57:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.271s |
2020-09-14 22:57:06 |
2020-09-14 22:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:57:06 | ------------------------------------ 2020-09-14 22:57:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7789578a-2723-425f-9a17-4d2b27eea9a0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-14 22:57:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |