Generated by TestNG with ReportNG at 22:21 PDT on Thursday 27 May 2021
root@785cf647a4ab / 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 : 10.277s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-05-27 22:38:50 |

2021-05-27 22:38:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:50 | ------------------------------------

2021-05-27 22:38:50 | [Mutex] waiting for: [configured:node:node-47a3945e-66ea-41d0-ab19-d0569c05f40b:node-561993ac-f091-4c4c-b602-c67a6cec16b7]

2021-05-27 22:38:50 | [Mutex] received everything.

2021-05-27 22:38:50 | [Mutex] isItemNotified: configured:node:node-47a3945e-66ea-41d0-ab19-d0569c05f40b:node-561993ac-f091-4c4c-b602-c67a6cec16b7 :: true

2021-05-27 22:38:51 | [Mutex] waiting for: [received:nodes:8e475abf-5c3f-449e-a7bc-5ade2abbaac7:localhost]

2021-05-27 22:38:51 | [Mutex] received everything.

2021-05-27 22:38:51 | [Mutex] isItemNotified: received:node:8e475abf-5c3f-449e-a7bc-5ade2abbaac7:localhost:node-47a3945e-66ea-41d0-ab19-d0569c05f40b:Node 47a3945e-66ea-41d0-ab19-d0569c05f40b :: true

2021-05-27 22:38:51 | [Mutex] waiting for: [received:nodes:692ab87f-fc14-41b4-9dc2-e270804a5a6b:localhost]

2021-05-27 22:38:51 | [Mutex] received everything.

2021-05-27 22:38:51 | [Mutex] isItemNotified: received:node:692ab87f-fc14-41b4-9dc2-e270804a5a6b:localhost:node-47a3945e-66ea-41d0-ab19-d0569c05f40b:Node 47a3945e-66ea-41d0-ab19-d0569c05f40b :: false

createNodes 1.652s
2021-05-27 22:38:47 |

2021-05-27 22:38:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:47 | ------------------------------------

2021-05-27 22:38:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-47a3945e-66ea-41d0-ab19-d0569c05f40b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 47a3945e-66ea-41d0-ab19-d0569c05f40b</title></pubsub></data>

2021-05-27 22:38:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 22:38:49 | [Mutex] waiting for: [received:nodes:5e441b90-711b-4877-b701-1685442d0473:localhost]

2021-05-27 22:38:49 | [Mutex] waiting for: [received:nodes:5e441b90-711b-4877-b701-1685442d0473:localhost]

2021-05-27 22:38:49 | [Mutex] received everything.

2021-05-27 22:38:49 | [Mutex] isItemNotified: received:node:5e441b90-711b-4877-b701-1685442d0473:localhost:node-47a3945e-66ea-41d0-ab19-d0569c05f40b:Node 47a3945e-66ea-41d0-ab19-d0569c05f40b :: true

createSubnodes 1.028s
2021-05-27 22:38:49 |

2021-05-27 22:38:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:49 | ------------------------------------

2021-05-27 22:38:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-561993ac-f091-4c4c-b602-c67a6cec16b7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 561993ac-f091-4c4c-b602-c67a6cec16b7</title></pubsub></data>

2021-05-27 22:38:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 22:38:50 | [Mutex] waiting for: [received:nodes:87b796a8-66f9-40cd-a3ad-037d24167e68:localhost]

2021-05-27 22:38:50 | [Mutex] received everything.

2021-05-27 22:38:50 | [Mutex] isItemNotified: received:node:87b796a8-66f9-40cd-a3ad-037d24167e68:localhost:node-561993ac-f091-4c4c-b602-c67a6cec16b7:Node 561993ac-f091-4c4c-b602-c67a6cec16b7 :: true

deleteNodes 1.023s
2021-05-27 22:38:55 |

2021-05-27 22:38:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:55 | ------------------------------------

2021-05-27 22:38:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-561993ac-f091-4c4c-b602-c67a6cec16b7</node></data>

2021-05-27 22:38:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 22:38:56 | [Mutex] waiting for: [received:nodes:e1bcfce7-f1e7-4125-950c-75bad91aec01:localhost]

2021-05-27 22:38:56 | [Mutex] received everything.

2021-05-27 22:38:56 | [Mutex] isItemNotified: received:node:e1bcfce7-f1e7-4125-950c-75bad91aec01:localhost:node-561993ac-f091-4c4c-b602-c67a6cec16b7:Node 561993ac-f091-4c4c-b602-c67a6cec16b7 :: false

deleteSubnodes 1.128s
2021-05-27 22:38:54 |

2021-05-27 22:38:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:54 | ------------------------------------

2021-05-27 22:38:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-47a3945e-66ea-41d0-ab19-d0569c05f40b</node></data>

2021-05-27 22:38:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 22:38:55 | [Mutex] waiting for: [received:nodes:d53f90c6-2b2c-4cba-a540-61c1d10ec885:localhost]

