Test duration : 10.149s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-02-20 21:46:50 |
2022-02-20 21:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:50 | ------------------------------------ 2022-02-20 21:46:50 | [Mutex] waiting for: [configured:node:node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80:node-87b25b92-51e2-4fa9-a3cc-e421d8117f83] 2022-02-20 21:46:50 | [Mutex] received everything. 2022-02-20 21:46:50 | [Mutex] isItemNotified: configured:node:node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80:node-87b25b92-51e2-4fa9-a3cc-e421d8117f83 :: true 2022-02-20 21:46:51 | [Mutex] waiting for: [received:nodes:d90f45f5-eb86-4779-ab7f-57ae51d91dae:localhost] 2022-02-20 21:46:51 | [Mutex] received everything. 2022-02-20 21:46:51 | [Mutex] isItemNotified: received:node:d90f45f5-eb86-4779-ab7f-57ae51d91dae:localhost:node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80:Node 0ea5bd09-dd99-4d40-883b-3ead5e1f1b80 :: true 2022-02-20 21:46:51 | [Mutex] waiting for: [received:nodes:ed06fb51-a984-47be-962e-b91e015449b4:localhost] 2022-02-20 21:46:51 | [Mutex] received everything. 2022-02-20 21:46:51 | [Mutex] isItemNotified: received:node:ed06fb51-a984-47be-962e-b91e015449b4:localhost:node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80:Node 0ea5bd09-dd99-4d40-883b-3ead5e1f1b80 :: false |
createNodes | 1.481s |
2022-02-20 21:46:48 |
2022-02-20 21:46:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:48 | ------------------------------------ 2022-02-20 21:46:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</title></pubsub></data> 2022-02-20 21:46: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:46:49 | [Mutex] waiting for: [received:nodes:8c47a39d-f188-42ab-a959-7b1ef3c4c850:localhost] 2022-02-20 21:46:49 | [Mutex] received everything. 2022-02-20 21:46:49 | [Mutex] isItemNotified: received:node:8c47a39d-f188-42ab-a959-7b1ef3c4c850:localhost:node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80:Node 0ea5bd09-dd99-4d40-883b-3ead5e1f1b80 :: true |
createSubnodes | 1.033s |
2022-02-20 21:46:49 |
2022-02-20 21:46:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:49 | ------------------------------------ 2022-02-20 21:46:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-87b25b92-51e2-4fa9-a3cc-e421d8117f83</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 87b25b92-51e2-4fa9-a3cc-e421d8117f83</title></pubsub></data> 2022-02-20 21:46:49 | 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:46:50 | [Mutex] waiting for: [received:nodes:ab7fc8a8-7d20-4056-a63d-a9ba1cb76a43:localhost] 2022-02-20 21:46:50 | [Mutex] received everything. 2022-02-20 21:46:50 | [Mutex] isItemNotified: received:node:ab7fc8a8-7d20-4056-a63d-a9ba1cb76a43:localhost:node-87b25b92-51e2-4fa9-a3cc-e421d8117f83:Node 87b25b92-51e2-4fa9-a3cc-e421d8117f83 :: true |
deleteNodes | 1.023s |
2022-02-20 21:46:56 |
2022-02-20 21:46:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:56 | ------------------------------------ 2022-02-20 21:46:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-87b25b92-51e2-4fa9-a3cc-e421d8117f83</node></data> 2022-02-20 21:46:56 | 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:46:57 | [Mutex] waiting for: [received:nodes:a62b45ee-1b3b-45ad-bafb-540c8663754f:localhost] 2022-02-20 21:46:57 | [Mutex] received everything. 2022-02-20 21:46:57 | [Mutex] isItemNotified: received:node:a62b45ee-1b3b-45ad-bafb-540c8663754f:localhost:node-87b25b92-51e2-4fa9-a3cc-e421d8117f83:Node 87b25b92-51e2-4fa9-a3cc-e421d8117f83 :: false |
deleteSubnodes | 1.151s |
2022-02-20 21:46:55 |
2022-02-20 21:46:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:55 | ------------------------------------ 2022-02-20 21:46:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</node></data> 2022-02-20 21:46: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:46:56 | [Mutex] waiting for: [received:nodes:969885e1-f614-436f-ab49-88d44f048b71:localhost] 2022-02-20 21:46:56 | [Mutex] waiting for: [received:nodes:969885e1-f614-436f-ab49-88d44f048b71:localhost] 2022-02-20 21:46:56 | [Mutex] received everything. 2022-02-20 21:46:56 | [Mutex] isItemNotified: received:node:969885e1-f614-436f-ab49-88d44f048b71:localhost:node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80:Node 0ea5bd09-dd99-4d40-883b-3ead5e1f1b80 :: false 2022-02-20 21:46:56 | [Mutex] waiting for: [received:nodes:9337afcf-1cf0-4016-a4bd-5b5ae7274943:localhost] 2022-02-20 21:46:56 | [Mutex] received everything. 2022-02-20 21:46:56 | [Mutex] isItemNotified: received:node:9337afcf-1cf0-4016-a4bd-5b5ae7274943:localhost:node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80:Node 0ea5bd09-dd99-4d40-883b-3ead5e1f1b80 :: false |
publishItemsToNodes | 0.190s |
2022-02-20 21:46:53 |
2022-02-20 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:53 | ------------------------------------ 2022-02-20 21:46:53 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</node><item-id>item-e76f0225-225e-4da2-80a5-06175dd1c867</item-id><entry><test>item-e76f0225-225e-4da2-80a5-06175dd1c867</test></entry></data> 2022-02-20 21:46: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-e76f0225-225e-4da2-80a5-06175dd1c867</value></item-id></result> 2022-02-20 21:46:53 | [Mutex] waiting for: [published:item:notifieditem-e76f0225-225e-4da2-80a5-06175dd1c867:admin@test-domain.com] 2022-02-20 21:46:53 | [Mutex] received everything. 2022-02-20 21:46:53 | [Mutex] isItemNotified: published:item:notifieditem-e76f0225-225e-4da2-80a5-06175dd1c867:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-02-20 21:46:53 |
2022-02-20 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:53 | ------------------------------------ 2022-02-20 21:46:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</node><item-id>item-e76f0225-225e-4da2-80a5-06175dd1c867</item-id></data> 2022-02-20 21:46: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-e76f0225-225e-4da2-80a5-06175dd1c867</value></item-id></result> 2022-02-20 21:46:53 | [Mutex] received everything. 2022-02-20 21:46:53 | [Mutex] isItemNotified: retracted:item:notifieditem-e76f0225-225e-4da2-80a5-06175dd1c867:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.328s |
2022-02-20 21:46:53 |
2022-02-20 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:53 | ------------------------------------ 2022-02-20 21:46:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</node><item-id>item-e76f0225-225e-4da2-80a5-06175dd1c867</item-id></data> 2022-02-20 21:46: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-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</value></node><item-id type="text-single" label="Item ID"><value>item-e76f0225-225e-4da2-80a5-06175dd1c867</value></item-id><item type="text-multi" label="Item"><value><item id="item-e76f0225-225e-4da2-80a5-06175dd1c867"><test>item-e76f0225-225e-4da2-80a5-06175dd1c867</test></item></value></item></result> 2022-02-20 21:46:53 | [Mutex] notify: [retrieved:item:item-e76f0225-225e-4da2-80a5-06175dd1c867:payload-matches:true:localhost] 2022-02-20 21:46:53 | [Mutex] received everything. 2022-02-20 21:46:53 | [Mutex] isItemNotified: retrieved:item:item-e76f0225-225e-4da2-80a5-06175dd1c867:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-20 21:46:53 |
2022-02-20 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:53 | ------------------------------------ 2022-02-20 21:46:53 | 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:46:53 | 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-87b25b92-51e2-4fa9-a3cc-e421d8117f83</value><value>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2022-02-20 21:46:53 |
2022-02-20 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:53 | ------------------------------------ 2022-02-20 21:46: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-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80)</node-pattern></data> 2022-02-20 21:46:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.194s |
2022-02-20 21:46:51 |
2022-02-20 21:46:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:51 | ------------------------------------ 2022-02-20 21:46:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-20 21:46:52 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.311s |
2022-02-20 21:46:53 |
2022-02-20 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 21:46:53 | ------------------------------------ 2022-02-20 21:46:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0ea5bd09-dd99-4d40-883b-3ead5e1f1b80</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-20 21:46:54 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |