Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 23 September 2020
root@d2a27fcc5bc3 / 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.152s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2020-09-23 22:28:54 |

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

2020-09-23 22:28:54 | ------------------------------------

2020-09-23 22:28:54 | [Mutex] waiting for: [configured:node:node-0e6af11f-f1cc-417c-96b2-26a574051838:node-7468b92a-06a5-41cb-a2b7-de30915a2293]

2020-09-23 22:28:54 | [Mutex] received everything.

2020-09-23 22:28:54 | [Mutex] isItemNotified: configured:node:node-0e6af11f-f1cc-417c-96b2-26a574051838:node-7468b92a-06a5-41cb-a2b7-de30915a2293 :: true

2020-09-23 22:28:55 | [Mutex] waiting for: [received:nodes:9d7094a2-97cf-475c-b3a0-7b2b6b7b9e46:localhost]

2020-09-23 22:28:55 | [Mutex] received everything.

2020-09-23 22:28:55 | [Mutex] isItemNotified: received:node:9d7094a2-97cf-475c-b3a0-7b2b6b7b9e46:localhost:node-0e6af11f-f1cc-417c-96b2-26a574051838:Node 0e6af11f-f1cc-417c-96b2-26a574051838 :: true

2020-09-23 22:28:55 | [Mutex] waiting for: [received:nodes:db844a3d-c7fe-4801-a789-2dcd0a4868be:localhost]

2020-09-23 22:28:55 | [Mutex] received everything.

2020-09-23 22:28:55 | [Mutex] isItemNotified: received:node:db844a3d-c7fe-4801-a789-2dcd0a4868be:localhost:node-0e6af11f-f1cc-417c-96b2-26a574051838:Node 0e6af11f-f1cc-417c-96b2-26a574051838 :: false

createNodes 1.518s
2020-09-23 22:28:51 |

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

2020-09-23 22:28:51 | ------------------------------------

2020-09-23 22:28:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0e6af11f-f1cc-417c-96b2-26a574051838</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0e6af11f-f1cc-417c-96b2-26a574051838</title></pubsub></data>

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

2020-09-23 22:28:53 | [Mutex] waiting for: [received:nodes:83a70112-0d0b-47da-a8c6-71843857b1b1:localhost]

2020-09-23 22:28:53 | [Mutex] received everything.

2020-09-23 22:28:53 | [Mutex] isItemNotified: received:node:83a70112-0d0b-47da-a8c6-71843857b1b1:localhost:node-0e6af11f-f1cc-417c-96b2-26a574051838:Node 0e6af11f-f1cc-417c-96b2-26a574051838 :: true

createSubnodes 1.028s
2020-09-23 22:28:53 |

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

2020-09-23 22:28:53 | ------------------------------------

2020-09-23 22:28:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7468b92a-06a5-41cb-a2b7-de30915a2293</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7468b92a-06a5-41cb-a2b7-de30915a2293</title></pubsub></data>

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

2020-09-23 22:28:54 | [Mutex] waiting for: [received:nodes:e5157dd8-a485-4bac-8fa4-8d85dc5c2279:localhost]

2020-09-23 22:28:54 | [Mutex] received everything.

2020-09-23 22:28:54 | [Mutex] isItemNotified: received:node:e5157dd8-a485-4bac-8fa4-8d85dc5c2279:localhost:node-7468b92a-06a5-41cb-a2b7-de30915a2293:Node 7468b92a-06a5-41cb-a2b7-de30915a2293 :: true

deleteNodes 1.018s
2020-09-23 22:28:59 |

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

2020-09-23 22:28:59 | ------------------------------------

2020-09-23 22:28:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7468b92a-06a5-41cb-a2b7-de30915a2293</node></data>

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

2020-09-23 22:29:00 | [Mutex] waiting for: [received:nodes:1c6533e5-130a-4af5-a45f-cfe0361fd0f6:localhost]

2020-09-23 22:29:00 | [Mutex] received everything.

2020-09-23 22:29:00 | [Mutex] isItemNotified: received:node:1c6533e5-130a-4af5-a45f-cfe0361fd0f6:localhost:node-7468b92a-06a5-41cb-a2b7-de30915a2293:Node 7468b92a-06a5-41cb-a2b7-de30915a2293 :: false

deleteSubnodes 1.185s
2020-09-23 22:28:58 |

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

2020-09-23 22:28:58 | ------------------------------------

2020-09-23 22:28:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0e6af11f-f1cc-417c-96b2-26a574051838</node></data>

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

2020-09-23 22:28:59 | [Mutex] waiting for: [received:nodes:50a4682b-7eff-4e87-a048-2a83ac9a853f:localhost]

2020-09-23 22:28:59 | [Mutex] received everything.

