Test duration : 9.998s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2022-03-29 05:10:44 |
2022-03-29 05:10:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:44 | ------------------------------------ 2022-03-29 05:10:44 | [Mutex] waiting for: [configured:node:node-47b831e0-66b4-4523-a73c-d7e1ae398768:node-0f709276-269a-411c-ba96-ee58fe8fd520] 2022-03-29 05:10:44 | [Mutex] received everything. 2022-03-29 05:10:44 | [Mutex] isItemNotified: configured:node:node-47b831e0-66b4-4523-a73c-d7e1ae398768:node-0f709276-269a-411c-ba96-ee58fe8fd520 :: true 2022-03-29 05:10:45 | [Mutex] waiting for: [received:nodes:49e4876e-96bd-47c6-b850-8c4c9af207b2:localhost] 2022-03-29 05:10:45 | [Mutex] received everything. 2022-03-29 05:10:45 | [Mutex] isItemNotified: received:node:49e4876e-96bd-47c6-b850-8c4c9af207b2:localhost:node-47b831e0-66b4-4523-a73c-d7e1ae398768:Node 47b831e0-66b4-4523-a73c-d7e1ae398768 :: true 2022-03-29 05:10:45 | [Mutex] waiting for: [received:nodes:bfdd65f9-a42b-49d6-a47c-ec636d4eb5dc:localhost] 2022-03-29 05:10:45 | [Mutex] received everything. 2022-03-29 05:10:45 | [Mutex] isItemNotified: received:node:bfdd65f9-a42b-49d6-a47c-ec636d4eb5dc:localhost:node-47b831e0-66b4-4523-a73c-d7e1ae398768:Node 47b831e0-66b4-4523-a73c-d7e1ae398768 :: false |
createNodes | 1.733s |
2022-03-29 05:10:42 |
2022-03-29 05:10:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:42 | ------------------------------------ 2022-03-29 05:10:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-47b831e0-66b4-4523-a73c-d7e1ae398768</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 47b831e0-66b4-4523-a73c-d7e1ae398768</title></pubsub></data> 2022-03-29 05:10:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-29 05:10:43 | [Mutex] waiting for: [received:nodes:a3694770-6080-4b3f-b708-294de3d65863:localhost] 2022-03-29 05:10:43 | [Mutex] received everything. 2022-03-29 05:10:43 | [Mutex] isItemNotified: received:node:a3694770-6080-4b3f-b708-294de3d65863:localhost:node-47b831e0-66b4-4523-a73c-d7e1ae398768:Node 47b831e0-66b4-4523-a73c-d7e1ae398768 :: true |
createSubnodes | 1.022s |
2022-03-29 05:10:43 |
2022-03-29 05:10:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:43 | ------------------------------------ 2022-03-29 05:10:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0f709276-269a-411c-ba96-ee58fe8fd520</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0f709276-269a-411c-ba96-ee58fe8fd520</title></pubsub></data> 2022-03-29 05:10:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-29 05:10:44 | [Mutex] waiting for: [received:nodes:88bc1ecc-400d-4724-b99b-545f41a525d7:localhost] 2022-03-29 05:10:44 | [Mutex] received everything. 2022-03-29 05:10:44 | [Mutex] isItemNotified: received:node:88bc1ecc-400d-4724-b99b-545f41a525d7:localhost:node-0f709276-269a-411c-ba96-ee58fe8fd520:Node 0f709276-269a-411c-ba96-ee58fe8fd520 :: true |
deleteNodes | 1.015s |
2022-03-29 05:10:50 |
2022-03-29 05:10:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:50 | ------------------------------------ 2022-03-29 05:10:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0f709276-269a-411c-ba96-ee58fe8fd520</node></data> 2022-03-29 05:10:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-29 05:10:51 | [Mutex] waiting for: [received:nodes:e00f2e8b-a099-4c9a-9bdf-bc9ca0898ecb:localhost] 2022-03-29 05:10:51 | [Mutex] received everything. 2022-03-29 05:10:51 | [Mutex] isItemNotified: received:node:e00f2e8b-a099-4c9a-9bdf-bc9ca0898ecb:localhost:node-0f709276-269a-411c-ba96-ee58fe8fd520:Node 0f709276-269a-411c-ba96-ee58fe8fd520 :: false |
deleteSubnodes | 1.123s |
2022-03-29 05:10:49 |
2022-03-29 05:10:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:49 | ------------------------------------ 2022-03-29 05:10:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-47b831e0-66b4-4523-a73c-d7e1ae398768</node></data> 2022-03-29 05:10:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-29 05:10:50 | [Mutex] waiting for: [received:nodes:e6daca12-835c-4a70-9be6-28477197c562:localhost] 2022-03-29 05:10:50 | [Mutex] received everything. 2022-03-29 05:10:50 | [Mutex] isItemNotified: received:node:e6daca12-835c-4a70-9be6-28477197c562:localhost:node-47b831e0-66b4-4523-a73c-d7e1ae398768:Node 47b831e0-66b4-4523-a73c-d7e1ae398768 :: false 2022-03-29 05:10:50 | [Mutex] waiting for: [received:nodes:c920e066-23c0-44fd-8805-a9da8eac6c94:localhost] 2022-03-29 05:10:50 | [Mutex] received everything. 2022-03-29 05:10:50 | [Mutex] isItemNotified: received:node:c920e066-23c0-44fd-8805-a9da8eac6c94:localhost:node-47b831e0-66b4-4523-a73c-d7e1ae398768:Node 47b831e0-66b4-4523-a73c-d7e1ae398768 :: false |
publishItemsToNodes | 0.201s |
2022-03-29 05:10:47 |
2022-03-29 05:10:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:47 | ------------------------------------ 2022-03-29 05:10:47 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-47b831e0-66b4-4523-a73c-d7e1ae398768</node><item-id>item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</item-id><entry><test>item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</test></entry></data> 2022-03-29 05:10:47 | 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-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</value></item-id></result> 2022-03-29 05:10:47 | [Mutex] waiting for: [published:item:notifieditem-8805ef57-a8eb-4820-b2f0-9a2de026c7f8:admin@test-domain.com] 2022-03-29 05:10:47 | [Mutex] received everything. 2022-03-29 05:10:47 | [Mutex] isItemNotified: published:item:notifieditem-8805ef57-a8eb-4820-b2f0-9a2de026c7f8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-03-29 05:10:47 |
2022-03-29 05:10:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:47 | ------------------------------------ 2022-03-29 05:10:47 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-47b831e0-66b4-4523-a73c-d7e1ae398768</node><item-id>item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</item-id></data> 2022-03-29 05:10:47 | 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-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</value></item-id></result> 2022-03-29 05:10:47 | [Mutex] received everything. 2022-03-29 05:10:47 | [Mutex] isItemNotified: retracted:item:notifieditem-8805ef57-a8eb-4820-b2f0-9a2de026c7f8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2022-03-29 05:10:47 |
2022-03-29 05:10:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:47 | ------------------------------------ 2022-03-29 05:10:47 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-47b831e0-66b4-4523-a73c-d7e1ae398768</node><item-id>item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</item-id></data> 2022-03-29 05:10:47 | 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-47b831e0-66b4-4523-a73c-d7e1ae398768</value></node><item-id type="text-single" label="Item ID"><value>item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</value></item-id><item type="text-multi" label="Item"><value><item id="item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8"><test>item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8</test></item></value></item></result> 2022-03-29 05:10:47 | [Mutex] notify: [retrieved:item:item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8:payload-matches:true:localhost] 2022-03-29 05:10:47 | [Mutex] received everything. 2022-03-29 05:10:47 | [Mutex] isItemNotified: retrieved:item:item-8805ef57-a8eb-4820-b2f0-9a2de026c7f8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-03-29 05:10:47 |
2022-03-29 05:10:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:47 | ------------------------------------ 2022-03-29 05:10:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-03-29 05:10:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-0f709276-269a-411c-ba96-ee58fe8fd520</value><value>test</value><value>node-47b831e0-66b4-4523-a73c-d7e1ae398768</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-03-29 05:10:47 |
2022-03-29 05:10:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:47 | ------------------------------------ 2022-03-29 05:10:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-47b831e0-66b4-4523-a73c-d7e1ae398768)</node-pattern></data> 2022-03-29 05:10:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.158s |
2022-03-29 05:10:45 |
2022-03-29 05:10:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:45 | ------------------------------------ 2022-03-29 05:10:45 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-47b831e0-66b4-4523-a73c-d7e1ae398768</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-29 05:10:46 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2022-03-29 05:10:47 |
2022-03-29 05:10:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-29 05:10:47 | ------------------------------------ 2022-03-29 05:10:47 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-47b831e0-66b4-4523-a73c-d7e1ae398768</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-29 05:10:48 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |