Generated by TestNG with ReportNG at 09:07 PST on Monday 06 March 2023
root@7c41cec37518 / 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.328s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2023-03-06 09:22:27 |

2023-03-06 09:22:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:27 | ------------------------------------

2023-03-06 09:22:27 | [Mutex] waiting for: [configured:node:node-ea6ea268-4fce-42a7-819f-ec547493594a:node-70e5b79d-f487-4bd5-926e-aee8a82aaa1f]

2023-03-06 09:22:27 | [Mutex] received everything.

2023-03-06 09:22:27 | [Mutex] isItemNotified: configured:node:node-ea6ea268-4fce-42a7-819f-ec547493594a:node-70e5b79d-f487-4bd5-926e-aee8a82aaa1f :: true

2023-03-06 09:22:28 | [Mutex] waiting for: [received:nodes:df4b8933-6f8e-4d99-ab2b-dc5451e1f73f:localhost]

2023-03-06 09:22:28 | [Mutex] received everything.

2023-03-06 09:22:28 | [Mutex] isItemNotified: received:node:df4b8933-6f8e-4d99-ab2b-dc5451e1f73f:localhost:node-ea6ea268-4fce-42a7-819f-ec547493594a:Node ea6ea268-4fce-42a7-819f-ec547493594a :: true

2023-03-06 09:22:28 | [Mutex] waiting for: [received:nodes:d0097bec-d2e0-463a-a45d-b718098a824d:localhost]

2023-03-06 09:22:28 | [Mutex] waiting for: [received:nodes:d0097bec-d2e0-463a-a45d-b718098a824d:localhost]

2023-03-06 09:22:28 | [Mutex] waiting for: [received:nodes:d0097bec-d2e0-463a-a45d-b718098a824d:localhost]

2023-03-06 09:22:28 | [Mutex] received everything.

2023-03-06 09:22:28 | [Mutex] isItemNotified: received:node:d0097bec-d2e0-463a-a45d-b718098a824d:localhost:node-ea6ea268-4fce-42a7-819f-ec547493594a:Node ea6ea268-4fce-42a7-819f-ec547493594a :: false

createNodes 1.353s
2023-03-06 09:22:25 |

2023-03-06 09:22:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:25 | ------------------------------------

2023-03-06 09:22:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ea6ea268-4fce-42a7-819f-ec547493594a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ea6ea268-4fce-42a7-819f-ec547493594a</title></pubsub></data>

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

2023-03-06 09:22:26 | [Mutex] waiting for: [received:nodes:d25d756e-b05c-4c7d-87b4-5cebe591c2de:localhost]

2023-03-06 09:22:26 | [Mutex] waiting for: [received:nodes:d25d756e-b05c-4c7d-87b4-5cebe591c2de:localhost]

2023-03-06 09:22:26 | [Mutex] waiting for: [received:nodes:d25d756e-b05c-4c7d-87b4-5cebe591c2de:localhost]

2023-03-06 09:22:26 | [Mutex] waiting for: [received:nodes:d25d756e-b05c-4c7d-87b4-5cebe591c2de:localhost]

2023-03-06 09:22:26 | [Mutex] received everything.

2023-03-06 09:22:26 | [Mutex] isItemNotified: received:node:d25d756e-b05c-4c7d-87b4-5cebe591c2de:localhost:node-ea6ea268-4fce-42a7-819f-ec547493594a:Node ea6ea268-4fce-42a7-819f-ec547493594a :: true

createSubnodes 1.029s
2023-03-06 09:22:26 |

2023-03-06 09:22:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:26 | ------------------------------------

2023-03-06 09:22:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-70e5b79d-f487-4bd5-926e-aee8a82aaa1f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 70e5b79d-f487-4bd5-926e-aee8a82aaa1f</title></pubsub></data>

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

2023-03-06 09:22:27 | [Mutex] waiting for: [received:nodes:dc7fb2d3-515c-4126-86f2-fc8916651cc6:localhost]

2023-03-06 09:22:27 | [Mutex] waiting for: [received:nodes:dc7fb2d3-515c-4126-86f2-fc8916651cc6:localhost]

2023-03-06 09:22:27 | [Mutex] waiting for: [received:nodes:dc7fb2d3-515c-4126-86f2-fc8916651cc6:localhost]

2023-03-06 09:22:27 | [Mutex] waiting for: [received:nodes:dc7fb2d3-515c-4126-86f2-fc8916651cc6:localhost]

2023-03-06 09:22:27 | [Mutex] waiting for: [received:nodes:dc7fb2d3-515c-4126-86f2-fc8916651cc6:localhost]

2023-03-06 09:22:27 | [Mutex] received everything.

2023-03-06 09:22:27 | [Mutex] isItemNotified: received:node:dc7fb2d3-515c-4126-86f2-fc8916651cc6:localhost:node-70e5b79d-f487-4bd5-926e-aee8a82aaa1f:Node 70e5b79d-f487-4bd5-926e-aee8a82aaa1f :: true

deleteNodes 1.021s
2023-03-06 09:22:33 |

2023-03-06 09:22:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:33 | ------------------------------------

2023-03-06 09:22:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-70e5b79d-f487-4bd5-926e-aee8a82aaa1f</node></data>

2023-03-06 09:22:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-06 09:22:34 | [Mutex] waiting for: [received:nodes:ee3619c1-04c1-4bee-88db-c916967e81ae:localhost]

2023-03-06 09:22:34 | [Mutex] waiting for: [received:nodes:ee3619c1-04c1-4bee-88db-c916967e81ae:localhost]

2023-03-06 09:22:34 | [Mutex] waiting for: [received:nodes:ee3619c1-04c1-4bee-88db-c916967e81ae:localhost]

2023-03-06 09:22:34 | [Mutex] received everything.

2023-03-06 09:22:34 | [Mutex] isItemNotified: received:node:ee3619c1-04c1-4bee-88db-c916967e81ae:localhost:node-70e5b79d-f487-4bd5-926e-aee8a82aaa1f:Node 70e5b79d-f487-4bd5-926e-aee8a82aaa1f :: false

deleteSubnodes 1.121s
2023-03-06 09:22:31 |

2023-03-06 09:22:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:31 | ------------------------------------

2023-03-06 09:22:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ea6ea268-4fce-42a7-819f-ec547493594a</node></data>

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

2023-03-06 09:22:33 | [Mutex] waiting for: [received:nodes:5b644ad2-9032-4c02-a19d-96f23bbffaeb:localhost]

2023-03-06 09:22:33 | [Mutex] waiting for: [received:nodes:5b644ad2-9032-4c02-a19d-96f23bbffaeb:localhost]

2023-03-06 09:22:33 | [Mutex] waiting for: [received:nodes:5b644ad2-9032-4c02-a19d-96f23bbffaeb:localhost]

2023-03-06 09:22:33 | [Mutex] waiting for: [received:nodes:5b644ad2-9032-4c02-a19d-96f23bbffaeb:localhost]

2023-03-06 09:22:33 | [Mutex] received everything.

2023-03-06 09:22:33 | [Mutex] isItemNotified: received:node:5b644ad2-9032-4c02-a19d-96f23bbffaeb:localhost:node-ea6ea268-4fce-42a7-819f-ec547493594a:Node ea6ea268-4fce-42a7-819f-ec547493594a :: false

2023-03-06 09:22:33 | [Mutex] waiting for: [received:nodes:22696e1d-a4e7-4638-ac51-700a038ab62b:localhost]

2023-03-06 09:22:33 | [Mutex] received everything.

2023-03-06 09:22:33 | [Mutex] isItemNotified: received:node:22696e1d-a4e7-4638-ac51-700a038ab62b:localhost:node-ea6ea268-4fce-42a7-819f-ec547493594a:Node ea6ea268-4fce-42a7-819f-ec547493594a :: false

publishItemsToNodes 0.191s
2023-03-06 09:22:29 |

2023-03-06 09:22:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:29 | ------------------------------------

2023-03-06 09:22:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ea6ea268-4fce-42a7-819f-ec547493594a</node><item-id>item-674159e8-d33e-47b3-b2c8-2b66452f5062</item-id><entry><test>item-674159e8-d33e-47b3-b2c8-2b66452f5062</test></entry></data>

2023-03-06 09:22:30 | 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-674159e8-d33e-47b3-b2c8-2b66452f5062</value></item-id></result>

2023-03-06 09:22:30 | [Mutex] waiting for: [published:item:notifieditem-674159e8-d33e-47b3-b2c8-2b66452f5062:admin@test-domain.com]

2023-03-06 09:22:30 | [Mutex] received everything.

2023-03-06 09:22:30 | [Mutex] isItemNotified: published:item:notifieditem-674159e8-d33e-47b3-b2c8-2b66452f5062:admin@test-domain.com :: true

retractItemsFromNodes 0.292s
2023-03-06 09:22:30 |

2023-03-06 09:22:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:30 | ------------------------------------

2023-03-06 09:22:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ea6ea268-4fce-42a7-819f-ec547493594a</node><item-id>item-674159e8-d33e-47b3-b2c8-2b66452f5062</item-id></data>

2023-03-06 09:22:30 | 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-674159e8-d33e-47b3-b2c8-2b66452f5062</value></item-id></result>

2023-03-06 09:22:30 | [Mutex] received everything.

2023-03-06 09:22:30 | [Mutex] isItemNotified: retracted:item:notifieditem-674159e8-d33e-47b3-b2c8-2b66452f5062:admin@test-domain.com :: true

retrieveItemsFromNodes 0.200s
2023-03-06 09:22:30 |

2023-03-06 09:22:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:30 | ------------------------------------

2023-03-06 09:22:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ea6ea268-4fce-42a7-819f-ec547493594a</node><item-id>item-674159e8-d33e-47b3-b2c8-2b66452f5062</item-id></data>

2023-03-06 09:22:30 | 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-ea6ea268-4fce-42a7-819f-ec547493594a</value></node><item-id type="text-single" label="Item ID"><value>item-674159e8-d33e-47b3-b2c8-2b66452f5062</value></item-id><item type="text-multi" label="Item"><value><item id="item-674159e8-d33e-47b3-b2c8-2b66452f5062"><test>item-674159e8-d33e-47b3-b2c8-2b66452f5062</test></item></value></item></result>

2023-03-06 09:22:30 | [Mutex] notify: [retrieved:item:item-674159e8-d33e-47b3-b2c8-2b66452f5062:payload-matches:true:localhost]

2023-03-06 09:22:30 | [Mutex] received everything.

2023-03-06 09:22:30 | [Mutex] isItemNotified: retrieved:item:item-674159e8-d33e-47b3-b2c8-2b66452f5062:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-06 09:22:30 |

2023-03-06 09:22:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:30 | ------------------------------------

2023-03-06 09:22:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-06 09:22:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-70e5b79d-f487-4bd5-926e-aee8a82aaa1f</value><value>test</value><value>node-ea6ea268-4fce-42a7-819f-ec547493594a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-06 09:22:30 |

2023-03-06 09:22:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:30 | ------------------------------------

2023-03-06 09:22:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ea6ea268-4fce-42a7-819f-ec547493594a)</node-pattern></data>

2023-03-06 09:22:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.126s
2023-03-06 09:22:28 |

2023-03-06 09:22:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:28 | ------------------------------------

2023-03-06 09:22:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ea6ea268-4fce-42a7-819f-ec547493594a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.202s
2023-03-06 09:22:30 |

2023-03-06 09:22:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 09:22:30 | ------------------------------------

2023-03-06 09:22:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ea6ea268-4fce-42a7-819f-ec547493594a</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-06 09:22:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>