Generated by TestNG with ReportNG at 22:21 PDT on Friday 02 October 2020
root@43fec6d4badf / 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.004s

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

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

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

2020-10-02 22:36:47 | [Mutex] waiting for: [configured:node:node-3efffe27-fc6d-4496-a69f-c98d5143a956:node-49c1fe6b-d41a-4913-a94f-8bd52024e47a]

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

2020-10-02 22:36:47 | [Mutex] isItemNotified: configured:node:node-3efffe27-fc6d-4496-a69f-c98d5143a956:node-49c1fe6b-d41a-4913-a94f-8bd52024e47a :: true

2020-10-02 22:36:48 | [Mutex] waiting for: [received:nodes:39d0ae0c-7d07-450d-ab74-0b8a6288ae24:localhost]

2020-10-02 22:36:48 | [Mutex] received everything.

2020-10-02 22:36:48 | [Mutex] isItemNotified: received:node:39d0ae0c-7d07-450d-ab74-0b8a6288ae24:localhost:node-3efffe27-fc6d-4496-a69f-c98d5143a956:Node 3efffe27-fc6d-4496-a69f-c98d5143a956 :: true

2020-10-02 22:36:48 | [Mutex] waiting for: [received:nodes:2d189758-1f19-4fa8-96dd-4829876eaa7c:localhost]

2020-10-02 22:36:48 | [Mutex] waiting for: [received:nodes:2d189758-1f19-4fa8-96dd-4829876eaa7c:localhost]

2020-10-02 22:36:48 | [Mutex] waiting for: [received:nodes:2d189758-1f19-4fa8-96dd-4829876eaa7c:localhost]

2020-10-02 22:36:48 | [Mutex] waiting for: [received:nodes:2d189758-1f19-4fa8-96dd-4829876eaa7c:localhost]

2020-10-02 22:36:48 | [Mutex] received everything.

2020-10-02 22:36:48 | [Mutex] isItemNotified: received:node:2d189758-1f19-4fa8-96dd-4829876eaa7c:localhost:node-3efffe27-fc6d-4496-a69f-c98d5143a956:Node 3efffe27-fc6d-4496-a69f-c98d5143a956 :: false

createNodes 1.397s
2020-10-02 22:36:45 |

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

2020-10-02 22:36:45 | ------------------------------------

2020-10-02 22:36:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3efffe27-fc6d-4496-a69f-c98d5143a956</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3efffe27-fc6d-4496-a69f-c98d5143a956</title></pubsub></data>

2020-10-02 22:36:45 | 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:36:46 | [Mutex] waiting for: [received:nodes:8040e2de-9a7f-441c-9e95-e115a38f156b:localhost]

2020-10-02 22:36:46 | [Mutex] received everything.

2020-10-02 22:36:46 | [Mutex] isItemNotified: received:node:8040e2de-9a7f-441c-9e95-e115a38f156b:localhost:node-3efffe27-fc6d-4496-a69f-c98d5143a956:Node 3efffe27-fc6d-4496-a69f-c98d5143a956 :: true

createSubnodes 1.028s
2020-10-02 22:36:46 |

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

2020-10-02 22:36:46 | ------------------------------------

2020-10-02 22:36:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-49c1fe6b-d41a-4913-a94f-8bd52024e47a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 49c1fe6b-d41a-4913-a94f-8bd52024e47a</title></pubsub></data>

2020-10-02 22:36:46 | 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:36:47 | [Mutex] waiting for: [received:nodes:d7f19cee-58ef-4009-8340-6119c1133862:localhost]

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

2020-10-02 22:36:47 | [Mutex] isItemNotified: received:node:d7f19cee-58ef-4009-8340-6119c1133862:localhost:node-49c1fe6b-d41a-4913-a94f-8bd52024e47a:Node 49c1fe6b-d41a-4913-a94f-8bd52024e47a :: true

deleteNodes 1.024s
2020-10-02 22:36:53 |

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

2020-10-02 22:36:53 | ------------------------------------

2020-10-02 22:36:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-49c1fe6b-d41a-4913-a94f-8bd52024e47a</node></data>

2020-10-02 22:36:53 | 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:36:54 | [Mutex] waiting for: [received:nodes:e2cd427e-4ca0-4dc1-a32d-56b349aaf50b:localhost]

2020-10-02 22:36:54 | [Mutex] received everything.

2020-10-02 22:36:54 | [Mutex] isItemNotified: received:node:e2cd427e-4ca0-4dc1-a32d-56b349aaf50b:localhost:node-49c1fe6b-d41a-4913-a94f-8bd52024e47a:Node 49c1fe6b-d41a-4913-a94f-8bd52024e47a :: false

deleteSubnodes 1.138s
2020-10-02 22:36:51 |

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

2020-10-02 22:36:51 | ------------------------------------

2020-10-02 22:36:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3efffe27-fc6d-4496-a69f-c98d5143a956</node></data>

2020-10-02 22:36:52 | 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:36:53 | [Mutex] waiting for: [received:nodes:5af3eab9-d2c6-4602-a508-b59ae9424766:localhost]

2020-10-02 22:36:53 | [Mutex] waiting for: [received:nodes:5af3eab9-d2c6-4602-a508-b59ae9424766:localhost]

2020-10-02 22:36:53 | [Mutex] received everything.

2020-10-02 22:36:53 | [Mutex] isItemNotified: received:node:5af3eab9-d2c6-4602-a508-b59ae9424766:localhost:node-3efffe27-fc6d-4496-a69f-c98d5143a956:Node 3efffe27-fc6d-4496-a69f-c98d5143a956 :: false

2020-10-02 22:36:53 | [Mutex] waiting for: [received:nodes:dde31090-3dae-4958-bcf7-c02100b4714e:localhost]

2020-10-02 22:36:53 | [Mutex] received everything.

2020-10-02 22:36:53 | [Mutex] isItemNotified: received:node:dde31090-3dae-4958-bcf7-c02100b4714e:localhost:node-3efffe27-fc6d-4496-a69f-c98d5143a956:Node 3efffe27-fc6d-4496-a69f-c98d5143a956 :: false

publishItemsToNodes 0.194s
2020-10-02 22:36:49 |

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

2020-10-02 22:36:49 | ------------------------------------

2020-10-02 22:36:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3efffe27-fc6d-4496-a69f-c98d5143a956</node><item-id>item-72e9a524-8b9e-4634-8923-c59f4b76ab68</item-id><entry><test>item-72e9a524-8b9e-4634-8923-c59f4b76ab68</test></entry></data>

2020-10-02 22:36:49 | 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-72e9a524-8b9e-4634-8923-c59f4b76ab68</value></item-id></result>

2020-10-02 22:36:49 | [Mutex] waiting for: [published:item:notifieditem-72e9a524-8b9e-4634-8923-c59f4b76ab68:admin@test-domain.com]

2020-10-02 22:36:49 | [Mutex] received everything.

2020-10-02 22:36:49 | [Mutex] isItemNotified: published:item:notifieditem-72e9a524-8b9e-4634-8923-c59f4b76ab68:admin@test-domain.com :: true

retractItemsFromNodes 0.277s
2020-10-02 22:36:50 |

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

2020-10-02 22:36:50 | ------------------------------------

2020-10-02 22:36:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3efffe27-fc6d-4496-a69f-c98d5143a956</node><item-id>item-72e9a524-8b9e-4634-8923-c59f4b76ab68</item-id></data>

2020-10-02 22:36:50 | 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-72e9a524-8b9e-4634-8923-c59f4b76ab68</value></item-id></result>

2020-10-02 22:36:50 | [Mutex] waiting for: [retracted:item:notifieditem-72e9a524-8b9e-4634-8923-c59f4b76ab68:admin@test-domain.com]

2020-10-02 22:36:50 | [Mutex] received everything.

2020-10-02 22:36:50 | [Mutex] isItemNotified: retracted:item:notifieditem-72e9a524-8b9e-4634-8923-c59f4b76ab68:admin@test-domain.com :: true

retrieveItemsFromNodes 0.308s
2020-10-02 22:36:49 |

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

2020-10-02 22:36:49 | ------------------------------------

2020-10-02 22:36:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3efffe27-fc6d-4496-a69f-c98d5143a956</node><item-id>item-72e9a524-8b9e-4634-8923-c59f4b76ab68</item-id></data>

2020-10-02 22:36:50 | 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-3efffe27-fc6d-4496-a69f-c98d5143a956</value></node><item-id label="Item ID" type="text-single"><value>item-72e9a524-8b9e-4634-8923-c59f4b76ab68</value></item-id><item label="Item" type="text-multi"><value><item id="item-72e9a524-8b9e-4634-8923-c59f4b76ab68"><test>item-72e9a524-8b9e-4634-8923-c59f4b76ab68</test></item></value></item></result>

2020-10-02 22:36:50 | [Mutex] notify: [retrieved:item:item-72e9a524-8b9e-4634-8923-c59f4b76ab68:payload-matches:true:localhost]

2020-10-02 22:36:50 | [Mutex] received everything.

2020-10-02 22:36:50 | [Mutex] isItemNotified: retrieved:item:item-72e9a524-8b9e-4634-8923-c59f4b76ab68:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-02 22:36:50 |

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

2020-10-02 22:36:50 | ------------------------------------

2020-10-02 22:36:50 | 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:36:50 | 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-3efffe27-fc6d-4496-a69f-c98d5143a956</value><value>node-49c1fe6b-d41a-4913-a94f-8bd52024e47a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-02 22:36:50 |

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

2020-10-02 22:36:50 | ------------------------------------

2020-10-02 22:36:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3efffe27-fc6d-4496-a69f-c98d5143a956)</node-pattern></data>

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

subscribeNodes 1.175s
2020-10-02 22:36:48 |

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

2020-10-02 22:36:48 | ------------------------------------

2020-10-02 22:36:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3efffe27-fc6d-4496-a69f-c98d5143a956</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.252s
2020-10-02 22:36:50 |

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

2020-10-02 22:36:50 | ------------------------------------

2020-10-02 22:36:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3efffe27-fc6d-4496-a69f-c98d5143a956</node><jids><value>admin@test-domain.com</value></jids></data>

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