Generated by TestNG with ReportNG at 22:42 PDT on Thursday 24 June 2021
root@b2c2a8eba6e6 / 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.214s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-06-24 22:58:42 |

2021-06-24 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:42 | ------------------------------------

2021-06-24 22:58:42 | [Mutex] waiting for: [configured:node:node-76767e2b-61de-4435-95bb-a9974c7240e4:node-5355cade-2b76-471f-9997-517e1fa92d9d]

2021-06-24 22:58:42 | [Mutex] received everything.

2021-06-24 22:58:42 | [Mutex] isItemNotified: configured:node:node-76767e2b-61de-4435-95bb-a9974c7240e4:node-5355cade-2b76-471f-9997-517e1fa92d9d :: true

2021-06-24 22:58:43 | [Mutex] waiting for: [received:nodes:6bbda3d3-e806-48e0-ac15-0ce985db5458:localhost]

2021-06-24 22:58:43 | [Mutex] waiting for: [received:nodes:6bbda3d3-e806-48e0-ac15-0ce985db5458:localhost]

2021-06-24 22:58:43 | [Mutex] received everything.

2021-06-24 22:58:43 | [Mutex] isItemNotified: received:node:6bbda3d3-e806-48e0-ac15-0ce985db5458:localhost:node-76767e2b-61de-4435-95bb-a9974c7240e4:Node 76767e2b-61de-4435-95bb-a9974c7240e4 :: true

2021-06-24 22:58:43 | [Mutex] waiting for: [received:nodes:be0174cd-8303-4138-928d-418b2bc962da:localhost]

2021-06-24 22:58:43 | [Mutex] received everything.

2021-06-24 22:58:43 | [Mutex] isItemNotified: received:node:be0174cd-8303-4138-928d-418b2bc962da:localhost:node-76767e2b-61de-4435-95bb-a9974c7240e4:Node 76767e2b-61de-4435-95bb-a9974c7240e4 :: false

createNodes 1.560s
2021-06-24 22:58:39 |

2021-06-24 22:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:39 | ------------------------------------

2021-06-24 22:58:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-76767e2b-61de-4435-95bb-a9974c7240e4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 76767e2b-61de-4435-95bb-a9974c7240e4</title></pubsub></data>

2021-06-24 22:58:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:58:41 | [Mutex] waiting for: [received:nodes:105e6511-d94e-4ff7-830d-84e2bb39ffa8:localhost]

2021-06-24 22:58:41 | [Mutex] received everything.

2021-06-24 22:58:41 | [Mutex] isItemNotified: received:node:105e6511-d94e-4ff7-830d-84e2bb39ffa8:localhost:node-76767e2b-61de-4435-95bb-a9974c7240e4:Node 76767e2b-61de-4435-95bb-a9974c7240e4 :: true

createSubnodes 1.031s
2021-06-24 22:58:41 |

2021-06-24 22:58:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:41 | ------------------------------------

2021-06-24 22:58:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5355cade-2b76-471f-9997-517e1fa92d9d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5355cade-2b76-471f-9997-517e1fa92d9d</title></pubsub></data>

2021-06-24 22:58:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:58:42 | [Mutex] waiting for: [received:nodes:488d568f-358c-4afa-bdd4-77d6adcbd552:localhost]

2021-06-24 22:58:42 | [Mutex] received everything.

2021-06-24 22:58:42 | [Mutex] isItemNotified: received:node:488d568f-358c-4afa-bdd4-77d6adcbd552:localhost:node-5355cade-2b76-471f-9997-517e1fa92d9d:Node 5355cade-2b76-471f-9997-517e1fa92d9d :: true

deleteNodes 1.026s
2021-06-24 22:58:48 |

2021-06-24 22:58:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:48 | ------------------------------------

2021-06-24 22:58:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5355cade-2b76-471f-9997-517e1fa92d9d</node></data>

2021-06-24 22:58:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:58:49 | [Mutex] waiting for: [received:nodes:685c17d3-1530-48b1-96c8-d36a9e0d66b2:localhost]

2021-06-24 22:58:49 | [Mutex] received everything.

2021-06-24 22:58:49 | [Mutex] isItemNotified: received:node:685c17d3-1530-48b1-96c8-d36a9e0d66b2:localhost:node-5355cade-2b76-471f-9997-517e1fa92d9d:Node 5355cade-2b76-471f-9997-517e1fa92d9d :: false

deleteSubnodes 1.156s
2021-06-24 22:58:47 |

2021-06-24 22:58:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:47 | ------------------------------------

2021-06-24 22:58:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-76767e2b-61de-4435-95bb-a9974c7240e4</node></data>

2021-06-24 22:58:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:58:48 | [Mutex] waiting for: [received:nodes:fb6dce8a-825c-4a6f-b8a7-30f37291066a:localhost]

2021-06-24 22:58:48 | [Mutex] received everything.

2021-06-24 22:58:48 | [Mutex] isItemNotified: received:node:fb6dce8a-825c-4a6f-b8a7-30f37291066a:localhost:node-76767e2b-61de-4435-95bb-a9974c7240e4:Node 76767e2b-61de-4435-95bb-a9974c7240e4 :: false

2021-06-24 22:58:48 | [Mutex] waiting for: [received:nodes:3f039ac9-cc8d-4ac7-813b-c12237d15a20:localhost]

2021-06-24 22:58:48 | [Mutex] received everything.

2021-06-24 22:58:48 | [Mutex] isItemNotified: received:node:3f039ac9-cc8d-4ac7-813b-c12237d15a20:localhost:node-76767e2b-61de-4435-95bb-a9974c7240e4:Node 76767e2b-61de-4435-95bb-a9974c7240e4 :: false

publishItemsToNodes 0.225s
2021-06-24 22:58:44 |

2021-06-24 22:58:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:44 | ------------------------------------

2021-06-24 22:58:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-76767e2b-61de-4435-95bb-a9974c7240e4</node><item-id>item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</item-id><entry><test>item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</test></entry></data>

2021-06-24 22:58:45 | 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-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</value></item-id></result>

2021-06-24 22:58:45 | [Mutex] received everything.

2021-06-24 22:58:45 | [Mutex] isItemNotified: published:item:notifieditem-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2021-06-24 22:58:45 |

2021-06-24 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:45 | ------------------------------------

2021-06-24 22:58:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-76767e2b-61de-4435-95bb-a9974c7240e4</node><item-id>item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</item-id></data>

2021-06-24 22:58:45 | 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-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</value></item-id></result>

2021-06-24 22:58:45 | [Mutex] waiting for: [retracted:item:notifieditem-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee:admin@test-domain.com]

2021-06-24 22:58:45 | [Mutex] received everything.

2021-06-24 22:58:45 | [Mutex] isItemNotified: retracted:item:notifieditem-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee:admin@test-domain.com :: true

retrieveItemsFromNodes 0.383s
2021-06-24 22:58:45 |

2021-06-24 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:45 | ------------------------------------

2021-06-24 22:58:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-76767e2b-61de-4435-95bb-a9974c7240e4</node><item-id>item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</item-id></data>

2021-06-24 22:58:45 | 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-76767e2b-61de-4435-95bb-a9974c7240e4</value></node><item-id type="text-single" label="Item ID"><value>item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</value></item-id><item type="text-multi" label="Item"><value><item id="item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee"><test>item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee</test></item></value></item></result>

2021-06-24 22:58:45 | [Mutex] notify: [retrieved:item:item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee:payload-matches:true:localhost]

2021-06-24 22:58:45 | [Mutex] received everything.

2021-06-24 22:58:45 | [Mutex] isItemNotified: retrieved:item:item-2c7aab15-456c-4ea0-a04d-b3b1f8ad9dee:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-06-24 22:58:45 |

2021-06-24 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:45 | ------------------------------------

2021-06-24 22:58:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-24 22:58:45 | 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-76767e2b-61de-4435-95bb-a9974c7240e4</value><value>node-5355cade-2b76-471f-9997-517e1fa92d9d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-06-24 22:58:45 |

2021-06-24 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:45 | ------------------------------------

2021-06-24 22:58:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-76767e2b-61de-4435-95bb-a9974c7240e4)</node-pattern></data>

2021-06-24 22:58:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.187s
2021-06-24 22:58:43 |

2021-06-24 22:58:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:43 | ------------------------------------

2021-06-24 22:58:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-76767e2b-61de-4435-95bb-a9974c7240e4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:58:43 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.242s
2021-06-24 22:58:45 |

2021-06-24 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:58:45 | ------------------------------------

2021-06-24 22:58:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-76767e2b-61de-4435-95bb-a9974c7240e4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:58:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>