Generated by TestNG with ReportNG at 21:39 PDT on Wednesday 05 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.345s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2023-07-05 21:53:30 |

2023-07-05 21:53:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:30 | ------------------------------------

2023-07-05 21:53:30 | [Mutex] waiting for: [configured:node:node-52e91346-ba41-4cd1-91c4-2559bf058317:node-a561d219-414c-4645-8552-aa5471c4d6e3]

2023-07-05 21:53:30 | [Mutex] received everything.

2023-07-05 21:53:30 | [Mutex] isItemNotified: configured:node:node-52e91346-ba41-4cd1-91c4-2559bf058317:node-a561d219-414c-4645-8552-aa5471c4d6e3 :: true

2023-07-05 21:53:31 | [Mutex] waiting for: [received:nodes:cf790ffd-55a3-4a20-a7b9-2d36daddb97b:localhost]

2023-07-05 21:53:31 | [Mutex] received everything.

2023-07-05 21:53:31 | [Mutex] isItemNotified: received:node:cf790ffd-55a3-4a20-a7b9-2d36daddb97b:localhost:node-52e91346-ba41-4cd1-91c4-2559bf058317:Node 52e91346-ba41-4cd1-91c4-2559bf058317 :: true

2023-07-05 21:53:31 | [Mutex] waiting for: [received:nodes:1bd41fb1-7e1f-4a08-bee7-885dba13ab2b:localhost]

2023-07-05 21:53:31 | [Mutex] received everything.

2023-07-05 21:53:31 | [Mutex] isItemNotified: received:node:1bd41fb1-7e1f-4a08-bee7-885dba13ab2b:localhost:node-52e91346-ba41-4cd1-91c4-2559bf058317:Node 52e91346-ba41-4cd1-91c4-2559bf058317 :: false

createNodes 1.381s
2023-07-05 21:53:28 |

2023-07-05 21:53:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:28 | ------------------------------------

2023-07-05 21:53:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-52e91346-ba41-4cd1-91c4-2559bf058317</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 52e91346-ba41-4cd1-91c4-2559bf058317</title></pubsub></data>

2023-07-05 21:53:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:53:29 | [Mutex] waiting for: [received:nodes:eb333801-2d35-46a3-8e47-5fb499ccf9c4:localhost]

2023-07-05 21:53:29 | [Mutex] waiting for: [received:nodes:eb333801-2d35-46a3-8e47-5fb499ccf9c4:localhost]

2023-07-05 21:53:29 | [Mutex] waiting for: [received:nodes:eb333801-2d35-46a3-8e47-5fb499ccf9c4:localhost]

2023-07-05 21:53:29 | [Mutex] waiting for: [received:nodes:eb333801-2d35-46a3-8e47-5fb499ccf9c4:localhost]

2023-07-05 21:53:29 | [Mutex] received everything.

2023-07-05 21:53:29 | [Mutex] isItemNotified: received:node:eb333801-2d35-46a3-8e47-5fb499ccf9c4:localhost:node-52e91346-ba41-4cd1-91c4-2559bf058317:Node 52e91346-ba41-4cd1-91c4-2559bf058317 :: true

createSubnodes 1.023s
2023-07-05 21:53:29 |

2023-07-05 21:53:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:29 | ------------------------------------

2023-07-05 21:53:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a561d219-414c-4645-8552-aa5471c4d6e3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a561d219-414c-4645-8552-aa5471c4d6e3</title></pubsub></data>

2023-07-05 21:53:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:53:30 | [Mutex] waiting for: [received:nodes:e40b2dcb-c993-4768-93dc-89e4b5efac3f:localhost]

2023-07-05 21:53:30 | [Mutex] waiting for: [received:nodes:e40b2dcb-c993-4768-93dc-89e4b5efac3f:localhost]

2023-07-05 21:53:30 | [Mutex] waiting for: [received:nodes:e40b2dcb-c993-4768-93dc-89e4b5efac3f:localhost]

2023-07-05 21:53:30 | [Mutex] waiting for: [received:nodes:e40b2dcb-c993-4768-93dc-89e4b5efac3f:localhost]

2023-07-05 21:53:30 | [Mutex] waiting for: [received:nodes:e40b2dcb-c993-4768-93dc-89e4b5efac3f:localhost]

2023-07-05 21:53:30 | [Mutex] received everything.

2023-07-05 21:53:30 | [Mutex] isItemNotified: received:node:e40b2dcb-c993-4768-93dc-89e4b5efac3f:localhost:node-a561d219-414c-4645-8552-aa5471c4d6e3:Node a561d219-414c-4645-8552-aa5471c4d6e3 :: true

deleteNodes 1.020s
2023-07-05 21:53:35 |

2023-07-05 21:53:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:35 | ------------------------------------

2023-07-05 21:53:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a561d219-414c-4645-8552-aa5471c4d6e3</node></data>

2023-07-05 21:53:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:53:36 | [Mutex] waiting for: [received:nodes:460b265b-dfee-4b3a-955a-176e0381b5fe:localhost]

2023-07-05 21:53:36 | [Mutex] received everything.

2023-07-05 21:53:36 | [Mutex] isItemNotified: received:node:460b265b-dfee-4b3a-955a-176e0381b5fe:localhost:node-a561d219-414c-4645-8552-aa5471c4d6e3:Node a561d219-414c-4645-8552-aa5471c4d6e3 :: false