2021-05-27 22:38:55 | [Mutex] received everything.

2021-05-27 22:38:55 | [Mutex] isItemNotified: received:node:d53f90c6-2b2c-4cba-a540-61c1d10ec885:localhost:node-47a3945e-66ea-41d0-ab19-d0569c05f40b:Node 47a3945e-66ea-41d0-ab19-d0569c05f40b :: false

2021-05-27 22:38:55 | [Mutex] waiting for: [received:nodes:9e5dd27e-4bf2-4c8c-8bc4-963f927c774d:localhost]

2021-05-27 22:38:55 | [Mutex] received everything.

2021-05-27 22:38:55 | [Mutex] isItemNotified: received:node:9e5dd27e-4bf2-4c8c-8bc4-963f927c774d:localhost:node-47a3945e-66ea-41d0-ab19-d0569c05f40b:Node 47a3945e-66ea-41d0-ab19-d0569c05f40b :: false

publishItemsToNodes 0.230s
2021-05-27 22:38:52 |

2021-05-27 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:52 | ------------------------------------

2021-05-27 22:38:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-47a3945e-66ea-41d0-ab19-d0569c05f40b</node><item-id>item-b5ed81a4-d3ad-491d-9949-ac94796cdde4</item-id><entry><test>item-b5ed81a4-d3ad-491d-9949-ac94796cdde4</test></entry></data>

2021-05-27 22:38: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-b5ed81a4-d3ad-491d-9949-ac94796cdde4</value></item-id></result>

2021-05-27 22:38:52 | [Mutex] waiting for: [published:item:notifieditem-b5ed81a4-d3ad-491d-9949-ac94796cdde4:admin@test-domain.com]

2021-05-27 22:38:52 | [Mutex] received everything.

2021-05-27 22:38:52 | [Mutex] isItemNotified: published:item:notifieditem-b5ed81a4-d3ad-491d-9949-ac94796cdde4:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2021-05-27 22:38:53 |

2021-05-27 22:38:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:53 | ------------------------------------

2021-05-27 22:38:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-47a3945e-66ea-41d0-ab19-d0569c05f40b</node><item-id>item-b5ed81a4-d3ad-491d-9949-ac94796cdde4</item-id></data>

2021-05-27 22:38:53 | 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-b5ed81a4-d3ad-491d-9949-ac94796cdde4</value></item-id></result>

2021-05-27 22:38:53 | [Mutex] waiting for: [retracted:item:notifieditem-b5ed81a4-d3ad-491d-9949-ac94796cdde4:admin@test-domain.com]

2021-05-27 22:38:53 | [Mutex] received everything.

2021-05-27 22:38:53 | [Mutex] isItemNotified: retracted:item:notifieditem-b5ed81a4-d3ad-491d-9949-ac94796cdde4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.312s
2021-05-27 22:38:52 |

2021-05-27 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:52 | ------------------------------------

2021-05-27 22:38:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-47a3945e-66ea-41d0-ab19-d0569c05f40b</node><item-id>item-b5ed81a4-d3ad-491d-9949-ac94796cdde4</item-id></data>

2021-05-27 22:38: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-47a3945e-66ea-41d0-ab19-d0569c05f40b</value></node><item-id type="text-single" label="Item ID"><value>item-b5ed81a4-d3ad-491d-9949-ac94796cdde4</value></item-id><item type="text-multi" label="Item"><value><item id="item-b5ed81a4-d3ad-491d-9949-ac94796cdde4"><test>item-b5ed81a4-d3ad-491d-9949-ac94796cdde4</test></item></value></item></result>

2021-05-27 22:38:52 | [Mutex] notify: [retrieved:item:item-b5ed81a4-d3ad-491d-9949-ac94796cdde4:payload-matches:true:localhost]

2021-05-27 22:38:52 | [Mutex] received everything.

2021-05-27 22:38:52 | [Mutex] isItemNotified: retrieved:item:item-b5ed81a4-d3ad-491d-9949-ac94796cdde4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-05-27 22:38:52 |

2021-05-27 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:52 | ------------------------------------

2021-05-27 22:38:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-27 22:38:52 | 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-47a3945e-66ea-41d0-ab19-d0569c05f40b</value><value>node-561993ac-f091-4c4c-b602-c67a6cec16b7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-27 22:38:52 |

2021-05-27 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:52 | ------------------------------------

2021-05-27 22:38: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-47a3945e-66ea-41d0-ab19-d0569c05f40b)</node-pattern></data>

2021-05-27 22:38:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.173s
2021-05-27 22:38:51 |

2021-05-27 22:38:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:51 | ------------------------------------

2021-05-27 22:38:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-47a3945e-66ea-41d0-ab19-d0569c05f40b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 22:38:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.315s
2021-05-27 22:38:53 |

2021-05-27 22:38:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:53 | ------------------------------------

2021-05-27 22:38:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-47a3945e-66ea-41d0-ab19-d0569c05f40b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 22:38:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>