Generated by TestNG with ReportNG at 22:34 PDT on Thursday 29 April 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.274s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2021-04-29 22:49:55 |

2021-04-29 22:49:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:55 | ------------------------------------

2021-04-29 22:49:55 | [Mutex] waiting for: [configured:node:node-76d16eb5-28d3-4ba8-bea8-716cba394caf:node-04aa9926-639d-4de3-ac20-0c420e26317e]

2021-04-29 22:49:56 | [Mutex] received everything.

2021-04-29 22:49:56 | [Mutex] isItemNotified: configured:node:node-76d16eb5-28d3-4ba8-bea8-716cba394caf:node-04aa9926-639d-4de3-ac20-0c420e26317e :: true

2021-04-29 22:49:57 | [Mutex] waiting for: [received:nodes:47d3b211-c9b7-4364-a99f-a2522eb40467:localhost]

2021-04-29 22:49:57 | [Mutex] waiting for: [received:nodes:47d3b211-c9b7-4364-a99f-a2522eb40467:localhost]

2021-04-29 22:49:57 | [Mutex] received everything.

2021-04-29 22:49:57 | [Mutex] isItemNotified: received:node:47d3b211-c9b7-4364-a99f-a2522eb40467:localhost:node-76d16eb5-28d3-4ba8-bea8-716cba394caf:Node 76d16eb5-28d3-4ba8-bea8-716cba394caf :: true

2021-04-29 22:49:57 | [Mutex] waiting for: [received:nodes:a817493a-5588-479d-af4e-c76769cbd319:localhost]

2021-04-29 22:49:57 | [Mutex] received everything.

2021-04-29 22:49:57 | [Mutex] isItemNotified: received:node:a817493a-5588-479d-af4e-c76769cbd319:localhost:node-76d16eb5-28d3-4ba8-bea8-716cba394caf:Node 76d16eb5-28d3-4ba8-bea8-716cba394caf :: false

createNodes 1.466s
2021-04-29 22:49:53 |

2021-04-29 22:49:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:53 | ------------------------------------

2021-04-29 22:49:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-76d16eb5-28d3-4ba8-bea8-716cba394caf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 76d16eb5-28d3-4ba8-bea8-716cba394caf</title></pubsub></data>

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

2021-04-29 22:49:54 | [Mutex] waiting for: [received:nodes:95947513-6637-4173-ae00-1737a8152eb9:localhost]

2021-04-29 22:49:54 | [Mutex] received everything.

2021-04-29 22:49:54 | [Mutex] isItemNotified: received:node:95947513-6637-4173-ae00-1737a8152eb9:localhost:node-76d16eb5-28d3-4ba8-bea8-716cba394caf:Node 76d16eb5-28d3-4ba8-bea8-716cba394caf :: true

createSubnodes 1.028s
2021-04-29 22:49:54 |

2021-04-29 22:49:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:54 | ------------------------------------

2021-04-29 22:49:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-04aa9926-639d-4de3-ac20-0c420e26317e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 04aa9926-639d-4de3-ac20-0c420e26317e</title></pubsub></data>

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

2021-04-29 22:49:55 | [Mutex] waiting for: [received:nodes:371951bf-bc58-4cc5-8f56-90a9e13e4162:localhost]

2021-04-29 22:49:55 | [Mutex] received everything.

2021-04-29 22:49:55 | [Mutex] isItemNotified: received:node:371951bf-bc58-4cc5-8f56-90a9e13e4162:localhost:node-04aa9926-639d-4de3-ac20-0c420e26317e:Node 04aa9926-639d-4de3-ac20-0c420e26317e :: true

deleteNodes 1.025s
2021-04-29 22:50:01 |

2021-04-29 22:50:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:50:01 | ------------------------------------

2021-04-29 22:50:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-04aa9926-639d-4de3-ac20-0c420e26317e</node></data>

2021-04-29 22:50:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 22:50:02 | [Mutex] waiting for: [received:nodes:c5625c37-022c-42b5-8459-c6d59d0f1ce9:localhost]

2021-04-29 22:50:02 | [Mutex] received everything.

2021-04-29 22:50:02 | [Mutex] isItemNotified: received:node:c5625c37-022c-42b5-8459-c6d59d0f1ce9:localhost:node-04aa9926-639d-4de3-ac20-0c420e26317e:Node 04aa9926-639d-4de3-ac20-0c420e26317e :: false

deleteSubnodes 1.201s
2021-04-29 22:50:00 |

2021-04-29 22:50:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:50:00 | ------------------------------------

2021-04-29 22:50:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-76d16eb5-28d3-4ba8-bea8-716cba394caf</node></data>

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

2021-04-29 22:50:01 | [Mutex] waiting for: [received:nodes:4f0d1dad-fe09-4c30-8cb1-d483c54da9bc:localhost]

2021-04-29 22:50:01 | [Mutex] received everything.

2021-04-29 22:50:01 | [Mutex] isItemNotified: received:node:4f0d1dad-fe09-4c30-8cb1-d483c54da9bc:localhost:node-76d16eb5-28d3-4ba8-bea8-716cba394caf:Node 76d16eb5-28d3-4ba8-bea8-716cba394caf :: false

2021-04-29 22:50:01 | [Mutex] waiting for: [received:nodes:2dfbd2b1-1f91-4bf0-a019-2cab1308c28f:localhost]

2021-04-29 22:50:01 | [Mutex] received everything.

2021-04-29 22:50:01 | [Mutex] isItemNotified: received:node:2dfbd2b1-1f91-4bf0-a019-2cab1308c28f:localhost:node-76d16eb5-28d3-4ba8-bea8-716cba394caf:Node 76d16eb5-28d3-4ba8-bea8-716cba394caf :: false

publishItemsToNodes 0.239s
2021-04-29 22:49:58 |

2021-04-29 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:58 | ------------------------------------

2021-04-29 22:49:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-76d16eb5-28d3-4ba8-bea8-716cba394caf</node><item-id>item-66a4bd87-173b-44f2-bc00-65b15f63c53c</item-id><entry><test>item-66a4bd87-173b-44f2-bc00-65b15f63c53c</test></entry></data>

2021-04-29 22:49:58 | 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-66a4bd87-173b-44f2-bc00-65b15f63c53c</value></item-id></result>

2021-04-29 22:49:58 | [Mutex] received everything.

2021-04-29 22:49:58 | [Mutex] isItemNotified: published:item:notifieditem-66a4bd87-173b-44f2-bc00-65b15f63c53c:admin@test-domain.com :: true

retractItemsFromNodes 0.403s
2021-04-29 22:49:58 |

2021-04-29 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:58 | ------------------------------------

2021-04-29 22:49:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-76d16eb5-28d3-4ba8-bea8-716cba394caf</node><item-id>item-66a4bd87-173b-44f2-bc00-65b15f63c53c</item-id></data>

2021-04-29 22:49:59 | 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-66a4bd87-173b-44f2-bc00-65b15f63c53c</value></item-id></result>

2021-04-29 22:49:59 | [Mutex] waiting for: [retracted:item:notifieditem-66a4bd87-173b-44f2-bc00-65b15f63c53c:admin@test-domain.com]

2021-04-29 22:49:59 | [Mutex] received everything.

2021-04-29 22:49:59 | [Mutex] isItemNotified: retracted:item:notifieditem-66a4bd87-173b-44f2-bc00-65b15f63c53c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2021-04-29 22:49:58 |

2021-04-29 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:58 | ------------------------------------

2021-04-29 22:49:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-76d16eb5-28d3-4ba8-bea8-716cba394caf</node><item-id>item-66a4bd87-173b-44f2-bc00-65b15f63c53c</item-id></data>

2021-04-29 22:49:58 | 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-76d16eb5-28d3-4ba8-bea8-716cba394caf</value></node><item-id type="text-single" label="Item ID"><value>item-66a4bd87-173b-44f2-bc00-65b15f63c53c</value></item-id><item type="text-multi" label="Item"><value><item id="item-66a4bd87-173b-44f2-bc00-65b15f63c53c"><test>item-66a4bd87-173b-44f2-bc00-65b15f63c53c</test></item></value></item></result>

2021-04-29 22:49:58 | [Mutex] notify: [retrieved:item:item-66a4bd87-173b-44f2-bc00-65b15f63c53c:payload-matches:true:localhost]

2021-04-29 22:49:58 | [Mutex] received everything.

2021-04-29 22:49:58 | [Mutex] isItemNotified: retrieved:item:item-66a4bd87-173b-44f2-bc00-65b15f63c53c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-29 22:49:58 |

2021-04-29 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:58 | ------------------------------------

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

2021-04-29 22:49:58 | 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-76d16eb5-28d3-4ba8-bea8-716cba394caf</value><value>node-04aa9926-639d-4de3-ac20-0c420e26317e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-04-29 22:49:58 |

2021-04-29 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:58 | ------------------------------------

2021-04-29 22:49:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-76d16eb5-28d3-4ba8-bea8-716cba394caf)</node-pattern></data>

2021-04-29 22:49:58 | 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-04-29 22:49:57 |

2021-04-29 22:49:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:57 | ------------------------------------

2021-04-29 22:49:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-76d16eb5-28d3-4ba8-bea8-716cba394caf</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-29 22:49:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.265s
2021-04-29 22:49:59 |

2021-04-29 22:49:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:49:59 | ------------------------------------

2021-04-29 22:49:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-76d16eb5-28d3-4ba8-bea8-716cba394caf</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-29 22:49:59 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>