deleteSubnodes 1.103s
2023-07-05 21:53:34 |

2023-07-05 21:53:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:34 | ------------------------------------

2023-07-05 21:53:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-52e91346-ba41-4cd1-91c4-2559bf058317</node></data>

2023-07-05 21:53:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:53:35 | [Mutex] waiting for: [received:nodes:2b13e43c-f98d-4487-9924-8acbd7d02598:localhost]

2023-07-05 21:53:35 | [Mutex] waiting for: [received:nodes:2b13e43c-f98d-4487-9924-8acbd7d02598:localhost]

2023-07-05 21:53:35 | [Mutex] waiting for: [received:nodes:2b13e43c-f98d-4487-9924-8acbd7d02598:localhost]

2023-07-05 21:53:35 | [Mutex] waiting for: [received:nodes:2b13e43c-f98d-4487-9924-8acbd7d02598:localhost]

2023-07-05 21:53:35 | [Mutex] received everything.

2023-07-05 21:53:35 | [Mutex] isItemNotified: received:node:2b13e43c-f98d-4487-9924-8acbd7d02598:localhost:node-52e91346-ba41-4cd1-91c4-2559bf058317:Node 52e91346-ba41-4cd1-91c4-2559bf058317 :: false

2023-07-05 21:53:35 | [Mutex] waiting for: [received:nodes:86baf130-b38d-4a44-8635-41fa47ad8fd6:localhost]

2023-07-05 21:53:35 | [Mutex] received everything.

2023-07-05 21:53:35 | [Mutex] isItemNotified: received:node:86baf130-b38d-4a44-8635-41fa47ad8fd6:localhost:node-52e91346-ba41-4cd1-91c4-2559bf058317:Node 52e91346-ba41-4cd1-91c4-2559bf058317 :: false

publishItemsToNodes 0.197s
2023-07-05 21:53:32 |

2023-07-05 21:53:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:32 | ------------------------------------

2023-07-05 21:53:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-52e91346-ba41-4cd1-91c4-2559bf058317</node><item-id>item-7432310e-f028-4460-b201-c30044035cb5</item-id><entry><test>item-7432310e-f028-4460-b201-c30044035cb5</test></entry></data>

2023-07-05 21:53:32 | 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-7432310e-f028-4460-b201-c30044035cb5</value></item-id></result>

2023-07-05 21:53:32 | [Mutex] received everything.

2023-07-05 21:53:32 | [Mutex] isItemNotified: published:item:notifieditem-7432310e-f028-4460-b201-c30044035cb5:admin@test-domain.com :: true

retractItemsFromNodes 0.395s
2023-07-05 21:53:33 |

2023-07-05 21:53:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:33 | ------------------------------------

2023-07-05 21:53:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-52e91346-ba41-4cd1-91c4-2559bf058317</node><item-id>item-7432310e-f028-4460-b201-c30044035cb5</item-id></data>

2023-07-05 21:53:33 | 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-7432310e-f028-4460-b201-c30044035cb5</value></item-id></result>

2023-07-05 21:53:33 | [Mutex] received everything.

2023-07-05 21:53:33 | [Mutex] isItemNotified: retracted:item:notifieditem-7432310e-f028-4460-b201-c30044035cb5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.164s
2023-07-05 21:53:32 |

2023-07-05 21:53:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:32 | ------------------------------------

2023-07-05 21:53:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-52e91346-ba41-4cd1-91c4-2559bf058317</node><item-id>item-7432310e-f028-4460-b201-c30044035cb5</item-id></data>

2023-07-05 21:53:33 | 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-52e91346-ba41-4cd1-91c4-2559bf058317</value></node><item-id label="Item ID" type="text-single"><value>item-7432310e-f028-4460-b201-c30044035cb5</value></item-id><item label="Item" type="text-multi"><value><item id="item-7432310e-f028-4460-b201-c30044035cb5"><test>item-7432310e-f028-4460-b201-c30044035cb5</test></item></value></item></result>

2023-07-05 21:53:33 | [Mutex] notify: [retrieved:item:item-7432310e-f028-4460-b201-c30044035cb5:payload-matches:true:localhost]

2023-07-05 21:53:33 | [Mutex] received everything.

2023-07-05 21:53:33 | [Mutex] isItemNotified: retrieved:item:item-7432310e-f028-4460-b201-c30044035cb5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2023-07-05 21:53:33 |

2023-07-05 21:53:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:33 | ------------------------------------

2023-07-05 21:53:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-05 21:53:33 | 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-52e91346-ba41-4cd1-91c4-2559bf058317</value><value>node-a561d219-414c-4645-8552-aa5471c4d6e3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-05 21:53:33 |

2023-07-05 21:53:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:33 | ------------------------------------

2023-07-05 21:53:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-52e91346-ba41-4cd1-91c4-2559bf058317)</node-pattern></data>

2023-07-05 21:53:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.102s
2023-07-05 21:53:31 |

2023-07-05 21:53:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:31 | ------------------------------------

2023-07-05 21:53:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-52e91346-ba41-4cd1-91c4-2559bf058317</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-05 21:53:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2023-07-05 21:53:33 |

2023-07-05 21:53:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:53:33 | ------------------------------------

2023-07-05 21:53:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-52e91346-ba41-4cd1-91c4-2559bf058317</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-05 21:53:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>