Generated by TestNG with ReportNG at 22:17 PDT on Wednesday 06 July 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.455s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.084s
2022-07-06 22:32:52 |

2022-07-06 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:52 | ------------------------------------

2022-07-06 22:32:52 | [Mutex] waiting for: [configured:node:node-86456f7e-899d-4af1-b876-3fabb9b0803e:node-5c6a3070-76ac-4e56-ac6a-db7f667752e2]

2022-07-06 22:32:52 | [Mutex] received everything.

2022-07-06 22:32:52 | [Mutex] isItemNotified: configured:node:node-86456f7e-899d-4af1-b876-3fabb9b0803e:node-5c6a3070-76ac-4e56-ac6a-db7f667752e2 :: true

2022-07-06 22:32:53 | [Mutex] waiting for: [received:nodes:0a87ddeb-adc8-4853-a586-5e9709713781:localhost]

2022-07-06 22:32:53 | [Mutex] received everything.

2022-07-06 22:32:53 | [Mutex] isItemNotified: received:node:0a87ddeb-adc8-4853-a586-5e9709713781:localhost:node-86456f7e-899d-4af1-b876-3fabb9b0803e:Node 86456f7e-899d-4af1-b876-3fabb9b0803e :: true

2022-07-06 22:32:53 | [Mutex] waiting for: [received:nodes:d2196e77-ac20-43bb-9559-caeec07e67a1:localhost]

2022-07-06 22:32:53 | [Mutex] waiting for: [received:nodes:d2196e77-ac20-43bb-9559-caeec07e67a1:localhost]

2022-07-06 22:32:53 | [Mutex] received everything.

2022-07-06 22:32:53 | [Mutex] isItemNotified: received:node:d2196e77-ac20-43bb-9559-caeec07e67a1:localhost:node-86456f7e-899d-4af1-b876-3fabb9b0803e:Node 86456f7e-899d-4af1-b876-3fabb9b0803e :: false

createNodes 1.392s
2022-07-06 22:32:50 |

2022-07-06 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:50 | ------------------------------------

2022-07-06 22:32:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-86456f7e-899d-4af1-b876-3fabb9b0803e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 86456f7e-899d-4af1-b876-3fabb9b0803e</title></pubsub></data>

2022-07-06 22:32:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 22:32:51 | [Mutex] waiting for: [received:nodes:c0c2bd0d-c83c-4444-891b-526b1f311665:localhost]

2022-07-06 22:32:51 | [Mutex] received everything.

2022-07-06 22:32:51 | [Mutex] isItemNotified: received:node:c0c2bd0d-c83c-4444-891b-526b1f311665:localhost:node-86456f7e-899d-4af1-b876-3fabb9b0803e:Node 86456f7e-899d-4af1-b876-3fabb9b0803e :: true

createSubnodes 1.027s
2022-07-06 22:32:51 |

2022-07-06 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:51 | ------------------------------------

2022-07-06 22:32:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5c6a3070-76ac-4e56-ac6a-db7f667752e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5c6a3070-76ac-4e56-ac6a-db7f667752e2</title></pubsub></data>

2022-07-06 22:32:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 22:32:52 | [Mutex] waiting for: [received:nodes:802c1fc2-957b-4ea3-bf27-3b84c619309c:localhost]

2022-07-06 22:32:52 | [Mutex] received everything.

2022-07-06 22:32:52 | [Mutex] isItemNotified: received:node:802c1fc2-957b-4ea3-bf27-3b84c619309c:localhost:node-5c6a3070-76ac-4e56-ac6a-db7f667752e2:Node 5c6a3070-76ac-4e56-ac6a-db7f667752e2 :: true

deleteNodes 1.015s
2022-07-06 22:32:57 |

2022-07-06 22:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:57 | ------------------------------------

2022-07-06 22:32:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5c6a3070-76ac-4e56-ac6a-db7f667752e2</node></data>

2022-07-06 22:32:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 22:32:58 | [Mutex] waiting for: [received:nodes:90d8936d-22e9-47dd-915c-edbf615cfc5d:localhost]

2022-07-06 22:32:58 | [Mutex] received everything.

2022-07-06 22:32:58 | [Mutex] isItemNotified: received:node:90d8936d-22e9-47dd-915c-edbf615cfc5d:localhost:node-5c6a3070-76ac-4e56-ac6a-db7f667752e2:Node 5c6a3070-76ac-4e56-ac6a-db7f667752e2 :: false

deleteSubnodes 1.119s
2022-07-06 22:32:56 |

2022-07-06 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:56 | ------------------------------------

2022-07-06 22:32:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-86456f7e-899d-4af1-b876-3fabb9b0803e</node></data>

2022-07-06 22:32:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 22:32:57 | [Mutex] waiting for: [received:nodes:fa561bd3-c4dd-40da-813b-2bf82449f052:localhost]

2022-07-06 22:32:57 | [Mutex] received everything.

2022-07-06 22:32:57 | [Mutex] isItemNotified: received:node:fa561bd3-c4dd-40da-813b-2bf82449f052:localhost:node-86456f7e-899d-4af1-b876-3fabb9b0803e:Node 86456f7e-899d-4af1-b876-3fabb9b0803e :: false

2022-07-06 22:32:57 | [Mutex] waiting for: [received:nodes:9b203aea-4d3d-4b73-adc2-b9c77fc4d0ad:localhost]

2022-07-06 22:32:57 | [Mutex] received everything.

2022-07-06 22:32:57 | [Mutex] isItemNotified: received:node:9b203aea-4d3d-4b73-adc2-b9c77fc4d0ad:localhost:node-86456f7e-899d-4af1-b876-3fabb9b0803e:Node 86456f7e-899d-4af1-b876-3fabb9b0803e :: false

publishItemsToNodes 0.200s
2022-07-06 22:32:54 |

2022-07-06 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:54 | ------------------------------------

2022-07-06 22:32:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-86456f7e-899d-4af1-b876-3fabb9b0803e</node><item-id>item-c3fada27-0f12-473a-b183-347578436f51</item-id><entry><test>item-c3fada27-0f12-473a-b183-347578436f51</test></entry></data>

2022-07-06 22:32:55 | 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-c3fada27-0f12-473a-b183-347578436f51</value></item-id></result>

2022-07-06 22:32:55 | [Mutex] received everything.

2022-07-06 22:32:55 | [Mutex] isItemNotified: published:item:notifieditem-c3fada27-0f12-473a-b183-347578436f51:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-07-06 22:32:55 |

2022-07-06 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:55 | ------------------------------------

2022-07-06 22:32:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-86456f7e-899d-4af1-b876-3fabb9b0803e</node><item-id>item-c3fada27-0f12-473a-b183-347578436f51</item-id></data>

2022-07-06 22:32:55 | 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-c3fada27-0f12-473a-b183-347578436f51</value></item-id></result>

2022-07-06 22:32:55 | [Mutex] received everything.

2022-07-06 22:32:55 | [Mutex] isItemNotified: retracted:item:notifieditem-c3fada27-0f12-473a-b183-347578436f51:admin@test-domain.com :: true

retrieveItemsFromNodes 0.210s
2022-07-06 22:32:55 |

2022-07-06 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:55 | ------------------------------------

2022-07-06 22:32:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-86456f7e-899d-4af1-b876-3fabb9b0803e</node><item-id>item-c3fada27-0f12-473a-b183-347578436f51</item-id></data>

2022-07-06 22:32:55 | 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-86456f7e-899d-4af1-b876-3fabb9b0803e</value></node><item-id type="text-single" label="Item ID"><value>item-c3fada27-0f12-473a-b183-347578436f51</value></item-id><item type="text-multi" label="Item"><value><item id="item-c3fada27-0f12-473a-b183-347578436f51"><test>item-c3fada27-0f12-473a-b183-347578436f51</test></item></value></item></result>

2022-07-06 22:32:55 | [Mutex] notify: [retrieved:item:item-c3fada27-0f12-473a-b183-347578436f51:payload-matches:true:localhost]

2022-07-06 22:32:55 | [Mutex] received everything.

2022-07-06 22:32:55 | [Mutex] isItemNotified: retrieved:item:item-c3fada27-0f12-473a-b183-347578436f51:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-07-06 22:32:55 |

2022-07-06 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:55 | ------------------------------------

2022-07-06 22:32:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-06 22:32:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-5c6a3070-76ac-4e56-ac6a-db7f667752e2</value><value>test</value><value>node-86456f7e-899d-4af1-b876-3fabb9b0803e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-07-06 22:32:55 |

2022-07-06 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:55 | ------------------------------------

2022-07-06 22:32:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-86456f7e-899d-4af1-b876-3fabb9b0803e)</node-pattern></data>

2022-07-06 22:32:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.146s
2022-07-06 22:32:53 |

2022-07-06 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:53 | ------------------------------------

2022-07-06 22:32:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-86456f7e-899d-4af1-b876-3fabb9b0803e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-06 22:32:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.163s
2022-07-06 22:32:55 |

2022-07-06 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 22:32:55 | ------------------------------------

2022-07-06 22:32:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-86456f7e-899d-4af1-b876-3fabb9b0803e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-06 22:32:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>