Test duration : 9.385s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2023-07-11 23:00:50 |
2023-07-11 23:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:50 | ------------------------------------ 2023-07-11 23:00:50 | [Mutex] waiting for: [configured:node:node-fa416d89-ad75-4bac-8cca-025eb767347b:node-36097a2f-fcd1-4b11-977f-0b77228cee25] 2023-07-11 23:00:50 | [Mutex] received everything. 2023-07-11 23:00:50 | [Mutex] isItemNotified: configured:node:node-fa416d89-ad75-4bac-8cca-025eb767347b:node-36097a2f-fcd1-4b11-977f-0b77228cee25 :: true 2023-07-11 23:00:51 | [Mutex] waiting for: [received:nodes:05709320-0aa2-46da-86ff-52ba54a02407:localhost] 2023-07-11 23:00:51 | [Mutex] received everything. 2023-07-11 23:00:51 | [Mutex] isItemNotified: received:node:05709320-0aa2-46da-86ff-52ba54a02407:localhost:node-fa416d89-ad75-4bac-8cca-025eb767347b:Node fa416d89-ad75-4bac-8cca-025eb767347b :: true 2023-07-11 23:00:51 | [Mutex] waiting for: [received:nodes:424eb33c-bbf0-46ef-9ad1-f9dc4955943d:localhost] 2023-07-11 23:00:51 | [Mutex] waiting for: [received:nodes:424eb33c-bbf0-46ef-9ad1-f9dc4955943d:localhost] 2023-07-11 23:00:51 | [Mutex] waiting for: [received:nodes:424eb33c-bbf0-46ef-9ad1-f9dc4955943d:localhost] 2023-07-11 23:00:51 | [Mutex] received everything. 2023-07-11 23:00:51 | [Mutex] isItemNotified: received:node:424eb33c-bbf0-46ef-9ad1-f9dc4955943d:localhost:node-fa416d89-ad75-4bac-8cca-025eb767347b:Node fa416d89-ad75-4bac-8cca-025eb767347b :: false |
createNodes | 1.405s |
2023-07-11 23:00:48 |
2023-07-11 23:00:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:48 | ------------------------------------ 2023-07-11 23:00:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fa416d89-ad75-4bac-8cca-025eb767347b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fa416d89-ad75-4bac-8cca-025eb767347b</title></pubsub></data> 2023-07-11 23:00:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:49 | [Mutex] waiting for: [received:nodes:38e8ac0f-c8e5-41bb-86f8-16f3e9dec059:localhost] 2023-07-11 23:00:49 | [Mutex] waiting for: [received:nodes:38e8ac0f-c8e5-41bb-86f8-16f3e9dec059:localhost] 2023-07-11 23:00:49 | [Mutex] waiting for: [received:nodes:38e8ac0f-c8e5-41bb-86f8-16f3e9dec059:localhost] 2023-07-11 23:00:49 | [Mutex] received everything. 2023-07-11 23:00:49 | [Mutex] isItemNotified: received:node:38e8ac0f-c8e5-41bb-86f8-16f3e9dec059:localhost:node-fa416d89-ad75-4bac-8cca-025eb767347b:Node fa416d89-ad75-4bac-8cca-025eb767347b :: true |
createSubnodes | 1.019s |
2023-07-11 23:00:49 |
2023-07-11 23:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:49 | ------------------------------------ 2023-07-11 23:00:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-36097a2f-fcd1-4b11-977f-0b77228cee25</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 36097a2f-fcd1-4b11-977f-0b77228cee25</title></pubsub></data> 2023-07-11 23:00:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:50 | [Mutex] waiting for: [received:nodes:0fdbd8cc-a969-4a7e-9abe-7751e1655fc0:localhost] 2023-07-11 23:00:50 | [Mutex] waiting for: [received:nodes:0fdbd8cc-a969-4a7e-9abe-7751e1655fc0:localhost] 2023-07-11 23:00:50 | [Mutex] received everything. 2023-07-11 23:00:50 | [Mutex] isItemNotified: received:node:0fdbd8cc-a969-4a7e-9abe-7751e1655fc0:localhost:node-36097a2f-fcd1-4b11-977f-0b77228cee25:Node 36097a2f-fcd1-4b11-977f-0b77228cee25 :: true |
deleteNodes | 1.015s |
2023-07-11 23:00:56 |
2023-07-11 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:56 | ------------------------------------ 2023-07-11 23:00:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-36097a2f-fcd1-4b11-977f-0b77228cee25</node></data> 2023-07-11 23:00:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:57 | [Mutex] waiting for: [received:nodes:909fd89e-793f-487e-91ae-db450b2a8f16:localhost] 2023-07-11 23:00:57 | [Mutex] waiting for: [received:nodes:909fd89e-793f-487e-91ae-db450b2a8f16:localhost] 2023-07-11 23:00:57 | [Mutex] waiting for: [received:nodes:909fd89e-793f-487e-91ae-db450b2a8f16:localhost] 2023-07-11 23:00:57 | [Mutex] received everything. 2023-07-11 23:00:57 | [Mutex] isItemNotified: received:node:909fd89e-793f-487e-91ae-db450b2a8f16:localhost:node-36097a2f-fcd1-4b11-977f-0b77228cee25:Node 36097a2f-fcd1-4b11-977f-0b77228cee25 :: false |
deleteSubnodes | 1.106s |
2023-07-11 23:00:54 |
2023-07-11 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:54 | ------------------------------------ 2023-07-11 23:00:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fa416d89-ad75-4bac-8cca-025eb767347b</node></data> 2023-07-11 23:00:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:55 | [Mutex] waiting for: [received:nodes:a2f5165b-f99d-43cf-b31a-d695d3e78893:localhost] 2023-07-11 23:00:56 | [Mutex] received everything. 2023-07-11 23:00:56 | [Mutex] isItemNotified: received:node:a2f5165b-f99d-43cf-b31a-d695d3e78893:localhost:node-fa416d89-ad75-4bac-8cca-025eb767347b:Node fa416d89-ad75-4bac-8cca-025eb767347b :: false 2023-07-11 23:00:56 | [Mutex] waiting for: [received:nodes:ef08636f-6226-4d6d-843b-566ded82ddf0:localhost] 2023-07-11 23:00:56 | [Mutex] received everything. 2023-07-11 23:00:56 | [Mutex] isItemNotified: received:node:ef08636f-6226-4d6d-843b-566ded82ddf0:localhost:node-fa416d89-ad75-4bac-8cca-025eb767347b:Node fa416d89-ad75-4bac-8cca-025eb767347b :: false |
publishItemsToNodes | 0.255s |
2023-07-11 23:00:52 |
2023-07-11 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:52 | ------------------------------------ 2023-07-11 23:00:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fa416d89-ad75-4bac-8cca-025eb767347b</node><item-id>item-9dc3ebfe-3f26-40fb-b08f-340eb221f135</item-id><entry><test>item-9dc3ebfe-3f26-40fb-b08f-340eb221f135</test></entry></data> 2023-07-11 23:00:53 | 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-9dc3ebfe-3f26-40fb-b08f-340eb221f135</value></item-id></result> 2023-07-11 23:00:53 | [Mutex] waiting for: [published:item:notifieditem-9dc3ebfe-3f26-40fb-b08f-340eb221f135:admin@test-domain.com] 2023-07-11 23:00:53 | [Mutex] received everything. 2023-07-11 23:00:53 | [Mutex] isItemNotified: published:item:notifieditem-9dc3ebfe-3f26-40fb-b08f-340eb221f135:admin@test-domain.com :: true |
retractItemsFromNodes | 0.290s |
2023-07-11 23:00:53 |
2023-07-11 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:53 | ------------------------------------ 2023-07-11 23:00:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fa416d89-ad75-4bac-8cca-025eb767347b</node><item-id>item-9dc3ebfe-3f26-40fb-b08f-340eb221f135</item-id></data> 2023-07-11 23:00:53 | 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-9dc3ebfe-3f26-40fb-b08f-340eb221f135</value></item-id></result> 2023-07-11 23:00:53 | [Mutex] waiting for: [retracted:item:notifieditem-9dc3ebfe-3f26-40fb-b08f-340eb221f135:admin@test-domain.com] 2023-07-11 23:00:53 | [Mutex] received everything. 2023-07-11 23:00:53 | [Mutex] isItemNotified: retracted:item:notifieditem-9dc3ebfe-3f26-40fb-b08f-340eb221f135:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.242s |
2023-07-11 23:00:53 |
2023-07-11 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:53 | ------------------------------------ 2023-07-11 23:00:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fa416d89-ad75-4bac-8cca-025eb767347b</node><item-id>item-9dc3ebfe-3f26-40fb-b08f-340eb221f135</item-id></data> 2023-07-11 23:00:53 | 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-fa416d89-ad75-4bac-8cca-025eb767347b</value></node><item-id type="text-single" label="Item ID"><value>item-9dc3ebfe-3f26-40fb-b08f-340eb221f135</value></item-id><item type="text-multi" label="Item"><value><item id="item-9dc3ebfe-3f26-40fb-b08f-340eb221f135"><test>item-9dc3ebfe-3f26-40fb-b08f-340eb221f135</test></item></value></item></result> 2023-07-11 23:00:53 | [Mutex] notify: [retrieved:item:item-9dc3ebfe-3f26-40fb-b08f-340eb221f135:payload-matches:true:localhost] 2023-07-11 23:00:53 | [Mutex] received everything. 2023-07-11 23:00:53 | [Mutex] isItemNotified: retrieved:item:item-9dc3ebfe-3f26-40fb-b08f-340eb221f135:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-11 23:00:53 |
2023-07-11 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:53 | ------------------------------------ 2023-07-11 23:00:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-11 23:00:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-36097a2f-fcd1-4b11-977f-0b77228cee25</value><value>test</value><value>node-fa416d89-ad75-4bac-8cca-025eb767347b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-07-11 23:00:53 |
2023-07-11 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:53 | ------------------------------------ 2023-07-11 23:00:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fa416d89-ad75-4bac-8cca-025eb767347b)</node-pattern></data> 2023-07-11 23:00:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.105s |
2023-07-11 23:00:51 |
2023-07-11 23:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:51 | ------------------------------------ 2023-07-11 23:00:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fa416d89-ad75-4bac-8cca-025eb767347b</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-11 23:00:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.162s |
2023-07-11 23:00:53 |
2023-07-11 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:53 | ------------------------------------ 2023-07-11 23:00:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fa416d89-ad75-4bac-8cca-025eb767347b</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-11 23:00:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |