Generated by TestNG with ReportNG at 22:50 PDT on Friday 01 July 2022
root@ed1b7dd8a1b3 / 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.609s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2022-07-01 23:06:09 |

2022-07-01 23:06:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:09 | ------------------------------------

2022-07-01 23:06:09 | [Mutex] waiting for: [configured:node:node-3cddc5e2-ae36-4786-8e17-597509e1662e:node-83627021-19be-414d-8bfa-30e840003f51]

2022-07-01 23:06:09 | [Mutex] received everything.

2022-07-01 23:06:09 | [Mutex] isItemNotified: configured:node:node-3cddc5e2-ae36-4786-8e17-597509e1662e:node-83627021-19be-414d-8bfa-30e840003f51 :: true

2022-07-01 23:06:10 | [Mutex] waiting for: [received:nodes:14fc6404-9754-4593-9f36-2bf3bf98058b:localhost]

2022-07-01 23:06:10 | [Mutex] received everything.

2022-07-01 23:06:10 | [Mutex] isItemNotified: received:node:14fc6404-9754-4593-9f36-2bf3bf98058b:localhost:node-3cddc5e2-ae36-4786-8e17-597509e1662e:Node 3cddc5e2-ae36-4786-8e17-597509e1662e :: true

2022-07-01 23:06:10 | [Mutex] waiting for: [received:nodes:d3713d01-35d2-4622-b009-05721547e89d:localhost]

2022-07-01 23:06:10 | [Mutex] waiting for: [received:nodes:d3713d01-35d2-4622-b009-05721547e89d:localhost]

2022-07-01 23:06:10 | [Mutex] received everything.

2022-07-01 23:06:10 | [Mutex] isItemNotified: received:node:d3713d01-35d2-4622-b009-05721547e89d:localhost:node-3cddc5e2-ae36-4786-8e17-597509e1662e:Node 3cddc5e2-ae36-4786-8e17-597509e1662e :: false

createNodes 1.450s
2022-07-01 23:06:06 |

2022-07-01 23:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:06 | ------------------------------------

2022-07-01 23:06:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3cddc5e2-ae36-4786-8e17-597509e1662e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3cddc5e2-ae36-4786-8e17-597509e1662e</title></pubsub></data>

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

2022-07-01 23:06:08 | [Mutex] waiting for: [received:nodes:17a4ee9d-f88a-47fa-ba6b-1c4382dd91c5:localhost]

2022-07-01 23:06:08 | [Mutex] received everything.

2022-07-01 23:06:08 | [Mutex] isItemNotified: received:node:17a4ee9d-f88a-47fa-ba6b-1c4382dd91c5:localhost:node-3cddc5e2-ae36-4786-8e17-597509e1662e:Node 3cddc5e2-ae36-4786-8e17-597509e1662e :: true

createSubnodes 1.033s
2022-07-01 23:06:08 |

2022-07-01 23:06:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:08 | ------------------------------------

2022-07-01 23:06:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-83627021-19be-414d-8bfa-30e840003f51</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 83627021-19be-414d-8bfa-30e840003f51</title></pubsub></data>

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

2022-07-01 23:06:09 | [Mutex] waiting for: [received:nodes:beaaf216-9e58-4478-8ca0-7bc5dc90c8dd:localhost]

2022-07-01 23:06:09 | [Mutex] waiting for: [received:nodes:beaaf216-9e58-4478-8ca0-7bc5dc90c8dd:localhost]

2022-07-01 23:06:09 | [Mutex] received everything.

2022-07-01 23:06:09 | [Mutex] isItemNotified: received:node:beaaf216-9e58-4478-8ca0-7bc5dc90c8dd:localhost:node-83627021-19be-414d-8bfa-30e840003f51:Node 83627021-19be-414d-8bfa-30e840003f51 :: true

deleteNodes 1.017s
2022-07-01 23:06:14 |

2022-07-01 23:06:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:14 | ------------------------------------

2022-07-01 23:06:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-83627021-19be-414d-8bfa-30e840003f51</node></data>

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

2022-07-01 23:06:15 | [Mutex] waiting for: [received:nodes:f396d3c4-16d6-4bf2-ba04-3b9010dae1eb:localhost]

2022-07-01 23:06:15 | [Mutex] received everything.

2022-07-01 23:06:15 | [Mutex] isItemNotified: received:node:f396d3c4-16d6-4bf2-ba04-3b9010dae1eb:localhost:node-83627021-19be-414d-8bfa-30e840003f51:Node 83627021-19be-414d-8bfa-30e840003f51 :: false

deleteSubnodes 1.128s
2022-07-01 23:06:13 |

2022-07-01 23:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:13 | ------------------------------------

2022-07-01 23:06:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3cddc5e2-ae36-4786-8e17-597509e1662e</node></data>

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

2022-07-01 23:06:14 | [Mutex] waiting for: [received:nodes:2a69bda6-79f3-4fb3-b16e-d2a9449179fb:localhost]

