Generated by TestNG with ReportNG at 15:56 PDT on Friday 25 September 2020
root@917f04bc4138 / 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.854s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2020-09-25 16:10:17 |

2020-09-25 16:10:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:17 | ------------------------------------

2020-09-25 16:10:17 | [Mutex] waiting for: [configured:node:node-8b62dc5a-7b36-489d-bbdd-68f292dff274:node-7d1c7a2f-599e-4beb-bcee-a088faa2b2b5]

2020-09-25 16:10:17 | [Mutex] received everything.

2020-09-25 16:10:17 | [Mutex] isItemNotified: configured:node:node-8b62dc5a-7b36-489d-bbdd-68f292dff274:node-7d1c7a2f-599e-4beb-bcee-a088faa2b2b5 :: true

2020-09-25 16:10:18 | [Mutex] waiting for: [received:nodes:a2574360-8d9f-45df-8bfc-38178b86c019:localhost]

2020-09-25 16:10:18 | [Mutex] received everything.

2020-09-25 16:10:18 | [Mutex] isItemNotified: received:node:a2574360-8d9f-45df-8bfc-38178b86c019:localhost:node-8b62dc5a-7b36-489d-bbdd-68f292dff274:Node 8b62dc5a-7b36-489d-bbdd-68f292dff274 :: true

2020-09-25 16:10:18 | [Mutex] waiting for: [received:nodes:27b6c3ed-ed34-45be-a9e2-2de2b55cb066:localhost]

2020-09-25 16:10:18 | [Mutex] received everything.

2020-09-25 16:10:18 | [Mutex] isItemNotified: received:node:27b6c3ed-ed34-45be-a9e2-2de2b55cb066:localhost:node-8b62dc5a-7b36-489d-bbdd-68f292dff274:Node 8b62dc5a-7b36-489d-bbdd-68f292dff274 :: false

createNodes 1.384s
2020-09-25 16:10:15 |

2020-09-25 16:10:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:15 | ------------------------------------

2020-09-25 16:10:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8b62dc5a-7b36-489d-bbdd-68f292dff274</title></pubsub></data>

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

2020-09-25 16:10:16 | [Mutex] waiting for: [received:nodes:cba838c0-ebac-42cc-9f58-465cfc730b6d:localhost]

2020-09-25 16:10:16 | [Mutex] received everything.

2020-09-25 16:10:16 | [Mutex] isItemNotified: received:node:cba838c0-ebac-42cc-9f58-465cfc730b6d:localhost:node-8b62dc5a-7b36-489d-bbdd-68f292dff274:Node 8b62dc5a-7b36-489d-bbdd-68f292dff274 :: true

createSubnodes 1.027s
2020-09-25 16:10:16 |

2020-09-25 16:10:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:16 | ------------------------------------

2020-09-25 16:10:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7d1c7a2f-599e-4beb-bcee-a088faa2b2b5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7d1c7a2f-599e-4beb-bcee-a088faa2b2b5</title></pubsub></data>

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

2020-09-25 16:10:17 | [Mutex] waiting for: [received:nodes:0d68b061-7438-4c9b-9443-94b024d1e8d7:localhost]

2020-09-25 16:10:17 | [Mutex] received everything.

2020-09-25 16:10:17 | [Mutex] isItemNotified: received:node:0d68b061-7438-4c9b-9443-94b024d1e8d7:localhost:node-7d1c7a2f-599e-4beb-bcee-a088faa2b2b5:Node 7d1c7a2f-599e-4beb-bcee-a088faa2b2b5 :: true

deleteNodes 1.023s
2020-09-25 16:10:22 |

2020-09-25 16:10:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:22 | ------------------------------------

2020-09-25 16:10:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7d1c7a2f-599e-4beb-bcee-a088faa2b2b5</node></data>

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

2020-09-25 16:10:23 | [Mutex] waiting for: [received:nodes:bb24dd67-f718-4fa6-ae62-0ab522559d9d:localhost]

2020-09-25 16:10:23 | [Mutex] received everything.

2020-09-25 16:10:23 | [Mutex] isItemNotified: received:node:bb24dd67-f718-4fa6-ae62-0ab522559d9d:localhost:node-7d1c7a2f-599e-4beb-bcee-a088faa2b2b5:Node 7d1c7a2f-599e-4beb-bcee-a088faa2b2b5 :: false

deleteSubnodes 1.161s
2020-09-25 16:10:21 |

2020-09-25 16:10:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:21 | ------------------------------------

2020-09-25 16:10:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</node></data>

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

2020-09-25 16:10:22 | [Mutex] waiting for: [received:nodes:c0b25874-33f5-4163-ac33-1036263f4e58:localhost]

2020-09-25 16:10:22 | [Mutex] received everything.

2020-09-25 16:10:22 | [Mutex] isItemNotified: received:node:c0b25874-33f5-4163-ac33-1036263f4e58:localhost:node-8b62dc5a-7b36-489d-bbdd-68f292dff274:Node 8b62dc5a-7b36-489d-bbdd-68f292dff274 :: false

2020-09-25 16:10:22 | [Mutex] waiting for: [received:nodes:4058fb64-d160-4558-8025-b18b439b5512:localhost]

2020-09-25 16:10:22 | [Mutex] received everything.

2020-09-25 16:10:22 | [Mutex] isItemNotified: received:node:4058fb64-d160-4558-8025-b18b439b5512:localhost:node-8b62dc5a-7b36-489d-bbdd-68f292dff274:Node 8b62dc5a-7b36-489d-bbdd-68f292dff274 :: false

publishItemsToNodes 0.203s
2020-09-25 16:10:19 |

2020-09-25 16:10:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:19 | ------------------------------------

2020-09-25 16:10:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</node><item-id>item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</item-id><entry><test>item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</test></entry></data>

2020-09-25 16:10:19 | 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-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</value></item-id></result>

2020-09-25 16:10:19 | [Mutex] waiting for: [published:item:notifieditem-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac:admin@test-domain.com]

2020-09-25 16:10:19 | [Mutex] received everything.

2020-09-25 16:10:19 | [Mutex] isItemNotified: published:item:notifieditem-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac:admin@test-domain.com :: true

retractItemsFromNodes 0.224s
2020-09-25 16:10:20 |

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

2020-09-25 16:10:20 | ------------------------------------

2020-09-25 16:10:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</node><item-id>item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</item-id></data>

2020-09-25 16:10:20 | 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-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</value></item-id></result>

2020-09-25 16:10:20 | [Mutex] received everything.

2020-09-25 16:10:20 | [Mutex] isItemNotified: retracted:item:notifieditem-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2020-09-25 16:10:19 |

2020-09-25 16:10:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:19 | ------------------------------------

2020-09-25 16:10:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</node><item-id>item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</item-id></data>

2020-09-25 16:10:20 | 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-8b62dc5a-7b36-489d-bbdd-68f292dff274</value></node><item-id label="Item ID" type="text-single"><value>item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</value></item-id><item label="Item" type="text-multi"><value><item id="item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac"><test>item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac</test></item></value></item></result>

2020-09-25 16:10:20 | [Mutex] notify: [retrieved:item:item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac:payload-matches:true:localhost]

2020-09-25 16:10:20 | [Mutex] received everything.

2020-09-25 16:10:20 | [Mutex] isItemNotified: retrieved:item:item-65bf95cf-1da9-4cd8-b8dd-aa04bb2c97ac:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.061s
2020-09-25 16:10:20 |

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

2020-09-25 16:10:20 | ------------------------------------

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

2020-09-25 16:10:20 | 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-7d1c7a2f-599e-4beb-bcee-a088faa2b2b5</value><value>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-25 16:10:20 |

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

2020-09-25 16:10:20 | ------------------------------------

2020-09-25 16:10:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8b62dc5a-7b36-489d-bbdd-68f292dff274)</node-pattern></data>

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

subscribeNodes 1.103s
2020-09-25 16:10:18 |

2020-09-25 16:10:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:10:18 | ------------------------------------

2020-09-25 16:10:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.282s
2020-09-25 16:10:20 |

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

2020-09-25 16:10:20 | ------------------------------------

2020-09-25 16:10:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8b62dc5a-7b36-489d-bbdd-68f292dff274</node><jids><value>admin@test-domain.com</value></jids></data>

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