2020-09-23 22:28:59 | [Mutex] isItemNotified: received:node:50a4682b-7eff-4e87-a048-2a83ac9a853f:localhost:node-0e6af11f-f1cc-417c-96b2-26a574051838:Node 0e6af11f-f1cc-417c-96b2-26a574051838 :: false

2020-09-23 22:28:59 | [Mutex] waiting for: [received:nodes:e6fec535-d837-4aaf-a644-fe78a36c9a5d:localhost]

2020-09-23 22:28:59 | [Mutex] received everything.

2020-09-23 22:28:59 | [Mutex] isItemNotified: received:node:e6fec535-d837-4aaf-a644-fe78a36c9a5d:localhost:node-0e6af11f-f1cc-417c-96b2-26a574051838:Node 0e6af11f-f1cc-417c-96b2-26a574051838 :: false

publishItemsToNodes 0.229s
2020-09-23 22:28:56 |

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

2020-09-23 22:28:56 | ------------------------------------

2020-09-23 22:28:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0e6af11f-f1cc-417c-96b2-26a574051838</node><item-id>item-779d76b9-9086-40c6-ab49-6fc1faf85a95</item-id><entry><test>item-779d76b9-9086-40c6-ab49-6fc1faf85a95</test></entry></data>

2020-09-23 22:28:56 | 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-779d76b9-9086-40c6-ab49-6fc1faf85a95</value></item-id></result>

2020-09-23 22:28:56 | [Mutex] waiting for: [published:item:notifieditem-779d76b9-9086-40c6-ab49-6fc1faf85a95:admin@test-domain.com]

2020-09-23 22:28:56 | [Mutex] received everything.

2020-09-23 22:28:56 | [Mutex] isItemNotified: published:item:notifieditem-779d76b9-9086-40c6-ab49-6fc1faf85a95:admin@test-domain.com :: true

retractItemsFromNodes 0.320s
2020-09-23 22:28:57 |

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

2020-09-23 22:28:57 | ------------------------------------

2020-09-23 22:28:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0e6af11f-f1cc-417c-96b2-26a574051838</node><item-id>item-779d76b9-9086-40c6-ab49-6fc1faf85a95</item-id></data>

2020-09-23 22:28:57 | 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-779d76b9-9086-40c6-ab49-6fc1faf85a95</value></item-id></result>

2020-09-23 22:28:57 | [Mutex] received everything.

2020-09-23 22:28:57 | [Mutex] isItemNotified: retracted:item:notifieditem-779d76b9-9086-40c6-ab49-6fc1faf85a95:admin@test-domain.com :: true

retrieveItemsFromNodes 0.184s
2020-09-23 22:28:56 |

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

2020-09-23 22:28:56 | ------------------------------------

2020-09-23 22:28:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0e6af11f-f1cc-417c-96b2-26a574051838</node><item-id>item-779d76b9-9086-40c6-ab49-6fc1faf85a95</item-id></data>

2020-09-23 22:28:56 | 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-0e6af11f-f1cc-417c-96b2-26a574051838</value></node><item-id type="text-single" label="Item ID"><value>item-779d76b9-9086-40c6-ab49-6fc1faf85a95</value></item-id><item type="text-multi" label="Item"><value><item id="item-779d76b9-9086-40c6-ab49-6fc1faf85a95"><test>item-779d76b9-9086-40c6-ab49-6fc1faf85a95</test></item></value></item></result>

2020-09-23 22:28:56 | [Mutex] notify: [retrieved:item:item-779d76b9-9086-40c6-ab49-6fc1faf85a95:payload-matches:true:localhost]

2020-09-23 22:28:56 | [Mutex] received everything.

2020-09-23 22:28:56 | [Mutex] isItemNotified: retrieved:item:item-779d76b9-9086-40c6-ab49-6fc1faf85a95:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2020-09-23 22:28:56 |

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

2020-09-23 22:28:56 | ------------------------------------

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

2020-09-23 22:28:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7468b92a-06a5-41cb-a2b7-de30915a2293</value><value>test</value><value>node-0e6af11f-f1cc-417c-96b2-26a574051838</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-23 22:28:57 |

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

2020-09-23 22:28:57 | ------------------------------------

2020-09-23 22:28:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0e6af11f-f1cc-417c-96b2-26a574051838)</node-pattern></data>

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

subscribeNodes 1.123s
2020-09-23 22:28:55 |

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

2020-09-23 22:28:55 | ------------------------------------

2020-09-23 22:28:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0e6af11f-f1cc-417c-96b2-26a574051838</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.238s
2020-09-23 22:28:57 |

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

2020-09-23 22:28:57 | ------------------------------------

2020-09-23 22:28:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0e6af11f-f1cc-417c-96b2-26a574051838</node><jids><value>admin@test-domain.com</value></jids></data>

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