Test duration : 9.406s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.150s |
2022-08-28 22:33:46 |
2022-08-28 22:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:46 | ------------------------------------ 2022-08-28 22:33:46 | [Mutex] waiting for: [configured:node:node-487c4f32-cb71-421b-879f-aee34241bd97:node-8ea95715-73a6-40bc-bb1d-dbbb93bb3769] 2022-08-28 22:33:46 | [Mutex] received everything. 2022-08-28 22:33:46 | [Mutex] isItemNotified: configured:node:node-487c4f32-cb71-421b-879f-aee34241bd97:node-8ea95715-73a6-40bc-bb1d-dbbb93bb3769 :: true 2022-08-28 22:33:47 | [Mutex] waiting for: [received:nodes:f6634027-4342-4415-8ca9-fb253d817aa9:localhost] 2022-08-28 22:33:47 | [Mutex] received everything. 2022-08-28 22:33:47 | [Mutex] isItemNotified: received:node:f6634027-4342-4415-8ca9-fb253d817aa9:localhost:node-487c4f32-cb71-421b-879f-aee34241bd97:Node 487c4f32-cb71-421b-879f-aee34241bd97 :: true 2022-08-28 22:33:47 | [Mutex] waiting for: [received:nodes:1908da51-ae69-427f-891a-24a90414a92b:localhost] 2022-08-28 22:33:47 | [Mutex] received everything. 2022-08-28 22:33:47 | [Mutex] isItemNotified: received:node:1908da51-ae69-427f-891a-24a90414a92b:localhost:node-487c4f32-cb71-421b-879f-aee34241bd97:Node 487c4f32-cb71-421b-879f-aee34241bd97 :: false |
createNodes | 1.431s |
2022-08-28 22:33:44 |
2022-08-28 22:33:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:44 | ------------------------------------ 2022-08-28 22:33:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-487c4f32-cb71-421b-879f-aee34241bd97</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 487c4f32-cb71-421b-879f-aee34241bd97</title></pubsub></data> 2022-08-28 22:33:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:33:45 | [Mutex] waiting for: [received:nodes:0b3cb2c7-b8ba-4029-bc5f-0685680f07bc:localhost] 2022-08-28 22:33:45 | [Mutex] received everything. 2022-08-28 22:33:45 | [Mutex] isItemNotified: received:node:0b3cb2c7-b8ba-4029-bc5f-0685680f07bc:localhost:node-487c4f32-cb71-421b-879f-aee34241bd97:Node 487c4f32-cb71-421b-879f-aee34241bd97 :: true |
createSubnodes | 1.021s |
2022-08-28 22:33:45 |
2022-08-28 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:45 | ------------------------------------ 2022-08-28 22:33:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8ea95715-73a6-40bc-bb1d-dbbb93bb3769</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8ea95715-73a6-40bc-bb1d-dbbb93bb3769</title></pubsub></data> 2022-08-28 22:33:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:33:46 | [Mutex] waiting for: [received:nodes:b3a68bed-c8b4-416f-b41b-b894a17bfa5b:localhost] 2022-08-28 22:33:46 | [Mutex] received everything. 2022-08-28 22:33:46 | [Mutex] isItemNotified: received:node:b3a68bed-c8b4-416f-b41b-b894a17bfa5b:localhost:node-8ea95715-73a6-40bc-bb1d-dbbb93bb3769:Node 8ea95715-73a6-40bc-bb1d-dbbb93bb3769 :: true |
deleteNodes | 1.017s |
2022-08-28 22:33:52 |
2022-08-28 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:52 | ------------------------------------ 2022-08-28 22:33:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8ea95715-73a6-40bc-bb1d-dbbb93bb3769</node></data> 2022-08-28 22:33:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:33:53 | [Mutex] waiting for: [received:nodes:73254f5b-6ef3-4b24-8da1-556ebb33650a:localhost] 2022-08-28 22:33:53 | [Mutex] received everything. 2022-08-28 22:33:53 | [Mutex] isItemNotified: received:node:73254f5b-6ef3-4b24-8da1-556ebb33650a:localhost:node-8ea95715-73a6-40bc-bb1d-dbbb93bb3769:Node 8ea95715-73a6-40bc-bb1d-dbbb93bb3769 :: false |
deleteSubnodes | 1.129s |
2022-08-28 22:33:50 |
2022-08-28 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:50 | ------------------------------------ 2022-08-28 22:33:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-487c4f32-cb71-421b-879f-aee34241bd97</node></data> 2022-08-28 22:33:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:33:52 | [Mutex] waiting for: [received:nodes:591af12d-e9c3-4766-a5fd-60c8a205c5c7:localhost] 2022-08-28 22:33:52 | [Mutex] received everything. 2022-08-28 22:33:52 | [Mutex] isItemNotified: received:node:591af12d-e9c3-4766-a5fd-60c8a205c5c7:localhost:node-487c4f32-cb71-421b-879f-aee34241bd97:Node 487c4f32-cb71-421b-879f-aee34241bd97 :: false 2022-08-28 22:33:52 | [Mutex] waiting for: [received:nodes:c74f7714-18ac-4d44-b094-79033887d8f4:localhost] 2022-08-28 22:33:52 | [Mutex] received everything. 2022-08-28 22:33:52 | [Mutex] isItemNotified: received:node:c74f7714-18ac-4d44-b094-79033887d8f4:localhost:node-487c4f32-cb71-421b-879f-aee34241bd97:Node 487c4f32-cb71-421b-879f-aee34241bd97 :: false |
publishItemsToNodes | 0.176s |
2022-08-28 22:33:49 |
2022-08-28 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:49 | ------------------------------------ 2022-08-28 22:33:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-487c4f32-cb71-421b-879f-aee34241bd97</node><item-id>item-b9a240d8-3721-4ea3-8307-2294b378e076</item-id><entry><test>item-b9a240d8-3721-4ea3-8307-2294b378e076</test></entry></data> 2022-08-28 22:33:49 | 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-b9a240d8-3721-4ea3-8307-2294b378e076</value></item-id></result> 2022-08-28 22:33:49 | [Mutex] received everything. 2022-08-28 22:33:49 | [Mutex] isItemNotified: published:item:notifieditem-b9a240d8-3721-4ea3-8307-2294b378e076:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2022-08-28 22:33:49 |
2022-08-28 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:49 | ------------------------------------ 2022-08-28 22:33:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-487c4f32-cb71-421b-879f-aee34241bd97</node><item-id>item-b9a240d8-3721-4ea3-8307-2294b378e076</item-id></data> 2022-08-28 22:33:49 | 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-b9a240d8-3721-4ea3-8307-2294b378e076</value></item-id></result> 2022-08-28 22:33:49 | [Mutex] received everything. 2022-08-28 22:33:49 | [Mutex] isItemNotified: retracted:item:notifieditem-b9a240d8-3721-4ea3-8307-2294b378e076:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.178s |
2022-08-28 22:33:49 |
2022-08-28 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:49 | ------------------------------------ 2022-08-28 22:33:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-487c4f32-cb71-421b-879f-aee34241bd97</node><item-id>item-b9a240d8-3721-4ea3-8307-2294b378e076</item-id></data> 2022-08-28 22:33:49 | 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-487c4f32-cb71-421b-879f-aee34241bd97</value></node><item-id type="text-single" label="Item ID"><value>item-b9a240d8-3721-4ea3-8307-2294b378e076</value></item-id><item type="text-multi" label="Item"><value><item id="item-b9a240d8-3721-4ea3-8307-2294b378e076"><test>item-b9a240d8-3721-4ea3-8307-2294b378e076</test></item></value></item></result> 2022-08-28 22:33:49 | [Mutex] notify: [retrieved:item:item-b9a240d8-3721-4ea3-8307-2294b378e076:payload-matches:true:localhost] 2022-08-28 22:33:49 | [Mutex] received everything. 2022-08-28 22:33:49 | [Mutex] isItemNotified: retrieved:item:item-b9a240d8-3721-4ea3-8307-2294b378e076:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-28 22:33:49 |
2022-08-28 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:49 | ------------------------------------ 2022-08-28 22:33:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-28 22:33:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-8ea95715-73a6-40bc-bb1d-dbbb93bb3769</value><value>test</value><value>node-487c4f32-cb71-421b-879f-aee34241bd97</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-28 22:33:49 |
2022-08-28 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:49 | ------------------------------------ 2022-08-28 22:33:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-487c4f32-cb71-421b-879f-aee34241bd97)</node-pattern></data> 2022-08-28 22:33:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.117s |
2022-08-28 22:33:47 |
2022-08-28 22:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:47 | ------------------------------------ 2022-08-28 22:33:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-487c4f32-cb71-421b-879f-aee34241bd97</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-28 22:33:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.183s |
2022-08-28 22:33:49 |
2022-08-28 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:33:49 | ------------------------------------ 2022-08-28 22:33:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-487c4f32-cb71-421b-879f-aee34241bd97</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-28 22:33:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |