Generated by TestNG with ReportNG at 23:11 PDT on Wednesday 09 September 2020
root@37cb6fd1939a / 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.111s
2020-09-09 23:26:44 |

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

2020-09-09 23:26:44 | ------------------------------------

2020-09-09 23:26:44 | [Mutex] waiting for: [configured:node:node-b70b2017-518b-4cff-ba66-0903706e8849:node-ec4f2644-28b5-4209-aa5a-affc65ae5891]

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

2020-09-09 23:26:44 | [Mutex] isItemNotified: configured:node:node-b70b2017-518b-4cff-ba66-0903706e8849:node-ec4f2644-28b5-4209-aa5a-affc65ae5891 :: true

2020-09-09 23:26:45 | [Mutex] waiting for: [received:nodes:118b3784-b3f3-457c-a480-57acc34427e0:localhost]

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

2020-09-09 23:26:45 | [Mutex] isItemNotified: received:node:118b3784-b3f3-457c-a480-57acc34427e0:localhost:node-b70b2017-518b-4cff-ba66-0903706e8849:Node b70b2017-518b-4cff-ba66-0903706e8849 :: true

2020-09-09 23:26:45 | [Mutex] waiting for: [received:nodes:1429c78d-c640-4125-a85a-ba5d3bccc81f:localhost]

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

2020-09-09 23:26:45 | [Mutex] isItemNotified: received:node:1429c78d-c640-4125-a85a-ba5d3bccc81f:localhost:node-b70b2017-518b-4cff-ba66-0903706e8849:Node b70b2017-518b-4cff-ba66-0903706e8849 :: false

createNodes 1.395s
2020-09-09 23:26:41 |

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

2020-09-09 23:26:41 | ------------------------------------

2020-09-09 23:26:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b70b2017-518b-4cff-ba66-0903706e8849</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b70b2017-518b-4cff-ba66-0903706e8849</title></pubsub></data>

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

2020-09-09 23:26:43 | [Mutex] waiting for: [received:nodes:ff80aedb-1018-489c-a064-49c525ea197e:localhost]

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

2020-09-09 23:26:43 | [Mutex] isItemNotified: received:node:ff80aedb-1018-489c-a064-49c525ea197e:localhost:node-b70b2017-518b-4cff-ba66-0903706e8849:Node b70b2017-518b-4cff-ba66-0903706e8849 :: true

createSubnodes 1.025s
2020-09-09 23:26:43 |

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

2020-09-09 23:26:43 | ------------------------------------

2020-09-09 23:26:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ec4f2644-28b5-4209-aa5a-affc65ae5891</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ec4f2644-28b5-4209-aa5a-affc65ae5891</title></pubsub></data>

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

2020-09-09 23:26:44 | [Mutex] waiting for: [received:nodes:8e8316c5-15cc-494a-a58b-433ad14bfc4d:localhost]

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

2020-09-09 23:26:44 | [Mutex] isItemNotified: received:node:8e8316c5-15cc-494a-a58b-433ad14bfc4d:localhost:node-ec4f2644-28b5-4209-aa5a-affc65ae5891:Node ec4f2644-28b5-4209-aa5a-affc65ae5891 :: true

deleteNodes 1.026s
2020-09-09 23:26:49 |

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

2020-09-09 23:26:49 | ------------------------------------

2020-09-09 23:26:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ec4f2644-28b5-4209-aa5a-affc65ae5891</node></data>

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

2020-09-09 23:26:50 | [Mutex] waiting for: [received:nodes:5cf3d49e-bde3-4748-94d0-36ba15710258:localhost]

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

2020-09-09 23:26:50 | [Mutex] isItemNotified: received:node:5cf3d49e-bde3-4748-94d0-36ba15710258:localhost:node-ec4f2644-28b5-4209-aa5a-affc65ae5891:Node ec4f2644-28b5-4209-aa5a-affc65ae5891 :: false

deleteSubnodes 1.151s
2020-09-09 23:26:48 |

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

2020-09-09 23:26:48 | ------------------------------------

2020-09-09 23:26:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b70b2017-518b-4cff-ba66-0903706e8849</node></data>

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

2020-09-09 23:26:49 | [Mutex] waiting for: [received:nodes:25f45aeb-0f51-43b6-9f1e-1e311ddd9cda:localhost]

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

2020-09-09 23:26:49 | [Mutex] isItemNotified: received:node:25f45aeb-0f51-43b6-9f1e-1e311ddd9cda:localhost:node-b70b2017-518b-4cff-ba66-0903706e8849:Node b70b2017-518b-4cff-ba66-0903706e8849 :: false

2020-09-09 23:26:49 | [Mutex] waiting for: [received:nodes:b17c9019-4016-45b7-a3e1-4253a2b48d0c:localhost]

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

2020-09-09 23:26:49 | [Mutex] isItemNotified: received:node:b17c9019-4016-45b7-a3e1-4253a2b48d0c:localhost:node-b70b2017-518b-4cff-ba66-0903706e8849:Node b70b2017-518b-4cff-ba66-0903706e8849 :: false

publishItemsToNodes 0.204s
2020-09-09 23:26:46 |

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

2020-09-09 23:26:46 | ------------------------------------

2020-09-09 23:26:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b70b2017-518b-4cff-ba66-0903706e8849</node><item-id>item-35c76135-0b52-4b9e-beb4-753f13b73f49</item-id><entry><test>item-35c76135-0b52-4b9e-beb4-753f13b73f49</test></entry></data>

2020-09-09 23:26:46 | 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-35c76135-0b52-4b9e-beb4-753f13b73f49</value></item-id></result>

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

2020-09-09 23:26:46 | [Mutex] isItemNotified: published:item:notifieditem-35c76135-0b52-4b9e-beb4-753f13b73f49:admin@test-domain.com :: true

retractItemsFromNodes 0.163s
2020-09-09 23:26:47 |

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

2020-09-09 23:26:47 | ------------------------------------

2020-09-09 23:26:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b70b2017-518b-4cff-ba66-0903706e8849</node><item-id>item-35c76135-0b52-4b9e-beb4-753f13b73f49</item-id></data>

2020-09-09 23:26:47 | 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-35c76135-0b52-4b9e-beb4-753f13b73f49</value></item-id></result>

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

2020-09-09 23:26:47 | [Mutex] isItemNotified: retracted:item:notifieditem-35c76135-0b52-4b9e-beb4-753f13b73f49:admin@test-domain.com :: true

retrieveItemsFromNodes 0.262s
2020-09-09 23:26:46 |

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

2020-09-09 23:26:46 | ------------------------------------

2020-09-09 23:26:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b70b2017-518b-4cff-ba66-0903706e8849</node><item-id>item-35c76135-0b52-4b9e-beb4-753f13b73f49</item-id></data>

2020-09-09 23:26:47 | 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-b70b2017-518b-4cff-ba66-0903706e8849</value></node><item-id type="text-single" label="Item ID"><value>item-35c76135-0b52-4b9e-beb4-753f13b73f49</value></item-id><item type="text-multi" label="Item"><value><item id="item-35c76135-0b52-4b9e-beb4-753f13b73f49"><test>item-35c76135-0b52-4b9e-beb4-753f13b73f49</test></item></value></item></result>

2020-09-09 23:26:47 | [Mutex] notify: [retrieved:item:item-35c76135-0b52-4b9e-beb4-753f13b73f49:payload-matches:true:localhost]

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

2020-09-09 23:26:47 | [Mutex] isItemNotified: retrieved:item:item-35c76135-0b52-4b9e-beb4-753f13b73f49:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-09 23:26:47 |

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

2020-09-09 23:26:47 | ------------------------------------

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

2020-09-09 23:26:47 | 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-ec4f2644-28b5-4209-aa5a-affc65ae5891</value><value>node-b70b2017-518b-4cff-ba66-0903706e8849</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-09 23:26:47 |

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

2020-09-09 23:26:47 | ------------------------------------

2020-09-09 23:26:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b70b2017-518b-4cff-ba66-0903706e8849)</node-pattern></data>

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

subscribeNodes 1.160s
2020-09-09 23:26:45 |

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

2020-09-09 23:26:45 | ------------------------------------

2020-09-09 23:26:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b70b2017-518b-4cff-ba66-0903706e8849</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.235s
2020-09-09 23:26:47 |

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

2020-09-09 23:26:47 | ------------------------------------

2020-09-09 23:26:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b70b2017-518b-4cff-ba66-0903706e8849</node><jids><value>admin@test-domain.com</value></jids></data>

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