Generated by TestNG with ReportNG at 22:32 PDT on Friday 02 October 2020
root@87f6aca6b6f2 / 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.802s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2020-10-02 22:47:06 |

2020-10-02 22:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:06 | ------------------------------------

2020-10-02 22:47:06 | [Mutex] waiting for: [configured:node:node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc:node-16615a58-a833-4c5d-9fba-34981a7dfc84]

2020-10-02 22:47:06 | [Mutex] received everything.

2020-10-02 22:47:06 | [Mutex] isItemNotified: configured:node:node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc:node-16615a58-a833-4c5d-9fba-34981a7dfc84 :: true

2020-10-02 22:47:07 | [Mutex] waiting for: [received:nodes:9c7285e8-4e3a-46cb-a34d-43ee6e2e1b14:localhost]

2020-10-02 22:47:07 | [Mutex] received everything.

2020-10-02 22:47:07 | [Mutex] isItemNotified: received:node:9c7285e8-4e3a-46cb-a34d-43ee6e2e1b14:localhost:node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc:Node ec8f0dc3-12e6-4621-a82a-aef13feeecfc :: true

2020-10-02 22:47:07 | [Mutex] waiting for: [received:nodes:8165afc5-7d6d-4f89-bdbf-b3ccaaba747e:localhost]

2020-10-02 22:47:07 | [Mutex] received everything.

2020-10-02 22:47:07 | [Mutex] isItemNotified: received:node:8165afc5-7d6d-4f89-bdbf-b3ccaaba747e:localhost:node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc:Node ec8f0dc3-12e6-4621-a82a-aef13feeecfc :: false

createNodes 1.390s
2020-10-02 22:47:03 |

2020-10-02 22:47:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:03 | ------------------------------------

2020-10-02 22:47:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ec8f0dc3-12e6-4621-a82a-aef13feeecfc</title></pubsub></data>

2020-10-02 22:47:04 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-02 22:47:05 | [Mutex] waiting for: [received:nodes:79007594-4dcf-49b6-8384-979eb5b03b6d:localhost]

2020-10-02 22:47:05 | [Mutex] received everything.

2020-10-02 22:47:05 | [Mutex] isItemNotified: received:node:79007594-4dcf-49b6-8384-979eb5b03b6d:localhost:node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc:Node ec8f0dc3-12e6-4621-a82a-aef13feeecfc :: true

createSubnodes 1.040s
2020-10-02 22:47:05 |

2020-10-02 22:47:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:05 | ------------------------------------

2020-10-02 22:47:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-16615a58-a833-4c5d-9fba-34981a7dfc84</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 16615a58-a833-4c5d-9fba-34981a7dfc84</title></pubsub></data>

2020-10-02 22:47:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-02 22:47:06 | [Mutex] waiting for: [received:nodes:14cc1fcb-31b0-46e4-95b9-5fdfdb3059ce:localhost]

2020-10-02 22:47:06 | [Mutex] received everything.

2020-10-02 22:47:06 | [Mutex] isItemNotified: received:node:14cc1fcb-31b0-46e4-95b9-5fdfdb3059ce:localhost:node-16615a58-a833-4c5d-9fba-34981a7dfc84:Node 16615a58-a833-4c5d-9fba-34981a7dfc84 :: true

deleteNodes 1.015s
2020-10-02 22:47:11 |

2020-10-02 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:11 | ------------------------------------

2020-10-02 22:47:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-16615a58-a833-4c5d-9fba-34981a7dfc84</node></data>

2020-10-02 22:47:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-02 22:47:12 | [Mutex] waiting for: [received:nodes:73cef5b6-a266-4878-90bd-2babadc7392b:localhost]

2020-10-02 22:47:12 | [Mutex] received everything.

2020-10-02 22:47:12 | [Mutex] isItemNotified: received:node:73cef5b6-a266-4878-90bd-2babadc7392b:localhost:node-16615a58-a833-4c5d-9fba-34981a7dfc84:Node 16615a58-a833-4c5d-9fba-34981a7dfc84 :: false

deleteSubnodes 1.111s
2020-10-02 22:47:10 |

2020-10-02 22:47:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:10 | ------------------------------------

2020-10-02 22:47:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</node></data>

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

2020-10-02 22:47:11 | [Mutex] waiting for: [received:nodes:44d570ee-46b8-4abb-9d4b-757d758fd2be:localhost]

2020-10-02 22:47:11 | [Mutex] received everything.

2020-10-02 22:47:11 | [Mutex] isItemNotified: received:node:44d570ee-46b8-4abb-9d4b-757d758fd2be:localhost:node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc:Node ec8f0dc3-12e6-4621-a82a-aef13feeecfc :: false

2020-10-02 22:47:11 | [Mutex] waiting for: [received:nodes:3fd4834b-c1b3-4880-b6a9-ad5dfece7202:localhost]

2020-10-02 22:47:11 | [Mutex] received everything.

2020-10-02 22:47:11 | [Mutex] isItemNotified: received:node:3fd4834b-c1b3-4880-b6a9-ad5dfece7202:localhost:node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc:Node ec8f0dc3-12e6-4621-a82a-aef13feeecfc :: false

publishItemsToNodes 0.231s
2020-10-02 22:47:08 |

2020-10-02 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:08 | ------------------------------------

2020-10-02 22:47:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</node><item-id>item-dfd1e44d-a805-49a0-850a-f27919c0e1e3</item-id><entry><test>item-dfd1e44d-a805-49a0-850a-f27919c0e1e3</test></entry></data>

2020-10-02 22:47:08 | 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-dfd1e44d-a805-49a0-850a-f27919c0e1e3</value></item-id></result>

2020-10-02 22:47:08 | [Mutex] waiting for: [published:item:notifieditem-dfd1e44d-a805-49a0-850a-f27919c0e1e3:admin@test-domain.com]

2020-10-02 22:47:08 | [Mutex] received everything.

2020-10-02 22:47:08 | [Mutex] isItemNotified: published:item:notifieditem-dfd1e44d-a805-49a0-850a-f27919c0e1e3:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2020-10-02 22:47:09 |

2020-10-02 22:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:09 | ------------------------------------

2020-10-02 22:47:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</node><item-id>item-dfd1e44d-a805-49a0-850a-f27919c0e1e3</item-id></data>

2020-10-02 22:47:09 | 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-dfd1e44d-a805-49a0-850a-f27919c0e1e3</value></item-id></result>

2020-10-02 22:47:09 | [Mutex] received everything.

2020-10-02 22:47:09 | [Mutex] isItemNotified: retracted:item:notifieditem-dfd1e44d-a805-49a0-850a-f27919c0e1e3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.223s
2020-10-02 22:47:08 |

2020-10-02 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:08 | ------------------------------------

2020-10-02 22:47:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</node><item-id>item-dfd1e44d-a805-49a0-850a-f27919c0e1e3</item-id></data>

2020-10-02 22:47:09 | 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-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</value></node><item-id label="Item ID" type="text-single"><value>item-dfd1e44d-a805-49a0-850a-f27919c0e1e3</value></item-id><item label="Item" type="text-multi"><value><item id="item-dfd1e44d-a805-49a0-850a-f27919c0e1e3"><test>item-dfd1e44d-a805-49a0-850a-f27919c0e1e3</test></item></value></item></result>

2020-10-02 22:47:09 | [Mutex] notify: [retrieved:item:item-dfd1e44d-a805-49a0-850a-f27919c0e1e3:payload-matches:true:localhost]

2020-10-02 22:47:09 | [Mutex] received everything.

2020-10-02 22:47:09 | [Mutex] isItemNotified: retrieved:item:item-dfd1e44d-a805-49a0-850a-f27919c0e1e3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-10-02 22:47:09 |

2020-10-02 22:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:09 | ------------------------------------

2020-10-02 22:47:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-02 22:47:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-16615a58-a833-4c5d-9fba-34981a7dfc84</value><value>test</value><value>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-02 22:47:09 |

2020-10-02 22:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:09 | ------------------------------------

2020-10-02 22:47:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc)</node-pattern></data>

2020-10-02 22:47:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.147s
2020-10-02 22:47:07 |

2020-10-02 22:47:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:07 | ------------------------------------

2020-10-02 22:47:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-02 22:47:07 | 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
2020-10-02 22:47:09 |

2020-10-02 22:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:47:09 | ------------------------------------

2020-10-02 22:47:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ec8f0dc3-12e6-4621-a82a-aef13feeecfc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-02 22:47:09 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>