Test duration : 10.295s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2021-10-12 22:57:15 |
2021-10-12 22:57:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:15 | ------------------------------------ 2021-10-12 22:57:15 | [Mutex] waiting for: [configured:node:node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed:node-c8d02255-0e0d-4d09-a385-e7cdf2c4a235] 2021-10-12 22:57:15 | [Mutex] received everything. 2021-10-12 22:57:15 | [Mutex] isItemNotified: configured:node:node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed:node-c8d02255-0e0d-4d09-a385-e7cdf2c4a235 :: true 2021-10-12 22:57:16 | [Mutex] waiting for: [received:nodes:03ddf56c-d952-4b67-a431-1ddcac6dfc0b:localhost] 2021-10-12 22:57:16 | [Mutex] received everything. 2021-10-12 22:57:16 | [Mutex] isItemNotified: received:node:03ddf56c-d952-4b67-a431-1ddcac6dfc0b:localhost:node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed:Node 2cc5f76a-b57e-4ad5-8d0f-f680bac734ed :: true 2021-10-12 22:57:16 | [Mutex] waiting for: [received:nodes:8bb25a4b-de3a-477b-9cf2-7a4878f01088:localhost] 2021-10-12 22:57:16 | [Mutex] received everything. 2021-10-12 22:57:16 | [Mutex] isItemNotified: received:node:8bb25a4b-de3a-477b-9cf2-7a4878f01088:localhost:node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed:Node 2cc5f76a-b57e-4ad5-8d0f-f680bac734ed :: false |
createNodes | 1.571s |
2021-10-12 22:57:12 |
2021-10-12 22:57:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:12 | ------------------------------------ 2021-10-12 22:57:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</title></pubsub></data> 2021-10-12 22:57:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:57:13 | [Mutex] waiting for: [received:nodes:84ae081e-94ef-4271-a8fe-349961870a65:localhost] 2021-10-12 22:57:13 | [Mutex] received everything. 2021-10-12 22:57:13 | [Mutex] isItemNotified: received:node:84ae081e-94ef-4271-a8fe-349961870a65:localhost:node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed:Node 2cc5f76a-b57e-4ad5-8d0f-f680bac734ed :: true |
createSubnodes | 1.025s |
2021-10-12 22:57:13 |
2021-10-12 22:57:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:13 | ------------------------------------ 2021-10-12 22:57:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c8d02255-0e0d-4d09-a385-e7cdf2c4a235</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c8d02255-0e0d-4d09-a385-e7cdf2c4a235</title></pubsub></data> 2021-10-12 22:57:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:57:14 | [Mutex] waiting for: [received:nodes:7003c0e8-f70e-4fda-8342-d99a8e22c620:localhost] 2021-10-12 22:57:15 | [Mutex] received everything. 2021-10-12 22:57:15 | [Mutex] isItemNotified: received:node:7003c0e8-f70e-4fda-8342-d99a8e22c620:localhost:node-c8d02255-0e0d-4d09-a385-e7cdf2c4a235:Node c8d02255-0e0d-4d09-a385-e7cdf2c4a235 :: true |
deleteNodes | 1.018s |
2021-10-12 22:57:20 |
2021-10-12 22:57:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:20 | ------------------------------------ 2021-10-12 22:57:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c8d02255-0e0d-4d09-a385-e7cdf2c4a235</node></data> 2021-10-12 22:57:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:57:21 | [Mutex] waiting for: [received:nodes:b4767484-e8db-4e77-8da8-2f4a4f8e2659:localhost] 2021-10-12 22:57:21 | [Mutex] received everything. 2021-10-12 22:57:21 | [Mutex] isItemNotified: received:node:b4767484-e8db-4e77-8da8-2f4a4f8e2659:localhost:node-c8d02255-0e0d-4d09-a385-e7cdf2c4a235:Node c8d02255-0e0d-4d09-a385-e7cdf2c4a235 :: false |
deleteSubnodes | 1.132s |
2021-10-12 22:57:19 |
2021-10-12 22:57:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:19 | ------------------------------------ 2021-10-12 22:57:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</node></data> 2021-10-12 22:57:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:57:20 | [Mutex] waiting for: [received:nodes:5f51fde9-e284-49ef-aeb2-219ab84697c4:localhost] 2021-10-12 22:57:20 | [Mutex] received everything. 2021-10-12 22:57:20 | [Mutex] isItemNotified: received:node:5f51fde9-e284-49ef-aeb2-219ab84697c4:localhost:node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed:Node 2cc5f76a-b57e-4ad5-8d0f-f680bac734ed :: false 2021-10-12 22:57:20 | [Mutex] waiting for: [received:nodes:11047fd6-9a61-424f-9871-be1c5d1d6ec0:localhost] 2021-10-12 22:57:20 | [Mutex] received everything. 2021-10-12 22:57:20 | [Mutex] isItemNotified: received:node:11047fd6-9a61-424f-9871-be1c5d1d6ec0:localhost:node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed:Node 2cc5f76a-b57e-4ad5-8d0f-f680bac734ed :: false |
publishItemsToNodes | 0.259s |
2021-10-12 22:57:17 |
2021-10-12 22:57:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:17 | ------------------------------------ 2021-10-12 22:57:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</node><item-id>item-fb1676f0-3139-472a-beae-a1313edd783c</item-id><entry><test>item-fb1676f0-3139-472a-beae-a1313edd783c</test></entry></data> 2021-10-12 22:57:17 | 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-fb1676f0-3139-472a-beae-a1313edd783c</value></item-id></result> 2021-10-12 22:57:17 | [Mutex] received everything. 2021-10-12 22:57:17 | [Mutex] isItemNotified: published:item:notifieditem-fb1676f0-3139-472a-beae-a1313edd783c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2021-10-12 22:57:18 |
2021-10-12 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:18 | ------------------------------------ 2021-10-12 22:57:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</node><item-id>item-fb1676f0-3139-472a-beae-a1313edd783c</item-id></data> 2021-10-12 22:57:18 | 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-fb1676f0-3139-472a-beae-a1313edd783c</value></item-id></result> 2021-10-12 22:57:18 | [Mutex] waiting for: [retracted:item:notifieditem-fb1676f0-3139-472a-beae-a1313edd783c:admin@test-domain.com] 2021-10-12 22:57:18 | [Mutex] received everything. 2021-10-12 22:57:18 | [Mutex] isItemNotified: retracted:item:notifieditem-fb1676f0-3139-472a-beae-a1313edd783c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.386s |
2021-10-12 22:57:17 |
2021-10-12 22:57:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:17 | ------------------------------------ 2021-10-12 22:57:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</node><item-id>item-fb1676f0-3139-472a-beae-a1313edd783c</item-id></data> 2021-10-12 22:57:17 | 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-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</value></node><item-id label="Item ID" type="text-single"><value>item-fb1676f0-3139-472a-beae-a1313edd783c</value></item-id><item label="Item" type="text-multi"><value><item id="item-fb1676f0-3139-472a-beae-a1313edd783c"><test>item-fb1676f0-3139-472a-beae-a1313edd783c</test></item></value></item></result> 2021-10-12 22:57:17 | [Mutex] notify: [retrieved:item:item-fb1676f0-3139-472a-beae-a1313edd783c:payload-matches:true:localhost] 2021-10-12 22:57:17 | [Mutex] received everything. 2021-10-12 22:57:17 | [Mutex] isItemNotified: retrieved:item:item-fb1676f0-3139-472a-beae-a1313edd783c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-10-12 22:57:17 |
2021-10-12 22:57:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:17 | ------------------------------------ 2021-10-12 22:57:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-12 22:57:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</value><value>node-c8d02255-0e0d-4d09-a385-e7cdf2c4a235</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-10-12 22:57:18 |
2021-10-12 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:18 | ------------------------------------ 2021-10-12 22:57:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed)</node-pattern></data> 2021-10-12 22:57:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.208s |
2021-10-12 22:57:16 |
2021-10-12 22:57:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:16 | ------------------------------------ 2021-10-12 22:57:16 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-12 22:57:16 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.251s |
2021-10-12 22:57:18 |
2021-10-12 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:57:18 | ------------------------------------ 2021-10-12 22:57:18 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2cc5f76a-b57e-4ad5-8d0f-f680bac734ed</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-12 22:57:18 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |