Test duration : 10.392s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2022-02-20 21:35:49 |
2022-02-20 21:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:49 | ------------------------------------ 2022-02-20 21:35:49 | [Mutex] waiting for: [configured:node:node-410b7eda-c076-4f11-aa31-d1065b5b6f85:node-0d623ae6-8956-4600-af8e-92d73a9cd78f] 2022-02-20 21:35:49 | [Mutex] received everything. 2022-02-20 21:35:49 | [Mutex] isItemNotified: configured:node:node-410b7eda-c076-4f11-aa31-d1065b5b6f85:node-0d623ae6-8956-4600-af8e-92d73a9cd78f :: true 2022-02-20 21:35:50 | [Mutex] waiting for: [received:nodes:cbe541e3-2512-4ed3-8328-640667250b14:localhost] 2022-02-20 21:35:50 | [Mutex] received everything. 2022-02-20 21:35:50 | [Mutex] isItemNotified: received:node:cbe541e3-2512-4ed3-8328-640667250b14:localhost:node-410b7eda-c076-4f11-aa31-d1065b5b6f85:Node 410b7eda-c076-4f11-aa31-d1065b5b6f85 :: true 2022-02-20 21:35:50 | [Mutex] waiting for: [received:nodes:3be7ea46-efce-4705-a104-1c1599c1fb01:localhost] 2022-02-20 21:35:50 | [Mutex] received everything. 2022-02-20 21:35:50 | [Mutex] isItemNotified: received:node:3be7ea46-efce-4705-a104-1c1599c1fb01:localhost:node-410b7eda-c076-4f11-aa31-d1065b5b6f85:Node 410b7eda-c076-4f11-aa31-d1065b5b6f85 :: false |
createNodes | 1.536s |
2022-02-20 21:35:47 |
2022-02-20 21:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:47 | ------------------------------------ 2022-02-20 21:35:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 410b7eda-c076-4f11-aa31-d1065b5b6f85</title></pubsub></data> 2022-02-20 21:35:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 21:35:48 | [Mutex] waiting for: [received:nodes:a1aaf6f2-6a82-4fd1-b737-50d4b2afc02d:localhost] 2022-02-20 21:35:48 | [Mutex] waiting for: [received:nodes:a1aaf6f2-6a82-4fd1-b737-50d4b2afc02d:localhost] 2022-02-20 21:35:48 | [Mutex] received everything. 2022-02-20 21:35:48 | [Mutex] isItemNotified: received:node:a1aaf6f2-6a82-4fd1-b737-50d4b2afc02d:localhost:node-410b7eda-c076-4f11-aa31-d1065b5b6f85:Node 410b7eda-c076-4f11-aa31-d1065b5b6f85 :: true |
createSubnodes | 1.030s |
2022-02-20 21:35:48 |
2022-02-20 21:35:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:48 | ------------------------------------ 2022-02-20 21:35:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0d623ae6-8956-4600-af8e-92d73a9cd78f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0d623ae6-8956-4600-af8e-92d73a9cd78f</title></pubsub></data> 2022-02-20 21:35:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 21:35:49 | [Mutex] waiting for: [received:nodes:868f989a-2a62-445a-b0ce-702231c26764:localhost] 2022-02-20 21:35:49 | [Mutex] received everything. 2022-02-20 21:35:49 | [Mutex] isItemNotified: received:node:868f989a-2a62-445a-b0ce-702231c26764:localhost:node-0d623ae6-8956-4600-af8e-92d73a9cd78f:Node 0d623ae6-8956-4600-af8e-92d73a9cd78f :: true |
deleteNodes | 1.023s |
2022-02-20 21:35:55 |
2022-02-20 21:35:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:55 | ------------------------------------ 2022-02-20 21:35:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0d623ae6-8956-4600-af8e-92d73a9cd78f</node></data> 2022-02-20 21:35:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 21:35:56 | [Mutex] waiting for: [received:nodes:a5d0e652-4a62-43d6-9dee-5d83a3c6319d:localhost] 2022-02-20 21:35:56 | [Mutex] received everything. 2022-02-20 21:35:56 | [Mutex] isItemNotified: received:node:a5d0e652-4a62-43d6-9dee-5d83a3c6319d:localhost:node-0d623ae6-8956-4600-af8e-92d73a9cd78f:Node 0d623ae6-8956-4600-af8e-92d73a9cd78f :: false |
deleteSubnodes | 1.222s |
2022-02-20 21:35:54 |
2022-02-20 21:35:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:54 | ------------------------------------ 2022-02-20 21:35:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</node></data> 2022-02-20 21:35:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 21:35:55 | [Mutex] waiting for: [received:nodes:4fe38baa-3c40-43e9-a354-41f0dcfe8c0e:localhost] 2022-02-20 21:35:55 | [Mutex] waiting for: [received:nodes:4fe38baa-3c40-43e9-a354-41f0dcfe8c0e:localhost] 2022-02-20 21:35:55 | [Mutex] received everything. 2022-02-20 21:35:55 | [Mutex] isItemNotified: received:node:4fe38baa-3c40-43e9-a354-41f0dcfe8c0e:localhost:node-410b7eda-c076-4f11-aa31-d1065b5b6f85:Node 410b7eda-c076-4f11-aa31-d1065b5b6f85 :: false 2022-02-20 21:35:55 | [Mutex] waiting for: [received:nodes:1b894ec0-2e31-4e0f-94fa-89e6d14abee7:localhost] 2022-02-20 21:35:55 | [Mutex] received everything. 2022-02-20 21:35:55 | [Mutex] isItemNotified: received:node:1b894ec0-2e31-4e0f-94fa-89e6d14abee7:localhost:node-410b7eda-c076-4f11-aa31-d1065b5b6f85:Node 410b7eda-c076-4f11-aa31-d1065b5b6f85 :: false |
publishItemsToNodes | 0.246s |
2022-02-20 21:35:51 |
2022-02-20 21:35:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:51 | ------------------------------------ 2022-02-20 21:35:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</node><item-id>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</item-id><entry><test>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</test></entry></data> 2022-02-20 21:35:52 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</value></item-id></result> 2022-02-20 21:35:52 | [Mutex] received everything. 2022-02-20 21:35:52 | [Mutex] isItemNotified: published:item:notifieditem-9acfcf4c-97e5-4251-82a8-baeab06f9a22:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2022-02-20 21:35:52 |
2022-02-20 21:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:52 | ------------------------------------ 2022-02-20 21:35:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</node><item-id>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</item-id></data> 2022-02-20 21:35:52 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</value></item-id></result> 2022-02-20 21:35:52 | [Mutex] received everything. 2022-02-20 21:35:52 | [Mutex] isItemNotified: retracted:item:notifieditem-9acfcf4c-97e5-4251-82a8-baeab06f9a22:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.338s |
2022-02-20 21:35:52 |
2022-02-20 21:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:52 | ------------------------------------ 2022-02-20 21:35:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</node><item-id>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</item-id></data> 2022-02-20 21:35:52 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</value></node><item-id label="Item ID" type="text-single"><value>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</value></item-id><item label="Item" type="text-multi"><value><item id="item-9acfcf4c-97e5-4251-82a8-baeab06f9a22"><test>item-9acfcf4c-97e5-4251-82a8-baeab06f9a22</test></item></value></item></result> 2022-02-20 21:35:52 | [Mutex] notify: [retrieved:item:item-9acfcf4c-97e5-4251-82a8-baeab06f9a22:payload-matches:true:localhost] 2022-02-20 21:35:52 | [Mutex] received everything. 2022-02-20 21:35:52 | [Mutex] isItemNotified: retrieved:item:item-9acfcf4c-97e5-4251-82a8-baeab06f9a22:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-20 21:35:52 |
2022-02-20 21:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:52 | ------------------------------------ 2022-02-20 21:35:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-20 21:35:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</value><value>node-0d623ae6-8956-4600-af8e-92d73a9cd78f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-20 21:35:52 |
2022-02-20 21:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:52 | ------------------------------------ 2022-02-20 21:35:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-410b7eda-c076-4f11-aa31-d1065b5b6f85)</node-pattern></data> 2022-02-20 21:35:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.185s |
2022-02-20 21:35:50 |
2022-02-20 21:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:50 | ------------------------------------ 2022-02-20 21:35:50 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-20 21:35:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.331s |
2022-02-20 21:35:52 |
2022-02-20 21:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:35:52 | ------------------------------------ 2022-02-20 21:35:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-410b7eda-c076-4f11-aa31-d1065b5b6f85</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-20 21:35:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |