Generated by TestNG with ReportNG at 00:23 PDT on Monday 07 September 2020
root@3ee9c8e1f047 / 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.015s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2020-09-07 00:38:40 |

2020-09-07 00:38:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:40 | ------------------------------------

2020-09-07 00:38:40 | [Mutex] waiting for: [configured:node:node-03fbd171-d3be-40f7-b226-282bf158ce83:node-1debb164-2039-40e7-b999-87e888c20c71]

2020-09-07 00:38:40 | [Mutex] received everything.

2020-09-07 00:38:40 | [Mutex] isItemNotified: configured:node:node-03fbd171-d3be-40f7-b226-282bf158ce83:node-1debb164-2039-40e7-b999-87e888c20c71 :: true

2020-09-07 00:38:41 | [Mutex] waiting for: [received:nodes:13cd2a72-e48e-4a97-8f31-b5aa183597d9:localhost]

2020-09-07 00:38:41 | [Mutex] received everything.

2020-09-07 00:38:41 | [Mutex] isItemNotified: received:node:13cd2a72-e48e-4a97-8f31-b5aa183597d9:localhost:node-03fbd171-d3be-40f7-b226-282bf158ce83:Node 03fbd171-d3be-40f7-b226-282bf158ce83 :: true

2020-09-07 00:38:41 | [Mutex] waiting for: [received:nodes:426c284a-3690-4abc-9b6c-bdec615a38fc:localhost]

2020-09-07 00:38:41 | [Mutex] waiting for: [received:nodes:426c284a-3690-4abc-9b6c-bdec615a38fc:localhost]

2020-09-07 00:38:41 | [Mutex] waiting for: [received:nodes:426c284a-3690-4abc-9b6c-bdec615a38fc:localhost]

2020-09-07 00:38:41 | [Mutex] received everything.

2020-09-07 00:38:41 | [Mutex] isItemNotified: received:node:426c284a-3690-4abc-9b6c-bdec615a38fc:localhost:node-03fbd171-d3be-40f7-b226-282bf158ce83:Node 03fbd171-d3be-40f7-b226-282bf158ce83 :: false

createNodes 1.531s
2020-09-07 00:38:37 |

2020-09-07 00:38:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:37 | ------------------------------------

2020-09-07 00:38:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-03fbd171-d3be-40f7-b226-282bf158ce83</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 03fbd171-d3be-40f7-b226-282bf158ce83</title></pubsub></data>

2020-09-07 00:38:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-07 00:38:39 | [Mutex] waiting for: [received:nodes:fcb9635d-8488-426d-b983-2785af5c75dc:localhost]

2020-09-07 00:38:39 | [Mutex] received everything.

2020-09-07 00:38:39 | [Mutex] isItemNotified: received:node:fcb9635d-8488-426d-b983-2785af5c75dc:localhost:node-03fbd171-d3be-40f7-b226-282bf158ce83:Node 03fbd171-d3be-40f7-b226-282bf158ce83 :: true

createSubnodes 1.029s
2020-09-07 00:38:39 |

2020-09-07 00:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:39 | ------------------------------------

2020-09-07 00:38:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1debb164-2039-40e7-b999-87e888c20c71</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1debb164-2039-40e7-b999-87e888c20c71</title></pubsub></data>

2020-09-07 00:38:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-07 00:38:40 | [Mutex] waiting for: [received:nodes:d15dc1da-378f-4902-bf62-991f7772b323:localhost]

2020-09-07 00:38:40 | [Mutex] received everything.

2020-09-07 00:38:40 | [Mutex] isItemNotified: received:node:d15dc1da-378f-4902-bf62-991f7772b323:localhost:node-1debb164-2039-40e7-b999-87e888c20c71:Node 1debb164-2039-40e7-b999-87e888c20c71 :: true

deleteNodes 1.017s
2020-09-07 00:38:45 |

2020-09-07 00:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:45 | ------------------------------------

2020-09-07 00:38:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1debb164-2039-40e7-b999-87e888c20c71</node></data>

2020-09-07 00:38:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-07 00:38:46 | [Mutex] waiting for: [received:nodes:c14ad6e4-ae4a-4549-98c0-47a8b8efbc5b:localhost]

2020-09-07 00:38:46 | [Mutex] received everything.

2020-09-07 00:38:46 | [Mutex] isItemNotified: received:node:c14ad6e4-ae4a-4549-98c0-47a8b8efbc5b:localhost:node-1debb164-2039-40e7-b999-87e888c20c71:Node 1debb164-2039-40e7-b999-87e888c20c71 :: false

deleteSubnodes 1.127s
2020-09-07 00:38:44 |

2020-09-07 00:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:44 | ------------------------------------

2020-09-07 00:38:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-03fbd171-d3be-40f7-b226-282bf158ce83</node></data>

2020-09-07 00:38:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-07 00:38:45 | [Mutex] waiting for: [received:nodes:ec1f3a13-4cd9-4b7c-9b9b-dbeb583651e4:localhost]

2020-09-07 00:38:45 | [Mutex] received everything.

2020-09-07 00:38:45 | [Mutex] isItemNotified: received:node:ec1f3a13-4cd9-4b7c-9b9b-dbeb583651e4:localhost:node-03fbd171-d3be-40f7-b226-282bf158ce83:Node 03fbd171-d3be-40f7-b226-282bf158ce83 :: false

2020-09-07 00:38:45 | [Mutex] waiting for: [received:nodes:0365ad14-926e-4c44-a89b-58764fb54545:localhost]

2020-09-07 00:38:45 | [Mutex] received everything.

2020-09-07 00:38:45 | [Mutex] isItemNotified: received:node:0365ad14-926e-4c44-a89b-58764fb54545:localhost:node-03fbd171-d3be-40f7-b226-282bf158ce83:Node 03fbd171-d3be-40f7-b226-282bf158ce83 :: false

publishItemsToNodes 0.254s
2020-09-07 00:38:42 |

2020-09-07 00:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:42 | ------------------------------------

2020-09-07 00:38:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-03fbd171-d3be-40f7-b226-282bf158ce83</node><item-id>item-241eab51-b1d7-4668-97ac-a36f476900b2</item-id><entry><test>item-241eab51-b1d7-4668-97ac-a36f476900b2</test></entry></data>

2020-09-07 00:38:42 | 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-241eab51-b1d7-4668-97ac-a36f476900b2</value></item-id></result>

2020-09-07 00:38:42 | [Mutex] waiting for: [published:item:notifieditem-241eab51-b1d7-4668-97ac-a36f476900b2:admin@test-domain.com]

2020-09-07 00:38:42 | [Mutex] received everything.

2020-09-07 00:38:42 | [Mutex] isItemNotified: published:item:notifieditem-241eab51-b1d7-4668-97ac-a36f476900b2:admin@test-domain.com :: true

retractItemsFromNodes 0.301s
2020-09-07 00:38:43 |

2020-09-07 00:38:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:43 | ------------------------------------

2020-09-07 00:38:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-03fbd171-d3be-40f7-b226-282bf158ce83</node><item-id>item-241eab51-b1d7-4668-97ac-a36f476900b2</item-id></data>

2020-09-07 00:38:43 | 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-241eab51-b1d7-4668-97ac-a36f476900b2</value></item-id></result>

2020-09-07 00:38:43 | [Mutex] received everything.

2020-09-07 00:38:43 | [Mutex] isItemNotified: retracted:item:notifieditem-241eab51-b1d7-4668-97ac-a36f476900b2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.154s
2020-09-07 00:38:42 |

2020-09-07 00:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:42 | ------------------------------------

2020-09-07 00:38:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-03fbd171-d3be-40f7-b226-282bf158ce83</node><item-id>item-241eab51-b1d7-4668-97ac-a36f476900b2</item-id></data>

2020-09-07 00:38:43 | 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-03fbd171-d3be-40f7-b226-282bf158ce83</value></node><item-id label="Item ID" type="text-single"><value>item-241eab51-b1d7-4668-97ac-a36f476900b2</value></item-id><item label="Item" type="text-multi"><value><item id="item-241eab51-b1d7-4668-97ac-a36f476900b2"><test>item-241eab51-b1d7-4668-97ac-a36f476900b2</test></item></value></item></result>

2020-09-07 00:38:43 | [Mutex] notify: [retrieved:item:item-241eab51-b1d7-4668-97ac-a36f476900b2:payload-matches:true:localhost]

2020-09-07 00:38:43 | [Mutex] received everything.

2020-09-07 00:38:43 | [Mutex] isItemNotified: retrieved:item:item-241eab51-b1d7-4668-97ac-a36f476900b2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2020-09-07 00:38:43 |

2020-09-07 00:38:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:43 | ------------------------------------

2020-09-07 00:38:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-07 00:38:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-1debb164-2039-40e7-b999-87e888c20c71</value><value>test</value><value>node-03fbd171-d3be-40f7-b226-282bf158ce83</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-07 00:38:43 |

2020-09-07 00:38:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:43 | ------------------------------------

2020-09-07 00:38:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-03fbd171-d3be-40f7-b226-282bf158ce83)</node-pattern></data>

2020-09-07 00:38:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.098s
2020-09-07 00:38:41 |

2020-09-07 00:38:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:41 | ------------------------------------

2020-09-07 00:38:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-03fbd171-d3be-40f7-b226-282bf158ce83</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-07 00:38:41 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.241s
2020-09-07 00:38:43 |

2020-09-07 00:38:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-07 00:38:43 | ------------------------------------

2020-09-07 00:38:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-03fbd171-d3be-40f7-b226-282bf158ce83</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-07 00:38:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>