2022-07-01 23:06:14 | [Mutex] waiting for: [received:nodes:2a69bda6-79f3-4fb3-b16e-d2a9449179fb:localhost]

2022-07-01 23:06:14 | [Mutex] received everything.

2022-07-01 23:06:14 | [Mutex] isItemNotified: received:node:2a69bda6-79f3-4fb3-b16e-d2a9449179fb:localhost:node-3cddc5e2-ae36-4786-8e17-597509e1662e:Node 3cddc5e2-ae36-4786-8e17-597509e1662e :: false

2022-07-01 23:06:14 | [Mutex] waiting for: [received:nodes:40f22b93-b85a-4be8-87dd-e92130803624:localhost]

2022-07-01 23:06:14 | [Mutex] received everything.

2022-07-01 23:06:14 | [Mutex] isItemNotified: received:node:40f22b93-b85a-4be8-87dd-e92130803624:localhost:node-3cddc5e2-ae36-4786-8e17-597509e1662e:Node 3cddc5e2-ae36-4786-8e17-597509e1662e :: false

publishItemsToNodes 0.216s
2022-07-01 23:06:11 |

2022-07-01 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:11 | ------------------------------------

2022-07-01 23:06:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3cddc5e2-ae36-4786-8e17-597509e1662e</node><item-id>item-07bbdb5b-dc81-4b88-bb21-96cec43973ad</item-id><entry><test>item-07bbdb5b-dc81-4b88-bb21-96cec43973ad</test></entry></data>

2022-07-01 23:06:11 | 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-07bbdb5b-dc81-4b88-bb21-96cec43973ad</value></item-id></result>

2022-07-01 23:06:11 | [Mutex] waiting for: [published:item:notifieditem-07bbdb5b-dc81-4b88-bb21-96cec43973ad:admin@test-domain.com]

2022-07-01 23:06:11 | [Mutex] received everything.

2022-07-01 23:06:11 | [Mutex] isItemNotified: published:item:notifieditem-07bbdb5b-dc81-4b88-bb21-96cec43973ad:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2022-07-01 23:06:11 |

2022-07-01 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:11 | ------------------------------------

2022-07-01 23:06:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3cddc5e2-ae36-4786-8e17-597509e1662e</node><item-id>item-07bbdb5b-dc81-4b88-bb21-96cec43973ad</item-id></data>

2022-07-01 23:06:12 | 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-07bbdb5b-dc81-4b88-bb21-96cec43973ad</value></item-id></result>

2022-07-01 23:06:12 | [Mutex] received everything.

2022-07-01 23:06:12 | [Mutex] isItemNotified: retracted:item:notifieditem-07bbdb5b-dc81-4b88-bb21-96cec43973ad:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2022-07-01 23:06:11 |

2022-07-01 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:11 | ------------------------------------

2022-07-01 23:06:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3cddc5e2-ae36-4786-8e17-597509e1662e</node><item-id>item-07bbdb5b-dc81-4b88-bb21-96cec43973ad</item-id></data>

2022-07-01 23:06:11 | 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-3cddc5e2-ae36-4786-8e17-597509e1662e</value></node><item-id type="text-single" label="Item ID"><value>item-07bbdb5b-dc81-4b88-bb21-96cec43973ad</value></item-id><item type="text-multi" label="Item"><value><item id="item-07bbdb5b-dc81-4b88-bb21-96cec43973ad"><test>item-07bbdb5b-dc81-4b88-bb21-96cec43973ad</test></item></value></item></result>

2022-07-01 23:06:11 | [Mutex] notify: [retrieved:item:item-07bbdb5b-dc81-4b88-bb21-96cec43973ad:payload-matches:true:localhost]

2022-07-01 23:06:11 | [Mutex] received everything.

2022-07-01 23:06:11 | [Mutex] isItemNotified: retrieved:item:item-07bbdb5b-dc81-4b88-bb21-96cec43973ad:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-01 23:06:11 |

2022-07-01 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:11 | ------------------------------------

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

2022-07-01 23:06:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-3cddc5e2-ae36-4786-8e17-597509e1662e</value><value>node-83627021-19be-414d-8bfa-30e840003f51</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-01 23:06:11 |

2022-07-01 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:11 | ------------------------------------

2022-07-01 23:06:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3cddc5e2-ae36-4786-8e17-597509e1662e)</node-pattern></data>

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

subscribeNodes 1.147s
2022-07-01 23:06:10 |

2022-07-01 23:06:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:10 | ------------------------------------

2022-07-01 23:06:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3cddc5e2-ae36-4786-8e17-597509e1662e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.227s
2022-07-01 23:06:12 |

2022-07-01 23:06:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:06:12 | ------------------------------------

2022-07-01 23:06:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3cddc5e2-ae36-4786-8e17-597509e1662e</node><jids><value>admin@test-domain.com</value></jids></data>

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