Test duration : 9.557s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-08-22 22:32:59 |
2022-08-22 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:32:59 | ------------------------------------ 2022-08-22 22:32:59 | [Mutex] waiting for: [configured:node:node-e67104d8-3e37-4929-9504-8011a206f63e:node-a25f277a-d779-4db5-868b-51c30299fed7] 2022-08-22 22:32:59 | [Mutex] received everything. 2022-08-22 22:32:59 | [Mutex] isItemNotified: configured:node:node-e67104d8-3e37-4929-9504-8011a206f63e:node-a25f277a-d779-4db5-868b-51c30299fed7 :: true 2022-08-22 22:33:00 | [Mutex] waiting for: [received:nodes:70fbcd17-f0ff-469d-956d-354c739ce340:localhost] 2022-08-22 22:33:00 | [Mutex] received everything. 2022-08-22 22:33:00 | [Mutex] isItemNotified: received:node:70fbcd17-f0ff-469d-956d-354c739ce340:localhost:node-e67104d8-3e37-4929-9504-8011a206f63e:Node e67104d8-3e37-4929-9504-8011a206f63e :: true 2022-08-22 22:33:00 | [Mutex] waiting for: [received:nodes:f45f337b-d099-4144-bc22-d5db50a14381:localhost] 2022-08-22 22:33:00 | [Mutex] waiting for: [received:nodes:f45f337b-d099-4144-bc22-d5db50a14381:localhost] 2022-08-22 22:33:00 | [Mutex] received everything. 2022-08-22 22:33:00 | [Mutex] isItemNotified: received:node:f45f337b-d099-4144-bc22-d5db50a14381:localhost:node-e67104d8-3e37-4929-9504-8011a206f63e:Node e67104d8-3e37-4929-9504-8011a206f63e :: false |
createNodes | 1.521s |
2022-08-22 22:32:56 |
2022-08-22 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:32:56 | ------------------------------------ 2022-08-22 22:32:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e67104d8-3e37-4929-9504-8011a206f63e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e67104d8-3e37-4929-9504-8011a206f63e</title></pubsub></data> 2022-08-22 22:32:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:32:58 | [Mutex] waiting for: [received:nodes:69871ec3-917b-43d7-a25a-c53610ed00a0:localhost] 2022-08-22 22:32:58 | [Mutex] received everything. 2022-08-22 22:32:58 | [Mutex] isItemNotified: received:node:69871ec3-917b-43d7-a25a-c53610ed00a0:localhost:node-e67104d8-3e37-4929-9504-8011a206f63e:Node e67104d8-3e37-4929-9504-8011a206f63e :: true |
createSubnodes | 1.027s |
2022-08-22 22:32:58 |
2022-08-22 22:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:32:58 | ------------------------------------ 2022-08-22 22:32:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a25f277a-d779-4db5-868b-51c30299fed7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a25f277a-d779-4db5-868b-51c30299fed7</title></pubsub></data> 2022-08-22 22:32:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:32:59 | [Mutex] waiting for: [received:nodes:37c21650-3d57-461a-8615-9ece34fc5219:localhost] 2022-08-22 22:32:59 | [Mutex] waiting for: [received:nodes:37c21650-3d57-461a-8615-9ece34fc5219:localhost] 2022-08-22 22:32:59 | [Mutex] waiting for: [received:nodes:37c21650-3d57-461a-8615-9ece34fc5219:localhost] 2022-08-22 22:32:59 | [Mutex] waiting for: [received:nodes:37c21650-3d57-461a-8615-9ece34fc5219:localhost] 2022-08-22 22:32:59 | [Mutex] waiting for: [received:nodes:37c21650-3d57-461a-8615-9ece34fc5219:localhost] 2022-08-22 22:32:59 | [Mutex] received everything. 2022-08-22 22:32:59 | [Mutex] isItemNotified: received:node:37c21650-3d57-461a-8615-9ece34fc5219:localhost:node-a25f277a-d779-4db5-868b-51c30299fed7:Node a25f277a-d779-4db5-868b-51c30299fed7 :: true |
deleteNodes | 1.015s |
2022-08-22 22:33:04 |
2022-08-22 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:04 | ------------------------------------ 2022-08-22 22:33:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a25f277a-d779-4db5-868b-51c30299fed7</node></data> 2022-08-22 22:33:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:33:05 | [Mutex] waiting for: [received:nodes:4c454a64-7348-41af-b1ad-f3e29d4a6741:localhost] 2022-08-22 22:33:05 | [Mutex] waiting for: [received:nodes:4c454a64-7348-41af-b1ad-f3e29d4a6741:localhost] 2022-08-22 22:33:05 | [Mutex] received everything. 2022-08-22 22:33:05 | [Mutex] isItemNotified: received:node:4c454a64-7348-41af-b1ad-f3e29d4a6741:localhost:node-a25f277a-d779-4db5-868b-51c30299fed7:Node a25f277a-d779-4db5-868b-51c30299fed7 :: false |
deleteSubnodes | 1.143s |
2022-08-22 22:33:03 |
2022-08-22 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:03 | ------------------------------------ 2022-08-22 22:33:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e67104d8-3e37-4929-9504-8011a206f63e</node></data> 2022-08-22 22:33:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:33:04 | [Mutex] waiting for: [received:nodes:75a48551-fdde-4ec5-89e0-78da946b184a:localhost] 2022-08-22 22:33:04 | [Mutex] waiting for: [received:nodes:75a48551-fdde-4ec5-89e0-78da946b184a:localhost] 2022-08-22 22:33:04 | [Mutex] received everything. 2022-08-22 22:33:04 | [Mutex] isItemNotified: received:node:75a48551-fdde-4ec5-89e0-78da946b184a:localhost:node-e67104d8-3e37-4929-9504-8011a206f63e:Node e67104d8-3e37-4929-9504-8011a206f63e :: false 2022-08-22 22:33:04 | [Mutex] waiting for: [received:nodes:5ae6af58-bdcc-4b45-b77a-ac65aef170ef:localhost] 2022-08-22 22:33:04 | [Mutex] received everything. 2022-08-22 22:33:04 | [Mutex] isItemNotified: received:node:5ae6af58-bdcc-4b45-b77a-ac65aef170ef:localhost:node-e67104d8-3e37-4929-9504-8011a206f63e:Node e67104d8-3e37-4929-9504-8011a206f63e :: false |
publishItemsToNodes | 0.264s |
2022-08-22 22:33:01 |
2022-08-22 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:01 | ------------------------------------ 2022-08-22 22:33:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e67104d8-3e37-4929-9504-8011a206f63e</node><item-id>item-9c553a3a-2254-4890-ab39-7ee02d6da22e</item-id><entry><test>item-9c553a3a-2254-4890-ab39-7ee02d6da22e</test></entry></data> 2022-08-22 22:33:01 | 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-9c553a3a-2254-4890-ab39-7ee02d6da22e</value></item-id></result> 2022-08-22 22:33:01 | [Mutex] waiting for: [published:item:notifieditem-9c553a3a-2254-4890-ab39-7ee02d6da22e:admin@test-domain.com] 2022-08-22 22:33:01 | [Mutex] received everything. 2022-08-22 22:33:01 | [Mutex] isItemNotified: published:item:notifieditem-9c553a3a-2254-4890-ab39-7ee02d6da22e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2022-08-22 22:33:02 |
2022-08-22 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:02 | ------------------------------------ 2022-08-22 22:33:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e67104d8-3e37-4929-9504-8011a206f63e</node><item-id>item-9c553a3a-2254-4890-ab39-7ee02d6da22e</item-id></data> 2022-08-22 22:33:02 | 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-9c553a3a-2254-4890-ab39-7ee02d6da22e</value></item-id></result> 2022-08-22 22:33:02 | [Mutex] received everything. 2022-08-22 22:33:02 | [Mutex] isItemNotified: retracted:item:notifieditem-9c553a3a-2254-4890-ab39-7ee02d6da22e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.168s |
2022-08-22 22:33:01 |
2022-08-22 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:01 | ------------------------------------ 2022-08-22 22:33:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e67104d8-3e37-4929-9504-8011a206f63e</node><item-id>item-9c553a3a-2254-4890-ab39-7ee02d6da22e</item-id></data> 2022-08-22 22:33:02 | 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-e67104d8-3e37-4929-9504-8011a206f63e</value></node><item-id type="text-single" label="Item ID"><value>item-9c553a3a-2254-4890-ab39-7ee02d6da22e</value></item-id><item type="text-multi" label="Item"><value><item id="item-9c553a3a-2254-4890-ab39-7ee02d6da22e"><test>item-9c553a3a-2254-4890-ab39-7ee02d6da22e</test></item></value></item></result> 2022-08-22 22:33:02 | [Mutex] notify: [retrieved:item:item-9c553a3a-2254-4890-ab39-7ee02d6da22e:payload-matches:true:localhost] 2022-08-22 22:33:02 | [Mutex] received everything. 2022-08-22 22:33:02 | [Mutex] isItemNotified: retrieved:item:item-9c553a3a-2254-4890-ab39-7ee02d6da22e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-08-22 22:33:02 |
2022-08-22 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:02 | ------------------------------------ 2022-08-22 22:33:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-22 22:33:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-e67104d8-3e37-4929-9504-8011a206f63e</value><value>test</value><value>node-a25f277a-d779-4db5-868b-51c30299fed7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-22 22:33:02 |
2022-08-22 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:02 | ------------------------------------ 2022-08-22 22:33:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e67104d8-3e37-4929-9504-8011a206f63e)</node-pattern></data> 2022-08-22 22:33:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.102s |
2022-08-22 22:33:00 |
2022-08-22 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:00 | ------------------------------------ 2022-08-22 22:33:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e67104d8-3e37-4929-9504-8011a206f63e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 22:33:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2022-08-22 22:33:02 |
2022-08-22 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:33:02 | ------------------------------------ 2022-08-22 22:33:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e67104d8-3e37-4929-9504-8011a206f63e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 22:33:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |