Generated by TestNG with ReportNG at 23:12 PDT on Sunday 20 September 2020
root@1a41183091ef / 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.733s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2020-09-20 23:27:21 |

2020-09-20 23:27:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:21 | ------------------------------------

2020-09-20 23:27:21 | [Mutex] waiting for: [configured:node:node-abb1822d-f733-4ad3-966c-20726af9321c:node-d3c9d189-4bb0-4b1c-b508-f9401a8922b3]

2020-09-20 23:27:21 | [Mutex] received everything.

2020-09-20 23:27:21 | [Mutex] isItemNotified: configured:node:node-abb1822d-f733-4ad3-966c-20726af9321c:node-d3c9d189-4bb0-4b1c-b508-f9401a8922b3 :: true

2020-09-20 23:27:22 | [Mutex] waiting for: [received:nodes:88da9833-6a7e-4451-8ce6-f1002dd27c4f:localhost]

2020-09-20 23:27:22 | [Mutex] received everything.

2020-09-20 23:27:22 | [Mutex] isItemNotified: received:node:88da9833-6a7e-4451-8ce6-f1002dd27c4f:localhost:node-abb1822d-f733-4ad3-966c-20726af9321c:Node abb1822d-f733-4ad3-966c-20726af9321c :: true

2020-09-20 23:27:22 | [Mutex] waiting for: [received:nodes:e395dbf7-67eb-45f9-8bec-cbc4a63a41af:localhost]

2020-09-20 23:27:22 | [Mutex] received everything.

2020-09-20 23:27:22 | [Mutex] isItemNotified: received:node:e395dbf7-67eb-45f9-8bec-cbc4a63a41af:localhost:node-abb1822d-f733-4ad3-966c-20726af9321c:Node abb1822d-f733-4ad3-966c-20726af9321c :: false

createNodes 1.383s
2020-09-20 23:27:18 |

2020-09-20 23:27:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:18 | ------------------------------------

2020-09-20 23:27:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-abb1822d-f733-4ad3-966c-20726af9321c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node abb1822d-f733-4ad3-966c-20726af9321c</title></pubsub></data>

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

2020-09-20 23:27:20 | [Mutex] waiting for: [received:nodes:44d1a338-9264-4623-a7f9-917c55752358:localhost]

2020-09-20 23:27:20 | [Mutex] received everything.

2020-09-20 23:27:20 | [Mutex] isItemNotified: received:node:44d1a338-9264-4623-a7f9-917c55752358:localhost:node-abb1822d-f733-4ad3-966c-20726af9321c:Node abb1822d-f733-4ad3-966c-20726af9321c :: true

createSubnodes 1.032s
2020-09-20 23:27:20 |

2020-09-20 23:27:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:20 | ------------------------------------

2020-09-20 23:27:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3c9d189-4bb0-4b1c-b508-f9401a8922b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d3c9d189-4bb0-4b1c-b508-f9401a8922b3</title></pubsub></data>

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

2020-09-20 23:27:21 | [Mutex] waiting for: [received:nodes:e5486457-f660-457b-b0b5-42eba623e0dc:localhost]

2020-09-20 23:27:21 | [Mutex] received everything.

2020-09-20 23:27:21 | [Mutex] isItemNotified: received:node:e5486457-f660-457b-b0b5-42eba623e0dc:localhost:node-d3c9d189-4bb0-4b1c-b508-f9401a8922b3:Node d3c9d189-4bb0-4b1c-b508-f9401a8922b3 :: true

deleteNodes 1.019s
2020-09-20 23:27:26 |

2020-09-20 23:27:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:26 | ------------------------------------

2020-09-20 23:27:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3c9d189-4bb0-4b1c-b508-f9401a8922b3</node></data>

2020-09-20 23:27:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-20 23:27:27 | [Mutex] waiting for: [received:nodes:5c6232ad-418f-47d0-80ea-a3f604f283a6:localhost]

2020-09-20 23:27:27 | [Mutex] received everything.

2020-09-20 23:27:27 | [Mutex] isItemNotified: received:node:5c6232ad-418f-47d0-80ea-a3f604f283a6:localhost:node-d3c9d189-4bb0-4b1c-b508-f9401a8922b3:Node d3c9d189-4bb0-4b1c-b508-f9401a8922b3 :: false

deleteSubnodes 1.128s
2020-09-20 23:27:25 |

2020-09-20 23:27:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:25 | ------------------------------------

2020-09-20 23:27:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-abb1822d-f733-4ad3-966c-20726af9321c</node></data>

2020-09-20 23:27:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-20 23:27:26 | [Mutex] waiting for: [received:nodes:35ddee80-fc68-4d29-82b3-a7cf97223af8:localhost]

2020-09-20 23:27:26 | [Mutex] received everything.

2020-09-20 23:27:26 | [Mutex] isItemNotified: received:node:35ddee80-fc68-4d29-82b3-a7cf97223af8:localhost:node-abb1822d-f733-4ad3-966c-20726af9321c:Node abb1822d-f733-4ad3-966c-20726af9321c :: false

2020-09-20 23:27:26 | [Mutex] waiting for: [received:nodes:be021618-207c-4d10-bd72-47695c7d33a6:localhost]

2020-09-20 23:27:26 | [Mutex] received everything.

2020-09-20 23:27:26 | [Mutex] isItemNotified: received:node:be021618-207c-4d10-bd72-47695c7d33a6:localhost:node-abb1822d-f733-4ad3-966c-20726af9321c:Node abb1822d-f733-4ad3-966c-20726af9321c :: false

publishItemsToNodes 0.228s
2020-09-20 23:27:23 |

2020-09-20 23:27:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:23 | ------------------------------------

2020-09-20 23:27:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-abb1822d-f733-4ad3-966c-20726af9321c</node><item-id>item-581e2ffe-4bd0-4692-80ec-3cc417932429</item-id><entry><test>item-581e2ffe-4bd0-4692-80ec-3cc417932429</test></entry></data>

2020-09-20 23:27:23 | 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-581e2ffe-4bd0-4692-80ec-3cc417932429</value></item-id></result>

2020-09-20 23:27:23 | [Mutex] received everything.

2020-09-20 23:27:23 | [Mutex] isItemNotified: published:item:notifieditem-581e2ffe-4bd0-4692-80ec-3cc417932429:admin@test-domain.com :: true

retractItemsFromNodes 0.167s
2020-09-20 23:27:24 |

2020-09-20 23:27:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:24 | ------------------------------------

2020-09-20 23:27:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-abb1822d-f733-4ad3-966c-20726af9321c</node><item-id>item-581e2ffe-4bd0-4692-80ec-3cc417932429</item-id></data>

2020-09-20 23:27:24 | 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-581e2ffe-4bd0-4692-80ec-3cc417932429</value></item-id></result>

2020-09-20 23:27:24 | [Mutex] received everything.

2020-09-20 23:27:24 | [Mutex] isItemNotified: retracted:item:notifieditem-581e2ffe-4bd0-4692-80ec-3cc417932429:admin@test-domain.com :: true

retrieveItemsFromNodes 0.262s
2020-09-20 23:27:23 |

2020-09-20 23:27:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:23 | ------------------------------------

2020-09-20 23:27:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-abb1822d-f733-4ad3-966c-20726af9321c</node><item-id>item-581e2ffe-4bd0-4692-80ec-3cc417932429</item-id></data>

2020-09-20 23:27:23 | 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-abb1822d-f733-4ad3-966c-20726af9321c</value></node><item-id type="text-single" label="Item ID"><value>item-581e2ffe-4bd0-4692-80ec-3cc417932429</value></item-id><item type="text-multi" label="Item"><value><item id="item-581e2ffe-4bd0-4692-80ec-3cc417932429"><test>item-581e2ffe-4bd0-4692-80ec-3cc417932429</test></item></value></item></result>

2020-09-20 23:27:23 | [Mutex] notify: [retrieved:item:item-581e2ffe-4bd0-4692-80ec-3cc417932429:payload-matches:true:localhost]

2020-09-20 23:27:23 | [Mutex] received everything.

2020-09-20 23:27:23 | [Mutex] isItemNotified: retrieved:item:item-581e2ffe-4bd0-4692-80ec-3cc417932429:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-20 23:27:23 |

2020-09-20 23:27:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:23 | ------------------------------------

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

2020-09-20 23:27:23 | 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-abb1822d-f733-4ad3-966c-20726af9321c</value><value>node-d3c9d189-4bb0-4b1c-b508-f9401a8922b3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-20 23:27:23 |

2020-09-20 23:27:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:23 | ------------------------------------

2020-09-20 23:27:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-abb1822d-f733-4ad3-966c-20726af9321c)</node-pattern></data>

2020-09-20 23:27:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2020-09-20 23:27:22 |

2020-09-20 23:27:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:22 | ------------------------------------

2020-09-20 23:27:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-abb1822d-f733-4ad3-966c-20726af9321c</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-20 23:27:22 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.204s
2020-09-20 23:27:24 |

2020-09-20 23:27:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-20 23:27:24 | ------------------------------------

2020-09-20 23:27:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-abb1822d-f733-4ad3-966c-20726af9321c</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-20 23:27:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>