Test duration : 9.368s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2023-02-24 16:03:46 |
2023-02-24 16:03:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:46 | ------------------------------------ 2023-02-24 16:03:46 | [Mutex] waiting for: [configured:node:node-51e923a3-ca54-43ad-8f69-70c736394762:node-0c059ac2-6bf3-4742-80a1-61c2f2728fff] 2023-02-24 16:03:46 | [Mutex] received everything. 2023-02-24 16:03:46 | [Mutex] isItemNotified: configured:node:node-51e923a3-ca54-43ad-8f69-70c736394762:node-0c059ac2-6bf3-4742-80a1-61c2f2728fff :: true 2023-02-24 16:03:47 | [Mutex] waiting for: [received:nodes:0a70ad18-b98c-41b4-8d1a-d2b0ccd75991:localhost] 2023-02-24 16:03:47 | [Mutex] received everything. 2023-02-24 16:03:47 | [Mutex] isItemNotified: received:node:0a70ad18-b98c-41b4-8d1a-d2b0ccd75991:localhost:node-51e923a3-ca54-43ad-8f69-70c736394762:Node 51e923a3-ca54-43ad-8f69-70c736394762 :: true 2023-02-24 16:03:47 | [Mutex] waiting for: [received:nodes:a6fc8471-0768-4a7c-8b8a-a0ad6aaea7d3:localhost] 2023-02-24 16:03:47 | [Mutex] waiting for: [received:nodes:a6fc8471-0768-4a7c-8b8a-a0ad6aaea7d3:localhost] 2023-02-24 16:03:47 | [Mutex] waiting for: [received:nodes:a6fc8471-0768-4a7c-8b8a-a0ad6aaea7d3:localhost] 2023-02-24 16:03:47 | [Mutex] waiting for: [received:nodes:a6fc8471-0768-4a7c-8b8a-a0ad6aaea7d3:localhost] 2023-02-24 16:03:47 | [Mutex] received everything. 2023-02-24 16:03:47 | [Mutex] isItemNotified: received:node:a6fc8471-0768-4a7c-8b8a-a0ad6aaea7d3:localhost:node-51e923a3-ca54-43ad-8f69-70c736394762:Node 51e923a3-ca54-43ad-8f69-70c736394762 :: false |
createNodes | 1.363s |
2023-02-24 16:03:43 |
2023-02-24 16:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:43 | ------------------------------------ 2023-02-24 16:03:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-51e923a3-ca54-43ad-8f69-70c736394762</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 51e923a3-ca54-43ad-8f69-70c736394762</title></pubsub></data> 2023-02-24 16:03:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-24 16:03:45 | [Mutex] waiting for: [received:nodes:77e8f644-3bfc-4839-a8c8-44b4a09eacd8:localhost] 2023-02-24 16:03:45 | [Mutex] waiting for: [received:nodes:77e8f644-3bfc-4839-a8c8-44b4a09eacd8:localhost] 2023-02-24 16:03:45 | [Mutex] waiting for: [received:nodes:77e8f644-3bfc-4839-a8c8-44b4a09eacd8:localhost] 2023-02-24 16:03:45 | [Mutex] received everything. 2023-02-24 16:03:45 | [Mutex] isItemNotified: received:node:77e8f644-3bfc-4839-a8c8-44b4a09eacd8:localhost:node-51e923a3-ca54-43ad-8f69-70c736394762:Node 51e923a3-ca54-43ad-8f69-70c736394762 :: true |
createSubnodes | 1.024s |
2023-02-24 16:03:45 |
2023-02-24 16:03:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:45 | ------------------------------------ 2023-02-24 16:03:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0c059ac2-6bf3-4742-80a1-61c2f2728fff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0c059ac2-6bf3-4742-80a1-61c2f2728fff</title></pubsub></data> 2023-02-24 16:03:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-24 16:03:46 | [Mutex] waiting for: [received:nodes:b20e8cf4-12fb-4283-897e-f7a34d246d94:localhost] 2023-02-24 16:03:46 | [Mutex] waiting for: [received:nodes:b20e8cf4-12fb-4283-897e-f7a34d246d94:localhost] 2023-02-24 16:03:46 | [Mutex] waiting for: [received:nodes:b20e8cf4-12fb-4283-897e-f7a34d246d94:localhost] 2023-02-24 16:03:46 | [Mutex] waiting for: [received:nodes:b20e8cf4-12fb-4283-897e-f7a34d246d94:localhost] 2023-02-24 16:03:46 | [Mutex] received everything. 2023-02-24 16:03:46 | [Mutex] isItemNotified: received:node:b20e8cf4-12fb-4283-897e-f7a34d246d94:localhost:node-0c059ac2-6bf3-4742-80a1-61c2f2728fff:Node 0c059ac2-6bf3-4742-80a1-61c2f2728fff :: true |
deleteNodes | 1.021s |
2023-02-24 16:03:51 |
2023-02-24 16:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:51 | ------------------------------------ 2023-02-24 16:03:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0c059ac2-6bf3-4742-80a1-61c2f2728fff</node></data> 2023-02-24 16:03:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-24 16:03:52 | [Mutex] waiting for: [received:nodes:4fd896e0-7f0e-4505-9658-ba11f6639f24:localhost] 2023-02-24 16:03:52 | [Mutex] waiting for: [received:nodes:4fd896e0-7f0e-4505-9658-ba11f6639f24:localhost] 2023-02-24 16:03:52 | [Mutex] waiting for: [received:nodes:4fd896e0-7f0e-4505-9658-ba11f6639f24:localhost] 2023-02-24 16:03:52 | [Mutex] received everything. 2023-02-24 16:03:52 | [Mutex] isItemNotified: received:node:4fd896e0-7f0e-4505-9658-ba11f6639f24:localhost:node-0c059ac2-6bf3-4742-80a1-61c2f2728fff:Node 0c059ac2-6bf3-4742-80a1-61c2f2728fff :: false |
deleteSubnodes | 1.124s |
2023-02-24 16:03:50 |
2023-02-24 16:03:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:50 | ------------------------------------ 2023-02-24 16:03:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-51e923a3-ca54-43ad-8f69-70c736394762</node></data> 2023-02-24 16:03:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-24 16:03:51 | [Mutex] waiting for: [received:nodes:a69aa5fd-f049-4377-b8de-a4299a240da4:localhost] 2023-02-24 16:03:51 | [Mutex] waiting for: [received:nodes:a69aa5fd-f049-4377-b8de-a4299a240da4:localhost] 2023-02-24 16:03:51 | [Mutex] waiting for: [received:nodes:a69aa5fd-f049-4377-b8de-a4299a240da4:localhost] 2023-02-24 16:03:51 | [Mutex] received everything. 2023-02-24 16:03:51 | [Mutex] isItemNotified: received:node:a69aa5fd-f049-4377-b8de-a4299a240da4:localhost:node-51e923a3-ca54-43ad-8f69-70c736394762:Node 51e923a3-ca54-43ad-8f69-70c736394762 :: false 2023-02-24 16:03:51 | [Mutex] waiting for: [received:nodes:9876ecfa-2faf-4f44-8223-a58c3e2076c3:localhost] 2023-02-24 16:03:51 | [Mutex] received everything. 2023-02-24 16:03:51 | [Mutex] isItemNotified: received:node:9876ecfa-2faf-4f44-8223-a58c3e2076c3:localhost:node-51e923a3-ca54-43ad-8f69-70c736394762:Node 51e923a3-ca54-43ad-8f69-70c736394762 :: false |
publishItemsToNodes | 0.257s |
2023-02-24 16:03:48 |
2023-02-24 16:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:48 | ------------------------------------ 2023-02-24 16:03:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-51e923a3-ca54-43ad-8f69-70c736394762</node><item-id>item-10d46a5e-6061-4fd3-8feb-9138572cf689</item-id><entry><test>item-10d46a5e-6061-4fd3-8feb-9138572cf689</test></entry></data> 2023-02-24 16:03:48 | 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-10d46a5e-6061-4fd3-8feb-9138572cf689</value></item-id></result> 2023-02-24 16:03:48 | [Mutex] received everything. 2023-02-24 16:03:48 | [Mutex] isItemNotified: published:item:notifieditem-10d46a5e-6061-4fd3-8feb-9138572cf689:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2023-02-24 16:03:49 |
2023-02-24 16:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:49 | ------------------------------------ 2023-02-24 16:03:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-51e923a3-ca54-43ad-8f69-70c736394762</node><item-id>item-10d46a5e-6061-4fd3-8feb-9138572cf689</item-id></data> 2023-02-24 16:03:49 | 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-10d46a5e-6061-4fd3-8feb-9138572cf689</value></item-id></result> 2023-02-24 16:03:49 | [Mutex] received everything. 2023-02-24 16:03:49 | [Mutex] isItemNotified: retracted:item:notifieditem-10d46a5e-6061-4fd3-8feb-9138572cf689:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2023-02-24 16:03:48 |
2023-02-24 16:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:48 | ------------------------------------ 2023-02-24 16:03:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-51e923a3-ca54-43ad-8f69-70c736394762</node><item-id>item-10d46a5e-6061-4fd3-8feb-9138572cf689</item-id></data> 2023-02-24 16:03:49 | 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-51e923a3-ca54-43ad-8f69-70c736394762</value></node><item-id type="text-single" label="Item ID"><value>item-10d46a5e-6061-4fd3-8feb-9138572cf689</value></item-id><item type="text-multi" label="Item"><value><item id="item-10d46a5e-6061-4fd3-8feb-9138572cf689"><test>item-10d46a5e-6061-4fd3-8feb-9138572cf689</test></item></value></item></result> 2023-02-24 16:03:49 | [Mutex] notify: [retrieved:item:item-10d46a5e-6061-4fd3-8feb-9138572cf689:payload-matches:true:localhost] 2023-02-24 16:03:49 | [Mutex] received everything. 2023-02-24 16:03:49 | [Mutex] isItemNotified: retrieved:item:item-10d46a5e-6061-4fd3-8feb-9138572cf689:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-02-24 16:03:49 |
2023-02-24 16:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:49 | ------------------------------------ 2023-02-24 16:03:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-02-24 16:03:49 | 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-51e923a3-ca54-43ad-8f69-70c736394762</value><value>node-0c059ac2-6bf3-4742-80a1-61c2f2728fff</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-02-24 16:03:49 |
2023-02-24 16:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:49 | ------------------------------------ 2023-02-24 16:03:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-51e923a3-ca54-43ad-8f69-70c736394762)</node-pattern></data> 2023-02-24 16:03:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.101s |
2023-02-24 16:03:47 |
2023-02-24 16:03:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:47 | ------------------------------------ 2023-02-24 16:03:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-51e923a3-ca54-43ad-8f69-70c736394762</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-24 16:03:47 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.187s |
2023-02-24 16:03:49 |
2023-02-24 16:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-24 16:03:49 | ------------------------------------ 2023-02-24 16:03:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-51e923a3-ca54-43ad-8f69-70c736394762</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-24 16:03:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |