Generated by TestNG with ReportNG at 11:44 PDT on Wednesday 07 April 2021
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.902s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.141s
2021-04-07 12:00:38 |

2021-04-07 12:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:38 | ------------------------------------

2021-04-07 12:00:38 | [Mutex] waiting for: [configured:node:node-e20006ed-2558-4d2c-9757-b365fa169cd8:node-014f2e77-6f27-4f95-80fa-36b82026178b]

2021-04-07 12:00:38 | [Mutex] received everything.

2021-04-07 12:00:38 | [Mutex] isItemNotified: configured:node:node-e20006ed-2558-4d2c-9757-b365fa169cd8:node-014f2e77-6f27-4f95-80fa-36b82026178b :: true

2021-04-07 12:00:39 | [Mutex] waiting for: [received:nodes:f60cc714-c50c-4414-ac1d-86685e79d72a:localhost]

2021-04-07 12:00:39 | [Mutex] waiting for: [received:nodes:f60cc714-c50c-4414-ac1d-86685e79d72a:localhost]

2021-04-07 12:00:39 | [Mutex] received everything.

2021-04-07 12:00:39 | [Mutex] isItemNotified: received:node:f60cc714-c50c-4414-ac1d-86685e79d72a:localhost:node-e20006ed-2558-4d2c-9757-b365fa169cd8:Node e20006ed-2558-4d2c-9757-b365fa169cd8 :: true

2021-04-07 12:00:39 | [Mutex] waiting for: [received:nodes:2377af14-d7b9-48a9-adbb-52ce03ba86ab:localhost]

2021-04-07 12:00:39 | [Mutex] waiting for: [received:nodes:2377af14-d7b9-48a9-adbb-52ce03ba86ab:localhost]

2021-04-07 12:00:39 | [Mutex] waiting for: [received:nodes:2377af14-d7b9-48a9-adbb-52ce03ba86ab:localhost]

2021-04-07 12:00:39 | [Mutex] waiting for: [received:nodes:2377af14-d7b9-48a9-adbb-52ce03ba86ab:localhost]

2021-04-07 12:00:39 | [Mutex] received everything.

2021-04-07 12:00:39 | [Mutex] isItemNotified: received:node:2377af14-d7b9-48a9-adbb-52ce03ba86ab:localhost:node-e20006ed-2558-4d2c-9757-b365fa169cd8:Node e20006ed-2558-4d2c-9757-b365fa169cd8 :: false

createNodes 1.414s
2021-04-07 12:00:35 |

2021-04-07 12:00:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:35 | ------------------------------------

2021-04-07 12:00:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e20006ed-2558-4d2c-9757-b365fa169cd8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e20006ed-2558-4d2c-9757-b365fa169cd8</title></pubsub></data>

2021-04-07 12:00:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 12:00:37 | [Mutex] waiting for: [received:nodes:9a5cf6c8-9f98-4748-8aed-a1d745fa9a5b:localhost]

2021-04-07 12:00:37 | [Mutex] waiting for: [received:nodes:9a5cf6c8-9f98-4748-8aed-a1d745fa9a5b:localhost]

2021-04-07 12:00:37 | [Mutex] received everything.

2021-04-07 12:00:37 | [Mutex] isItemNotified: received:node:9a5cf6c8-9f98-4748-8aed-a1d745fa9a5b:localhost:node-e20006ed-2558-4d2c-9757-b365fa169cd8:Node e20006ed-2558-4d2c-9757-b365fa169cd8 :: true

createSubnodes 1.027s
2021-04-07 12:00:37 |

2021-04-07 12:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:37 | ------------------------------------

2021-04-07 12:00:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-014f2e77-6f27-4f95-80fa-36b82026178b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 014f2e77-6f27-4f95-80fa-36b82026178b</title></pubsub></data>

2021-04-07 12:00:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 12:00:38 | [Mutex] waiting for: [received:nodes:d985ac76-8642-4610-aa60-d291519fdf04:localhost]

2021-04-07 12:00:38 | [Mutex] received everything.

2021-04-07 12:00:38 | [Mutex] isItemNotified: received:node:d985ac76-8642-4610-aa60-d291519fdf04:localhost:node-014f2e77-6f27-4f95-80fa-36b82026178b:Node 014f2e77-6f27-4f95-80fa-36b82026178b :: true

deleteNodes 1.019s
2021-04-07 12:00:43 |

2021-04-07 12:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:43 | ------------------------------------

2021-04-07 12:00:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-014f2e77-6f27-4f95-80fa-36b82026178b</node></data>

2021-04-07 12:00:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 12:00:44 | [Mutex] waiting for: [received:nodes:c3027e15-29ab-44ba-bcfb-6416ad6bdf4d:localhost]

2021-04-07 12:00:44 | [Mutex] received everything.

2021-04-07 12:00:44 | [Mutex] isItemNotified: received:node:c3027e15-29ab-44ba-bcfb-6416ad6bdf4d:localhost:node-014f2e77-6f27-4f95-80fa-36b82026178b:Node 014f2e77-6f27-4f95-80fa-36b82026178b :: false

deleteSubnodes 1.115s
2021-04-07 12:00:42 |

2021-04-07 12:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:42 | ------------------------------------

2021-04-07 12:00:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e20006ed-2558-4d2c-9757-b365fa169cd8</node></data>

2021-04-07 12:00:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 12:00:43 | [Mutex] waiting for: [received:nodes:3fb4be2e-0101-4ad1-b746-332e6a90a1f1:localhost]

2021-04-07 12:00:43 | [Mutex] waiting for: [received:nodes:3fb4be2e-0101-4ad1-b746-332e6a90a1f1:localhost]

2021-04-07 12:00:43 | [Mutex] received everything.

2021-04-07 12:00:43 | [Mutex] isItemNotified: received:node:3fb4be2e-0101-4ad1-b746-332e6a90a1f1:localhost:node-e20006ed-2558-4d2c-9757-b365fa169cd8:Node e20006ed-2558-4d2c-9757-b365fa169cd8 :: false

2021-04-07 12:00:43 | [Mutex] waiting for: [received:nodes:469726e2-2fab-45ed-b163-ebb1164397aa:localhost]

2021-04-07 12:00:43 | [Mutex] received everything.

2021-04-07 12:00:43 | [Mutex] isItemNotified: received:node:469726e2-2fab-45ed-b163-ebb1164397aa:localhost:node-e20006ed-2558-4d2c-9757-b365fa169cd8:Node e20006ed-2558-4d2c-9757-b365fa169cd8 :: false

publishItemsToNodes 0.268s
2021-04-07 12:00:40 |

2021-04-07 12:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:40 | ------------------------------------

2021-04-07 12:00:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e20006ed-2558-4d2c-9757-b365fa169cd8</node><item-id>item-4e0d62c7-8425-422b-b69a-9111d6eba071</item-id><entry><test>item-4e0d62c7-8425-422b-b69a-9111d6eba071</test></entry></data>

2021-04-07 12:00:40 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-4e0d62c7-8425-422b-b69a-9111d6eba071</value></item-id></result>

2021-04-07 12:00:40 | [Mutex] received everything.

2021-04-07 12:00:40 | [Mutex] isItemNotified: published:item:notifieditem-4e0d62c7-8425-422b-b69a-9111d6eba071:admin@test-domain.com :: true

retractItemsFromNodes 0.224s
2021-04-07 12:00:41 |

2021-04-07 12:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:41 | ------------------------------------

2021-04-07 12:00:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e20006ed-2558-4d2c-9757-b365fa169cd8</node><item-id>item-4e0d62c7-8425-422b-b69a-9111d6eba071</item-id></data>

2021-04-07 12:00:41 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-4e0d62c7-8425-422b-b69a-9111d6eba071</value></item-id></result>

2021-04-07 12:00:41 | [Mutex] waiting for: [retracted:item:notifieditem-4e0d62c7-8425-422b-b69a-9111d6eba071:admin@test-domain.com]

2021-04-07 12:00:41 | [Mutex] received everything.

2021-04-07 12:00:41 | [Mutex] isItemNotified: retracted:item:notifieditem-4e0d62c7-8425-422b-b69a-9111d6eba071:admin@test-domain.com :: true

retrieveItemsFromNodes 0.295s
2021-04-07 12:00:40 |

2021-04-07 12:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:40 | ------------------------------------

2021-04-07 12:00:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e20006ed-2558-4d2c-9757-b365fa169cd8</node><item-id>item-4e0d62c7-8425-422b-b69a-9111d6eba071</item-id></data>

2021-04-07 12:00:41 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-e20006ed-2558-4d2c-9757-b365fa169cd8</value></node><item-id label="Item ID" type="text-single"><value>item-4e0d62c7-8425-422b-b69a-9111d6eba071</value></item-id><item label="Item" type="text-multi"><value><item id="item-4e0d62c7-8425-422b-b69a-9111d6eba071"><test>item-4e0d62c7-8425-422b-b69a-9111d6eba071</test></item></value></item></result>

2021-04-07 12:00:41 | [Mutex] notify: [retrieved:item:item-4e0d62c7-8425-422b-b69a-9111d6eba071:payload-matches:true:localhost]

2021-04-07 12:00:41 | [Mutex] received everything.

2021-04-07 12:00:41 | [Mutex] isItemNotified: retrieved:item:item-4e0d62c7-8425-422b-b69a-9111d6eba071:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-07 12:00:41 |

2021-04-07 12:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:41 | ------------------------------------

2021-04-07 12:00:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-07 12:00:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e20006ed-2558-4d2c-9757-b365fa169cd8</value><value>node-014f2e77-6f27-4f95-80fa-36b82026178b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-04-07 12:00:41 |

2021-04-07 12:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:41 | ------------------------------------

2021-04-07 12:00:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e20006ed-2558-4d2c-9757-b365fa169cd8)</node-pattern></data>

2021-04-07 12:00:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.129s
2021-04-07 12:00:39 |

2021-04-07 12:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:39 | ------------------------------------

2021-04-07 12:00:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e20006ed-2558-4d2c-9757-b365fa169cd8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-07 12:00:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.209s
2021-04-07 12:00:41 |

2021-04-07 12:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 12:00:41 | ------------------------------------

2021-04-07 12:00:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e20006ed-2558-4d2c-9757-b365fa169cd8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-07 12:00:41 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>