Test duration : 9.919s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2020-09-27 22:47:09 |
2020-09-27 22:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:09 | ------------------------------------ 2020-09-27 22:47:09 | [Mutex] waiting for: [configured:node:node-ead6343e-0cd8-4d9e-9a98-ab51f0353683:node-a38ff092-6ac6-40c6-be6e-8d55f9c32735] 2020-09-27 22:47:09 | [Mutex] received everything. 2020-09-27 22:47:09 | [Mutex] isItemNotified: configured:node:node-ead6343e-0cd8-4d9e-9a98-ab51f0353683:node-a38ff092-6ac6-40c6-be6e-8d55f9c32735 :: true 2020-09-27 22:47:10 | [Mutex] waiting for: [received:nodes:4cbb7b08-0708-4229-8d08-57562a1c2de1:localhost] 2020-09-27 22:47:10 | [Mutex] received everything. 2020-09-27 22:47:10 | [Mutex] isItemNotified: received:node:4cbb7b08-0708-4229-8d08-57562a1c2de1:localhost:node-ead6343e-0cd8-4d9e-9a98-ab51f0353683:Node ead6343e-0cd8-4d9e-9a98-ab51f0353683 :: true 2020-09-27 22:47:10 | [Mutex] waiting for: [received:nodes:453cb4d4-416d-452e-b1fc-375c209935e1:localhost] 2020-09-27 22:47:10 | [Mutex] waiting for: [received:nodes:453cb4d4-416d-452e-b1fc-375c209935e1:localhost] 2020-09-27 22:47:10 | [Mutex] received everything. 2020-09-27 22:47:10 | [Mutex] isItemNotified: received:node:453cb4d4-416d-452e-b1fc-375c209935e1:localhost:node-ead6343e-0cd8-4d9e-9a98-ab51f0353683:Node ead6343e-0cd8-4d9e-9a98-ab51f0353683 :: false |
createNodes | 1.540s |
2020-09-27 22:47:06 |
2020-09-27 22:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:06 | ------------------------------------ 2020-09-27 22:47:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ead6343e-0cd8-4d9e-9a98-ab51f0353683</title></pubsub></data> 2020-09-27 22:47:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-27 22:47:08 | [Mutex] waiting for: [received:nodes:24694d7a-f6dc-4b10-9caa-2c75365bae94:localhost] 2020-09-27 22:47:08 | [Mutex] received everything. 2020-09-27 22:47:08 | [Mutex] isItemNotified: received:node:24694d7a-f6dc-4b10-9caa-2c75365bae94:localhost:node-ead6343e-0cd8-4d9e-9a98-ab51f0353683:Node ead6343e-0cd8-4d9e-9a98-ab51f0353683 :: true |
createSubnodes | 1.021s |
2020-09-27 22:47:08 |
2020-09-27 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:08 | ------------------------------------ 2020-09-27 22:47:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a38ff092-6ac6-40c6-be6e-8d55f9c32735</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a38ff092-6ac6-40c6-be6e-8d55f9c32735</title></pubsub></data> 2020-09-27 22:47:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-27 22:47:09 | [Mutex] waiting for: [received:nodes:83081cac-8b2b-4acb-8abf-b62133c4e410:localhost] 2020-09-27 22:47:09 | [Mutex] waiting for: [received:nodes:83081cac-8b2b-4acb-8abf-b62133c4e410:localhost] 2020-09-27 22:47:09 | [Mutex] received everything. 2020-09-27 22:47:09 | [Mutex] isItemNotified: received:node:83081cac-8b2b-4acb-8abf-b62133c4e410:localhost:node-a38ff092-6ac6-40c6-be6e-8d55f9c32735:Node a38ff092-6ac6-40c6-be6e-8d55f9c32735 :: true |
deleteNodes | 1.015s |
2020-09-27 22:47:14 |
2020-09-27 22:47:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:14 | ------------------------------------ 2020-09-27 22:47:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a38ff092-6ac6-40c6-be6e-8d55f9c32735</node></data> 2020-09-27 22:47:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-27 22:47:15 | [Mutex] waiting for: [received:nodes:68bccc55-c866-4b03-94cf-f39e69d539d6:localhost] 2020-09-27 22:47:15 | [Mutex] received everything. 2020-09-27 22:47:15 | [Mutex] isItemNotified: received:node:68bccc55-c866-4b03-94cf-f39e69d539d6:localhost:node-a38ff092-6ac6-40c6-be6e-8d55f9c32735:Node a38ff092-6ac6-40c6-be6e-8d55f9c32735 :: false |
deleteSubnodes | 1.146s |
2020-09-27 22:47:13 |
2020-09-27 22:47:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:13 | ------------------------------------ 2020-09-27 22:47:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</node></data> 2020-09-27 22:47:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-27 22:47:14 | [Mutex] waiting for: [received:nodes:35b7379f-adfa-4ddd-b96e-be521829320b:localhost] 2020-09-27 22:47:14 | [Mutex] waiting for: [received:nodes:35b7379f-adfa-4ddd-b96e-be521829320b:localhost] 2020-09-27 22:47:14 | [Mutex] received everything. 2020-09-27 22:47:14 | [Mutex] isItemNotified: received:node:35b7379f-adfa-4ddd-b96e-be521829320b:localhost:node-ead6343e-0cd8-4d9e-9a98-ab51f0353683:Node ead6343e-0cd8-4d9e-9a98-ab51f0353683 :: false 2020-09-27 22:47:14 | [Mutex] waiting for: [received:nodes:9a526a10-0e4d-463f-85cf-aa5d856d019f:localhost] 2020-09-27 22:47:14 | [Mutex] received everything. 2020-09-27 22:47:14 | [Mutex] isItemNotified: received:node:9a526a10-0e4d-463f-85cf-aa5d856d019f:localhost:node-ead6343e-0cd8-4d9e-9a98-ab51f0353683:Node ead6343e-0cd8-4d9e-9a98-ab51f0353683 :: false |
publishItemsToNodes | 0.181s |
2020-09-27 22:47:11 |
2020-09-27 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:11 | ------------------------------------ 2020-09-27 22:47:11 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</node><item-id>item-930719ee-1c07-45d0-96d9-a3f29d7fd364</item-id><entry><test>item-930719ee-1c07-45d0-96d9-a3f29d7fd364</test></entry></data> 2020-09-27 22:47:11 | 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-930719ee-1c07-45d0-96d9-a3f29d7fd364</value></item-id></result> 2020-09-27 22:47:11 | [Mutex] received everything. 2020-09-27 22:47:11 | [Mutex] isItemNotified: published:item:notifieditem-930719ee-1c07-45d0-96d9-a3f29d7fd364:admin@test-domain.com :: true |
retractItemsFromNodes | 0.151s |
2020-09-27 22:47:11 |
2020-09-27 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:11 | ------------------------------------ 2020-09-27 22:47:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</node><item-id>item-930719ee-1c07-45d0-96d9-a3f29d7fd364</item-id></data> 2020-09-27 22:47:11 | 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-930719ee-1c07-45d0-96d9-a3f29d7fd364</value></item-id></result> 2020-09-27 22:47:11 | [Mutex] waiting for: [retracted:item:notifieditem-930719ee-1c07-45d0-96d9-a3f29d7fd364:admin@test-domain.com] 2020-09-27 22:47:12 | [Mutex] received everything. 2020-09-27 22:47:12 | [Mutex] isItemNotified: retracted:item:notifieditem-930719ee-1c07-45d0-96d9-a3f29d7fd364:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.285s |
2020-09-27 22:47:11 |
2020-09-27 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:11 | ------------------------------------ 2020-09-27 22:47:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</node><item-id>item-930719ee-1c07-45d0-96d9-a3f29d7fd364</item-id></data> 2020-09-27 22:47:11 | 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-ead6343e-0cd8-4d9e-9a98-ab51f0353683</value></node><item-id label="Item ID" type="text-single"><value>item-930719ee-1c07-45d0-96d9-a3f29d7fd364</value></item-id><item label="Item" type="text-multi"><value><item id="item-930719ee-1c07-45d0-96d9-a3f29d7fd364"><test>item-930719ee-1c07-45d0-96d9-a3f29d7fd364</test></item></value></item></result> 2020-09-27 22:47:11 | [Mutex] notify: [retrieved:item:item-930719ee-1c07-45d0-96d9-a3f29d7fd364:payload-matches:true:localhost] 2020-09-27 22:47:11 | [Mutex] received everything. 2020-09-27 22:47:11 | [Mutex] isItemNotified: retrieved:item:item-930719ee-1c07-45d0-96d9-a3f29d7fd364:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-27 22:47:11 |
2020-09-27 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:11 | ------------------------------------ 2020-09-27 22:47:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-27 22:47:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a38ff092-6ac6-40c6-be6e-8d55f9c32735</value><value>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-27 22:47:11 |
2020-09-27 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:11 | ------------------------------------ 2020-09-27 22:47:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ead6343e-0cd8-4d9e-9a98-ab51f0353683)</node-pattern></data> 2020-09-27 22:47:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.103s |
2020-09-27 22:47:10 |
2020-09-27 22:47:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:10 | ------------------------------------ 2020-09-27 22:47:10 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-27 22:47:10 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.310s |
2020-09-27 22:47:12 |
2020-09-27 22:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-27 22:47:12 | ------------------------------------ 2020-09-27 22:47:12 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ead6343e-0cd8-4d9e-9a98-ab51f0353683</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-27 22:47:12 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |