Test duration : 10.443s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2021-05-12 22:59:57 |
2021-05-12 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:59:57 | ------------------------------------ 2021-05-12 22:59:57 | [Mutex] waiting for: [configured:node:node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900:node-8a9296aa-39ad-41dd-839a-a4dfdc448c9b] 2021-05-12 22:59:57 | [Mutex] received everything. 2021-05-12 22:59:57 | [Mutex] isItemNotified: configured:node:node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900:node-8a9296aa-39ad-41dd-839a-a4dfdc448c9b :: true 2021-05-12 22:59:58 | [Mutex] waiting for: [received:nodes:88f054fc-ea60-47c5-8de5-dc086bd6181c:localhost] 2021-05-12 22:59:58 | [Mutex] received everything. 2021-05-12 22:59:58 | [Mutex] isItemNotified: received:node:88f054fc-ea60-47c5-8de5-dc086bd6181c:localhost:node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900:Node d2ef505e-077a-4e7a-9c0e-7a0b790aa900 :: true 2021-05-12 22:59:58 | [Mutex] waiting for: [received:nodes:a8e672f5-64d9-4ffe-8640-fd92dd6b1a4e:localhost] 2021-05-12 22:59:58 | [Mutex] received everything. 2021-05-12 22:59:58 | [Mutex] isItemNotified: received:node:a8e672f5-64d9-4ffe-8640-fd92dd6b1a4e:localhost:node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900:Node d2ef505e-077a-4e7a-9c0e-7a0b790aa900 :: false |
createNodes | 1.583s |
2021-05-12 22:59:54 |
2021-05-12 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:59:54 | ------------------------------------ 2021-05-12 22:59:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d2ef505e-077a-4e7a-9c0e-7a0b790aa900</title></pubsub></data> 2021-05-12 22:59:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 22:59:56 | [Mutex] waiting for: [received:nodes:1179109d-008d-4ac4-b5a0-2a9c1bb44f2d:localhost] 2021-05-12 22:59:56 | [Mutex] received everything. 2021-05-12 22:59:56 | [Mutex] isItemNotified: received:node:1179109d-008d-4ac4-b5a0-2a9c1bb44f2d:localhost:node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900:Node d2ef505e-077a-4e7a-9c0e-7a0b790aa900 :: true |
createSubnodes | 1.039s |
2021-05-12 22:59:56 |
2021-05-12 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:59:56 | ------------------------------------ 2021-05-12 22:59:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8a9296aa-39ad-41dd-839a-a4dfdc448c9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8a9296aa-39ad-41dd-839a-a4dfdc448c9b</title></pubsub></data> 2021-05-12 22:59:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 22:59:57 | [Mutex] waiting for: [received:nodes:543ac6bb-3b49-497b-bd27-327ecc34838f:localhost] 2021-05-12 22:59:57 | [Mutex] received everything. 2021-05-12 22:59:57 | [Mutex] isItemNotified: received:node:543ac6bb-3b49-497b-bd27-327ecc34838f:localhost:node-8a9296aa-39ad-41dd-839a-a4dfdc448c9b:Node 8a9296aa-39ad-41dd-839a-a4dfdc448c9b :: true |
deleteNodes | 1.022s |
2021-05-12 23:00:03 |
2021-05-12 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 23:00:03 | ------------------------------------ 2021-05-12 23:00:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8a9296aa-39ad-41dd-839a-a4dfdc448c9b</node></data> 2021-05-12 23:00:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 23:00:04 | [Mutex] waiting for: [received:nodes:dcfa8e4c-1434-40e8-9dea-8bb29015012d:localhost] 2021-05-12 23:00:04 | [Mutex] waiting for: [received:nodes:dcfa8e4c-1434-40e8-9dea-8bb29015012d:localhost] 2021-05-12 23:00:04 | [Mutex] received everything. 2021-05-12 23:00:04 | [Mutex] isItemNotified: received:node:dcfa8e4c-1434-40e8-9dea-8bb29015012d:localhost:node-8a9296aa-39ad-41dd-839a-a4dfdc448c9b:Node 8a9296aa-39ad-41dd-839a-a4dfdc448c9b :: false |
deleteSubnodes | 1.193s |
2021-05-12 23:00:02 |
2021-05-12 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 23:00:02 | ------------------------------------ 2021-05-12 23:00:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</node></data> 2021-05-12 23:00:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-12 23:00:03 | [Mutex] waiting for: [received:nodes:c7bfb5ca-476f-45c6-968b-12ef6d1c43a9:localhost] 2021-05-12 23:00:03 | [Mutex] received everything. 2021-05-12 23:00:03 | [Mutex] isItemNotified: received:node:c7bfb5ca-476f-45c6-968b-12ef6d1c43a9:localhost:node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900:Node d2ef505e-077a-4e7a-9c0e-7a0b790aa900 :: false 2021-05-12 23:00:03 | [Mutex] waiting for: [received:nodes:d753f51b-a7fc-488b-b08b-d2a842b9b675:localhost] 2021-05-12 23:00:03 | [Mutex] received everything. 2021-05-12 23:00:03 | [Mutex] isItemNotified: received:node:d753f51b-a7fc-488b-b08b-d2a842b9b675:localhost:node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900:Node d2ef505e-077a-4e7a-9c0e-7a0b790aa900 :: false |
publishItemsToNodes | 0.277s |
2021-05-12 22:59:59 |
2021-05-12 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:59:59 | ------------------------------------ 2021-05-12 22:59:59 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</node><item-id>item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</item-id><entry><test>item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</test></entry></data> 2021-05-12 23:00:00 | 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-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</value></item-id></result> 2021-05-12 23:00:00 | [Mutex] waiting for: [published:item:notifieditem-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94:admin@test-domain.com] 2021-05-12 23:00:00 | [Mutex] received everything. 2021-05-12 23:00:00 | [Mutex] isItemNotified: published:item:notifieditem-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94:admin@test-domain.com :: true |
retractItemsFromNodes | 0.375s |
2021-05-12 23:00:00 |
2021-05-12 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 23:00:00 | ------------------------------------ 2021-05-12 23:00:00 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</node><item-id>item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</item-id></data> 2021-05-12 23:00:00 | 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-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</value></item-id></result> 2021-05-12 23:00:00 | [Mutex] received everything. 2021-05-12 23:00:00 | [Mutex] isItemNotified: retracted:item:notifieditem-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.347s |
2021-05-12 23:00:00 |
2021-05-12 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 23:00:00 | ------------------------------------ 2021-05-12 23:00:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</node><item-id>item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</item-id></data> 2021-05-12 23:00:00 | 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-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</value></node><item-id type="text-single" label="Item ID"><value>item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</value></item-id><item type="text-multi" label="Item"><value><item id="item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94"><test>item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94</test></item></value></item></result> 2021-05-12 23:00:00 | [Mutex] notify: [retrieved:item:item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94:payload-matches:true:localhost] 2021-05-12 23:00:00 | [Mutex] received everything. 2021-05-12 23:00:00 | [Mutex] isItemNotified: retrieved:item:item-7ce717ab-ec3f-4b9f-a7c5-8556a3c7ea94:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-12 23:00:00 |
2021-05-12 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 23:00:00 | ------------------------------------ 2021-05-12 23:00:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-12 23:00:00 | 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-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</value><value>node-8a9296aa-39ad-41dd-839a-a4dfdc448c9b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-05-12 23:00:00 |
2021-05-12 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 23:00:00 | ------------------------------------ 2021-05-12 23:00:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900)</node-pattern></data> 2021-05-12 23:00:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.178s |
2021-05-12 22:59:58 |
2021-05-12 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 22:59:58 | ------------------------------------ 2021-05-12 22:59:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-12 22:59:58 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.288s |
2021-05-12 23:00:00 |
2021-05-12 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-12 23:00:00 | ------------------------------------ 2021-05-12 23:00:00 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d2ef505e-077a-4e7a-9c0e-7a0b790aa900</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-12 23:00:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |