Test duration : 9.562s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.077s |
2022-09-18 22:35:20 |
2022-09-18 22:35:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:20 | ------------------------------------ 2022-09-18 22:35:20 | [Mutex] waiting for: [configured:node:node-d63a674b-096b-4bad-9c33-a7cc5620d3c3:node-80a21aaf-a2f7-41f2-9384-654f0c648e4b] 2022-09-18 22:35:20 | [Mutex] received everything. 2022-09-18 22:35:20 | [Mutex] isItemNotified: configured:node:node-d63a674b-096b-4bad-9c33-a7cc5620d3c3:node-80a21aaf-a2f7-41f2-9384-654f0c648e4b :: true 2022-09-18 22:35:21 | [Mutex] waiting for: [received:nodes:e3eb2b38-f4e9-476c-a189-36c8b62b5e7b:localhost] 2022-09-18 22:35:21 | [Mutex] received everything. 2022-09-18 22:35:21 | [Mutex] isItemNotified: received:node:e3eb2b38-f4e9-476c-a189-36c8b62b5e7b:localhost:node-d63a674b-096b-4bad-9c33-a7cc5620d3c3:Node d63a674b-096b-4bad-9c33-a7cc5620d3c3 :: true 2022-09-18 22:35:21 | [Mutex] waiting for: [received:nodes:e88e4726-da1c-4a81-94d1-fef92bc75ab7:localhost] 2022-09-18 22:35:21 | [Mutex] received everything. 2022-09-18 22:35:21 | [Mutex] isItemNotified: received:node:e88e4726-da1c-4a81-94d1-fef92bc75ab7:localhost:node-d63a674b-096b-4bad-9c33-a7cc5620d3c3:Node d63a674b-096b-4bad-9c33-a7cc5620d3c3 :: false |
createNodes | 1.506s |
2022-09-18 22:35:17 |
2022-09-18 22:35:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:17 | ------------------------------------ 2022-09-18 22:35:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d63a674b-096b-4bad-9c33-a7cc5620d3c3</title></pubsub></data> 2022-09-18 22:35:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-18 22:35:19 | [Mutex] waiting for: [received:nodes:7a7d24d2-cae6-47db-b0b3-2714366cdaf4:localhost] 2022-09-18 22:35:19 | [Mutex] received everything. 2022-09-18 22:35:19 | [Mutex] isItemNotified: received:node:7a7d24d2-cae6-47db-b0b3-2714366cdaf4:localhost:node-d63a674b-096b-4bad-9c33-a7cc5620d3c3:Node d63a674b-096b-4bad-9c33-a7cc5620d3c3 :: true |
createSubnodes | 1.021s |
2022-09-18 22:35:19 |
2022-09-18 22:35:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:19 | ------------------------------------ 2022-09-18 22:35:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-80a21aaf-a2f7-41f2-9384-654f0c648e4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 80a21aaf-a2f7-41f2-9384-654f0c648e4b</title></pubsub></data> 2022-09-18 22:35:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-18 22:35:20 | [Mutex] waiting for: [received:nodes:2931f226-ac24-4e8b-9df7-e9572a7e5e30:localhost] 2022-09-18 22:35:20 | [Mutex] received everything. 2022-09-18 22:35:20 | [Mutex] isItemNotified: received:node:2931f226-ac24-4e8b-9df7-e9572a7e5e30:localhost:node-80a21aaf-a2f7-41f2-9384-654f0c648e4b:Node 80a21aaf-a2f7-41f2-9384-654f0c648e4b :: true |
deleteNodes | 1.016s |
2022-09-18 22:35:25 |
2022-09-18 22:35:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:25 | ------------------------------------ 2022-09-18 22:35:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-80a21aaf-a2f7-41f2-9384-654f0c648e4b</node></data> 2022-09-18 22:35:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-18 22:35:26 | [Mutex] waiting for: [received:nodes:d36515f2-eb23-4b5d-bb59-2a2fd632e845:localhost] 2022-09-18 22:35:26 | [Mutex] waiting for: [received:nodes:d36515f2-eb23-4b5d-bb59-2a2fd632e845:localhost] 2022-09-18 22:35:26 | [Mutex] received everything. 2022-09-18 22:35:26 | [Mutex] isItemNotified: received:node:d36515f2-eb23-4b5d-bb59-2a2fd632e845:localhost:node-80a21aaf-a2f7-41f2-9384-654f0c648e4b:Node 80a21aaf-a2f7-41f2-9384-654f0c648e4b :: false |
deleteSubnodes | 1.121s |
2022-09-18 22:35:24 |
2022-09-18 22:35:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:24 | ------------------------------------ 2022-09-18 22:35:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</node></data> 2022-09-18 22:35:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-18 22:35:25 | [Mutex] waiting for: [received:nodes:8359e0d1-74b9-40d1-9e34-e19813ea5e97:localhost] 2022-09-18 22:35:25 | [Mutex] received everything. 2022-09-18 22:35:25 | [Mutex] isItemNotified: received:node:8359e0d1-74b9-40d1-9e34-e19813ea5e97:localhost:node-d63a674b-096b-4bad-9c33-a7cc5620d3c3:Node d63a674b-096b-4bad-9c33-a7cc5620d3c3 :: false 2022-09-18 22:35:25 | [Mutex] waiting for: [received:nodes:b2d546de-ae99-4571-af05-76f4bc603bf0:localhost] 2022-09-18 22:35:25 | [Mutex] received everything. 2022-09-18 22:35:25 | [Mutex] isItemNotified: received:node:b2d546de-ae99-4571-af05-76f4bc603bf0:localhost:node-d63a674b-096b-4bad-9c33-a7cc5620d3c3:Node d63a674b-096b-4bad-9c33-a7cc5620d3c3 :: false |
publishItemsToNodes | 0.205s |
2022-09-18 22:35:22 |
2022-09-18 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:22 | ------------------------------------ 2022-09-18 22:35:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</node><item-id>item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</item-id><entry><test>item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</test></entry></data> 2022-09-18 22:35:22 | 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-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</value></item-id></result> 2022-09-18 22:35:22 | [Mutex] waiting for: [published:item:notifieditem-d6fefbc5-e58f-4795-9ea6-8376daefa6f2:admin@test-domain.com] 2022-09-18 22:35:22 | [Mutex] received everything. 2022-09-18 22:35:22 | [Mutex] isItemNotified: published:item:notifieditem-d6fefbc5-e58f-4795-9ea6-8376daefa6f2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.312s |
2022-09-18 22:35:23 |
2022-09-18 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:23 | ------------------------------------ 2022-09-18 22:35:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</node><item-id>item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</item-id></data> 2022-09-18 22:35:23 | 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-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</value></item-id></result> 2022-09-18 22:35:23 | [Mutex] received everything. 2022-09-18 22:35:23 | [Mutex] isItemNotified: retracted:item:notifieditem-d6fefbc5-e58f-4795-9ea6-8376daefa6f2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.242s |
2022-09-18 22:35:22 |
2022-09-18 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:22 | ------------------------------------ 2022-09-18 22:35:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</node><item-id>item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</item-id></data> 2022-09-18 22:35:23 | 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-d63a674b-096b-4bad-9c33-a7cc5620d3c3</value></node><item-id type="text-single" label="Item ID"><value>item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</value></item-id><item type="text-multi" label="Item"><value><item id="item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2"><test>item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2</test></item></value></item></result> 2022-09-18 22:35:23 | [Mutex] notify: [retrieved:item:item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2:payload-matches:true:localhost] 2022-09-18 22:35:23 | [Mutex] received everything. 2022-09-18 22:35:23 | [Mutex] isItemNotified: retrieved:item:item-d6fefbc5-e58f-4795-9ea6-8376daefa6f2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-09-18 22:35:23 |
2022-09-18 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:23 | ------------------------------------ 2022-09-18 22:35:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-18 22:35:23 | 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-80a21aaf-a2f7-41f2-9384-654f0c648e4b</value><value>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-09-18 22:35:23 |
2022-09-18 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:23 | ------------------------------------ 2022-09-18 22:35:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d63a674b-096b-4bad-9c33-a7cc5620d3c3)</node-pattern></data> 2022-09-18 22:35:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.113s |
2022-09-18 22:35:21 |
2022-09-18 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:21 | ------------------------------------ 2022-09-18 22:35:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-18 22:35:21 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.204s |
2022-09-18 22:35:23 |
2022-09-18 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-18 22:35:23 | ------------------------------------ 2022-09-18 22:35:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d63a674b-096b-4bad-9c33-a7cc5620d3c3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-18 22:35:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |