Test duration : 9.420s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2022-09-07 22:34:25 |
2022-09-07 22:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:25 | ------------------------------------ 2022-09-07 22:34:25 | [Mutex] waiting for: [configured:node:node-c1151822-5cd1-47a0-8d4c-5a50372edd5e:node-10380b3e-91a0-427d-af75-66859f820d5d] 2022-09-07 22:34:25 | [Mutex] received everything. 2022-09-07 22:34:25 | [Mutex] isItemNotified: configured:node:node-c1151822-5cd1-47a0-8d4c-5a50372edd5e:node-10380b3e-91a0-427d-af75-66859f820d5d :: true 2022-09-07 22:34:26 | [Mutex] waiting for: [received:nodes:25ec38c0-8b65-4b78-b501-248d78e347ce:localhost] 2022-09-07 22:34:26 | [Mutex] received everything. 2022-09-07 22:34:26 | [Mutex] isItemNotified: received:node:25ec38c0-8b65-4b78-b501-248d78e347ce:localhost:node-c1151822-5cd1-47a0-8d4c-5a50372edd5e:Node c1151822-5cd1-47a0-8d4c-5a50372edd5e :: true 2022-09-07 22:34:26 | [Mutex] waiting for: [received:nodes:244b87a0-5787-4f1c-b140-16d4bbce38ce:localhost] 2022-09-07 22:34:26 | [Mutex] waiting for: [received:nodes:244b87a0-5787-4f1c-b140-16d4bbce38ce:localhost] 2022-09-07 22:34:26 | [Mutex] received everything. 2022-09-07 22:34:26 | [Mutex] isItemNotified: received:node:244b87a0-5787-4f1c-b140-16d4bbce38ce:localhost:node-c1151822-5cd1-47a0-8d4c-5a50372edd5e:Node c1151822-5cd1-47a0-8d4c-5a50372edd5e :: false |
createNodes | 1.400s |
2022-09-07 22:34:23 |
2022-09-07 22:34:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:23 | ------------------------------------ 2022-09-07 22:34:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c1151822-5cd1-47a0-8d4c-5a50372edd5e</title></pubsub></data> 2022-09-07 22:34:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-07 22:34:24 | [Mutex] waiting for: [received:nodes:91c000f8-f155-4699-b732-c6d5b8c27ab5:localhost] 2022-09-07 22:34:24 | [Mutex] received everything. 2022-09-07 22:34:24 | [Mutex] isItemNotified: received:node:91c000f8-f155-4699-b732-c6d5b8c27ab5:localhost:node-c1151822-5cd1-47a0-8d4c-5a50372edd5e:Node c1151822-5cd1-47a0-8d4c-5a50372edd5e :: true |
createSubnodes | 1.054s |
2022-09-07 22:34:24 |
2022-09-07 22:34:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:24 | ------------------------------------ 2022-09-07 22:34:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-10380b3e-91a0-427d-af75-66859f820d5d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 10380b3e-91a0-427d-af75-66859f820d5d</title></pubsub></data> 2022-09-07 22:34:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-07 22:34:25 | [Mutex] waiting for: [received:nodes:6df70754-fdda-4591-8c88-be8900fe6b7c:localhost] 2022-09-07 22:34:25 | [Mutex] received everything. 2022-09-07 22:34:25 | [Mutex] isItemNotified: received:node:6df70754-fdda-4591-8c88-be8900fe6b7c:localhost:node-10380b3e-91a0-427d-af75-66859f820d5d:Node 10380b3e-91a0-427d-af75-66859f820d5d :: true |
deleteNodes | 1.019s |
2022-09-07 22:34:31 |
2022-09-07 22:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:31 | ------------------------------------ 2022-09-07 22:34:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-10380b3e-91a0-427d-af75-66859f820d5d</node></data> 2022-09-07 22:34:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-07 22:34:32 | [Mutex] waiting for: [received:nodes:67d526a3-4104-46bd-b4bd-feb544f803d0:localhost] 2022-09-07 22:34:32 | [Mutex] received everything. 2022-09-07 22:34:32 | [Mutex] isItemNotified: received:node:67d526a3-4104-46bd-b4bd-feb544f803d0:localhost:node-10380b3e-91a0-427d-af75-66859f820d5d:Node 10380b3e-91a0-427d-af75-66859f820d5d :: false |
deleteSubnodes | 1.135s |
2022-09-07 22:34:29 |
2022-09-07 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:29 | ------------------------------------ 2022-09-07 22:34:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</node></data> 2022-09-07 22:34:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-07 22:34:30 | [Mutex] waiting for: [received:nodes:a7057c36-a1b4-480f-b339-75def0b4a1ac:localhost] 2022-09-07 22:34:31 | [Mutex] received everything. 2022-09-07 22:34:31 | [Mutex] isItemNotified: received:node:a7057c36-a1b4-480f-b339-75def0b4a1ac:localhost:node-c1151822-5cd1-47a0-8d4c-5a50372edd5e:Node c1151822-5cd1-47a0-8d4c-5a50372edd5e :: false 2022-09-07 22:34:31 | [Mutex] waiting for: [received:nodes:5c9eff8c-9516-4be9-ab8c-f84e59e83fe1:localhost] 2022-09-07 22:34:31 | [Mutex] received everything. 2022-09-07 22:34:31 | [Mutex] isItemNotified: received:node:5c9eff8c-9516-4be9-ab8c-f84e59e83fe1:localhost:node-c1151822-5cd1-47a0-8d4c-5a50372edd5e:Node c1151822-5cd1-47a0-8d4c-5a50372edd5e :: false |
publishItemsToNodes | 0.173s |
2022-09-07 22:34:27 |
2022-09-07 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:27 | ------------------------------------ 2022-09-07 22:34:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</node><item-id>item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</item-id><entry><test>item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</test></entry></data> 2022-09-07 22:34:28 | 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-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</value></item-id></result> 2022-09-07 22:34:28 | [Mutex] received everything. 2022-09-07 22:34:28 | [Mutex] isItemNotified: published:item:notifieditem-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2022-09-07 22:34:28 |
2022-09-07 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:28 | ------------------------------------ 2022-09-07 22:34:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</node><item-id>item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</item-id></data> 2022-09-07 22:34:28 | 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-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</value></item-id></result> 2022-09-07 22:34:28 | [Mutex] received everything. 2022-09-07 22:34:28 | [Mutex] isItemNotified: retracted:item:notifieditem-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.196s |
2022-09-07 22:34:28 |
2022-09-07 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:28 | ------------------------------------ 2022-09-07 22:34:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</node><item-id>item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</item-id></data> 2022-09-07 22:34:28 | 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-c1151822-5cd1-47a0-8d4c-5a50372edd5e</value></node><item-id type="text-single" label="Item ID"><value>item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</value></item-id><item type="text-multi" label="Item"><value><item id="item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139"><test>item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139</test></item></value></item></result> 2022-09-07 22:34:28 | [Mutex] notify: [retrieved:item:item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139:payload-matches:true:localhost] 2022-09-07 22:34:28 | [Mutex] received everything. 2022-09-07 22:34:28 | [Mutex] isItemNotified: retrieved:item:item-8e6c67a6-1882-4b8e-a17d-ee2ad4ab9139:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-07 22:34:28 |
2022-09-07 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:28 | ------------------------------------ 2022-09-07 22:34:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-07 22:34:28 | 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-10380b3e-91a0-427d-af75-66859f820d5d</value><value>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-09-07 22:34:28 |
2022-09-07 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:28 | ------------------------------------ 2022-09-07 22:34:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c1151822-5cd1-47a0-8d4c-5a50372edd5e)</node-pattern></data> 2022-09-07 22:34:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.165s |
2022-09-07 22:34:26 |
2022-09-07 22:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:26 | ------------------------------------ 2022-09-07 22:34:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-07 22:34:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.179s |
2022-09-07 22:34:28 |
2022-09-07 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-07 22:34:28 | ------------------------------------ 2022-09-07 22:34:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c1151822-5cd1-47a0-8d4c-5a50372edd5e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-07 22:34:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |