Test duration : 10.413s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.116s |
2022-02-15 21:48:49 |
2022-02-15 21:48:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:49 | ------------------------------------ 2022-02-15 21:48:49 | [Mutex] waiting for: [configured:node:node-1a385cb9-51ee-4c62-ac27-1c740b0de99c:node-3d27fc10-0ebd-4985-a2f9-c39c7903c147] 2022-02-15 21:48:49 | [Mutex] received everything. 2022-02-15 21:48:49 | [Mutex] isItemNotified: configured:node:node-1a385cb9-51ee-4c62-ac27-1c740b0de99c:node-3d27fc10-0ebd-4985-a2f9-c39c7903c147 :: true 2022-02-15 21:48:50 | [Mutex] waiting for: [received:nodes:3609556d-07b2-4e25-9e2c-239c0c712d51:localhost] 2022-02-15 21:48:50 | [Mutex] waiting for: [received:nodes:3609556d-07b2-4e25-9e2c-239c0c712d51:localhost] 2022-02-15 21:48:50 | [Mutex] received everything. 2022-02-15 21:48:50 | [Mutex] isItemNotified: received:node:3609556d-07b2-4e25-9e2c-239c0c712d51:localhost:node-1a385cb9-51ee-4c62-ac27-1c740b0de99c:Node 1a385cb9-51ee-4c62-ac27-1c740b0de99c :: true 2022-02-15 21:48:50 | [Mutex] waiting for: [received:nodes:4e5ea03f-77f6-4b26-8003-c50ddf4770ec:localhost] 2022-02-15 21:48:50 | [Mutex] waiting for: [received:nodes:4e5ea03f-77f6-4b26-8003-c50ddf4770ec:localhost] 2022-02-15 21:48:50 | [Mutex] received everything. 2022-02-15 21:48:50 | [Mutex] isItemNotified: received:node:4e5ea03f-77f6-4b26-8003-c50ddf4770ec:localhost:node-1a385cb9-51ee-4c62-ac27-1c740b0de99c:Node 1a385cb9-51ee-4c62-ac27-1c740b0de99c :: false |
createNodes | 1.693s |
2022-02-15 21:48:46 |
2022-02-15 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:46 | ------------------------------------ 2022-02-15 21:48:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1a385cb9-51ee-4c62-ac27-1c740b0de99c</title></pubsub></data> 2022-02-15 21:48: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-15 21:48:48 | [Mutex] waiting for: [received:nodes:8afa0022-9402-4858-93a9-1abe19415d85:localhost] 2022-02-15 21:48:48 | [Mutex] received everything. 2022-02-15 21:48:48 | [Mutex] isItemNotified: received:node:8afa0022-9402-4858-93a9-1abe19415d85:localhost:node-1a385cb9-51ee-4c62-ac27-1c740b0de99c:Node 1a385cb9-51ee-4c62-ac27-1c740b0de99c :: true |
createSubnodes | 1.042s |
2022-02-15 21:48:48 |
2022-02-15 21:48:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:48 | ------------------------------------ 2022-02-15 21:48:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3d27fc10-0ebd-4985-a2f9-c39c7903c147</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3d27fc10-0ebd-4985-a2f9-c39c7903c147</title></pubsub></data> 2022-02-15 21:48: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-15 21:48:49 | [Mutex] waiting for: [received:nodes:b351186d-e238-4021-a436-83e9be533087:localhost] 2022-02-15 21:48:49 | [Mutex] waiting for: [received:nodes:b351186d-e238-4021-a436-83e9be533087:localhost] 2022-02-15 21:48:49 | [Mutex] received everything. 2022-02-15 21:48:49 | [Mutex] isItemNotified: received:node:b351186d-e238-4021-a436-83e9be533087:localhost:node-3d27fc10-0ebd-4985-a2f9-c39c7903c147:Node 3d27fc10-0ebd-4985-a2f9-c39c7903c147 :: true |
deleteNodes | 1.019s |
2022-02-15 21:48:55 |
2022-02-15 21:48:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:55 | ------------------------------------ 2022-02-15 21:48:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3d27fc10-0ebd-4985-a2f9-c39c7903c147</node></data> 2022-02-15 21:48: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-15 21:48:56 | [Mutex] waiting for: [received:nodes:ee777880-0697-4c29-922f-ae8b1ee9506b:localhost] 2022-02-15 21:48:56 | [Mutex] waiting for: [received:nodes:ee777880-0697-4c29-922f-ae8b1ee9506b:localhost] 2022-02-15 21:48:56 | [Mutex] waiting for: [received:nodes:ee777880-0697-4c29-922f-ae8b1ee9506b:localhost] 2022-02-15 21:48:56 | [Mutex] received everything. 2022-02-15 21:48:56 | [Mutex] isItemNotified: received:node:ee777880-0697-4c29-922f-ae8b1ee9506b:localhost:node-3d27fc10-0ebd-4985-a2f9-c39c7903c147:Node 3d27fc10-0ebd-4985-a2f9-c39c7903c147 :: false |
deleteSubnodes | 1.212s |
2022-02-15 21:48:53 |
2022-02-15 21:48:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:53 | ------------------------------------ 2022-02-15 21:48:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</node></data> 2022-02-15 21:48: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-15 21:48:55 | [Mutex] waiting for: [received:nodes:f88d1f86-5b8f-454e-9347-399a969bba92:localhost] 2022-02-15 21:48:55 | [Mutex] waiting for: [received:nodes:f88d1f86-5b8f-454e-9347-399a969bba92:localhost] 2022-02-15 21:48:55 | [Mutex] waiting for: [received:nodes:f88d1f86-5b8f-454e-9347-399a969bba92:localhost] 2022-02-15 21:48:55 | [Mutex] received everything. 2022-02-15 21:48:55 | [Mutex] isItemNotified: received:node:f88d1f86-5b8f-454e-9347-399a969bba92:localhost:node-1a385cb9-51ee-4c62-ac27-1c740b0de99c:Node 1a385cb9-51ee-4c62-ac27-1c740b0de99c :: false 2022-02-15 21:48:55 | [Mutex] waiting for: [received:nodes:eb3792f7-9163-4e29-8941-a4669a62c416:localhost] 2022-02-15 21:48:55 | [Mutex] received everything. 2022-02-15 21:48:55 | [Mutex] isItemNotified: received:node:eb3792f7-9163-4e29-8941-a4669a62c416:localhost:node-1a385cb9-51ee-4c62-ac27-1c740b0de99c:Node 1a385cb9-51ee-4c62-ac27-1c740b0de99c :: false |
publishItemsToNodes | 0.310s |
2022-02-15 21:48:51 |
2022-02-15 21:48:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:51 | ------------------------------------ 2022-02-15 21:48:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</node><item-id>item-960d2fb2-9384-46c9-93bc-144e8a2968ee</item-id><entry><test>item-960d2fb2-9384-46c9-93bc-144e8a2968ee</test></entry></data> 2022-02-15 21:48:52 | 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-960d2fb2-9384-46c9-93bc-144e8a2968ee</value></item-id></result> 2022-02-15 21:48:52 | [Mutex] received everything. 2022-02-15 21:48:52 | [Mutex] isItemNotified: published:item:notifieditem-960d2fb2-9384-46c9-93bc-144e8a2968ee:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2022-02-15 21:48:52 |
2022-02-15 21:48:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:52 | ------------------------------------ 2022-02-15 21:48:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</node><item-id>item-960d2fb2-9384-46c9-93bc-144e8a2968ee</item-id></data> 2022-02-15 21:48:52 | 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-960d2fb2-9384-46c9-93bc-144e8a2968ee</value></item-id></result> 2022-02-15 21:48:52 | [Mutex] received everything. 2022-02-15 21:48:52 | [Mutex] isItemNotified: retracted:item:notifieditem-960d2fb2-9384-46c9-93bc-144e8a2968ee:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.276s |
2022-02-15 21:48:52 |
2022-02-15 21:48:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:52 | ------------------------------------ 2022-02-15 21:48:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</node><item-id>item-960d2fb2-9384-46c9-93bc-144e8a2968ee</item-id></data> 2022-02-15 21:48:52 | 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-1a385cb9-51ee-4c62-ac27-1c740b0de99c</value></node><item-id type="text-single" label="Item ID"><value>item-960d2fb2-9384-46c9-93bc-144e8a2968ee</value></item-id><item type="text-multi" label="Item"><value><item id="item-960d2fb2-9384-46c9-93bc-144e8a2968ee"><test>item-960d2fb2-9384-46c9-93bc-144e8a2968ee</test></item></value></item></result> 2022-02-15 21:48:52 | [Mutex] notify: [retrieved:item:item-960d2fb2-9384-46c9-93bc-144e8a2968ee:payload-matches:true:localhost] 2022-02-15 21:48:52 | [Mutex] received everything. 2022-02-15 21:48:52 | [Mutex] isItemNotified: retrieved:item:item-960d2fb2-9384-46c9-93bc-144e8a2968ee:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-15 21:48:52 |
2022-02-15 21:48:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:52 | ------------------------------------ 2022-02-15 21:48: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-15 21:48:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</value><value>node-3d27fc10-0ebd-4985-a2f9-c39c7903c147</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-15 21:48:52 |
2022-02-15 21:48:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:52 | ------------------------------------ 2022-02-15 21:48: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-1a385cb9-51ee-4c62-ac27-1c740b0de99c)</node-pattern></data> 2022-02-15 21:48:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.184s |
2022-02-15 21:48:50 |
2022-02-15 21:48:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:50 | ------------------------------------ 2022-02-15 21:48:50 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-15 21:48: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.295s |
2022-02-15 21:48:52 |
2022-02-15 21:48:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-15 21:48:52 | ------------------------------------ 2022-02-15 21:48:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1a385cb9-51ee-4c62-ac27-1c740b0de99c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-15 21:48:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |