Generated by TestNG with ReportNG at 22:21 PDT on Tuesday 14 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.615s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-06-14 22:35:43 |

2022-06-14 22:35:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:43 | ------------------------------------

2022-06-14 22:35:43 | [Mutex] waiting for: [configured:node:node-db657244-ab0c-44b1-93c8-5ccccb5c376b:node-745e7c69-dcf5-408b-942c-551f3a7b6669]

2022-06-14 22:35:43 | [Mutex] received everything.

2022-06-14 22:35:43 | [Mutex] isItemNotified: configured:node:node-db657244-ab0c-44b1-93c8-5ccccb5c376b:node-745e7c69-dcf5-408b-942c-551f3a7b6669 :: true

2022-06-14 22:35:44 | [Mutex] waiting for: [received:nodes:a0d831b3-e213-412f-9ae2-6064d318ae99:localhost]

2022-06-14 22:35:44 | [Mutex] received everything.

2022-06-14 22:35:44 | [Mutex] isItemNotified: received:node:a0d831b3-e213-412f-9ae2-6064d318ae99:localhost:node-db657244-ab0c-44b1-93c8-5ccccb5c376b:Node db657244-ab0c-44b1-93c8-5ccccb5c376b :: true

2022-06-14 22:35:44 | [Mutex] waiting for: [received:nodes:ecf40e52-be07-48a3-97f1-bde7e7ffb590:localhost]

2022-06-14 22:35:44 | [Mutex] waiting for: [received:nodes:ecf40e52-be07-48a3-97f1-bde7e7ffb590:localhost]

2022-06-14 22:35:44 | [Mutex] received everything.

2022-06-14 22:35:44 | [Mutex] isItemNotified: received:node:ecf40e52-be07-48a3-97f1-bde7e7ffb590:localhost:node-db657244-ab0c-44b1-93c8-5ccccb5c376b:Node db657244-ab0c-44b1-93c8-5ccccb5c376b :: false

createNodes 1.510s
2022-06-14 22:35:40 |

2022-06-14 22:35:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:40 | ------------------------------------

2022-06-14 22:35:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node db657244-ab0c-44b1-93c8-5ccccb5c376b</title></pubsub></data>

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

2022-06-14 22:35:42 | [Mutex] waiting for: [received:nodes:ab221efa-e9ed-42ba-bb60-4898513163a3:localhost]

2022-06-14 22:35:42 | [Mutex] waiting for: [received:nodes:ab221efa-e9ed-42ba-bb60-4898513163a3:localhost]

2022-06-14 22:35:42 | [Mutex] received everything.

2022-06-14 22:35:42 | [Mutex] isItemNotified: received:node:ab221efa-e9ed-42ba-bb60-4898513163a3:localhost:node-db657244-ab0c-44b1-93c8-5ccccb5c376b:Node db657244-ab0c-44b1-93c8-5ccccb5c376b :: true

createSubnodes 1.038s
2022-06-14 22:35:42 |

2022-06-14 22:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:42 | ------------------------------------

2022-06-14 22:35:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-745e7c69-dcf5-408b-942c-551f3a7b6669</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 745e7c69-dcf5-408b-942c-551f3a7b6669</title></pubsub></data>

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

2022-06-14 22:35:43 | [Mutex] waiting for: [received:nodes:bb352613-9c96-4d68-bdca-b25e658877a6:localhost]

2022-06-14 22:35:43 | [Mutex] waiting for: [received:nodes:bb352613-9c96-4d68-bdca-b25e658877a6:localhost]

2022-06-14 22:35:43 | [Mutex] received everything.

2022-06-14 22:35:43 | [Mutex] isItemNotified: received:node:bb352613-9c96-4d68-bdca-b25e658877a6:localhost:node-745e7c69-dcf5-408b-942c-551f3a7b6669:Node 745e7c69-dcf5-408b-942c-551f3a7b6669 :: true

deleteNodes 1.025s
2022-06-14 22:35:48 |

2022-06-14 22:35:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:48 | ------------------------------------

2022-06-14 22:35:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-745e7c69-dcf5-408b-942c-551f3a7b6669</node></data>

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

2022-06-14 22:35:49 | [Mutex] waiting for: [received:nodes:3fc9322c-3330-4816-937b-6d94537dddb8:localhost]

2022-06-14 22:35:49 | [Mutex] waiting for: [received:nodes:3fc9322c-3330-4816-937b-6d94537dddb8:localhost]

2022-06-14 22:35:49 | [Mutex] received everything.

2022-06-14 22:35:49 | [Mutex] isItemNotified: received:node:3fc9322c-3330-4816-937b-6d94537dddb8:localhost:node-745e7c69-dcf5-408b-942c-551f3a7b6669:Node 745e7c69-dcf5-408b-942c-551f3a7b6669 :: false

deleteSubnodes 1.138s
2022-06-14 22:35:47 |

2022-06-14 22:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:47 | ------------------------------------

2022-06-14 22:35:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</node></data>

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

2022-06-14 22:35:48 | [Mutex] waiting for: [received:nodes:48ce2c1b-9821-4e00-90aa-31962875725f:localhost]

2022-06-14 22:35:48 | [Mutex] waiting for: [received:nodes:48ce2c1b-9821-4e00-90aa-31962875725f:localhost]

2022-06-14 22:35:48 | [Mutex] received everything.

2022-06-14 22:35:48 | [Mutex] isItemNotified: received:node:48ce2c1b-9821-4e00-90aa-31962875725f:localhost:node-db657244-ab0c-44b1-93c8-5ccccb5c376b:Node db657244-ab0c-44b1-93c8-5ccccb5c376b :: false

2022-06-14 22:35:48 | [Mutex] waiting for: [received:nodes:fb894dc3-4bdb-44ef-b28a-0a9ce5e92332:localhost]

2022-06-14 22:35:48 | [Mutex] received everything.

2022-06-14 22:35:48 | [Mutex] isItemNotified: received:node:fb894dc3-4bdb-44ef-b28a-0a9ce5e92332:localhost:node-db657244-ab0c-44b1-93c8-5ccccb5c376b:Node db657244-ab0c-44b1-93c8-5ccccb5c376b :: false

publishItemsToNodes 0.223s
2022-06-14 22:35:45 |

2022-06-14 22:35:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:45 | ------------------------------------

2022-06-14 22:35:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</node><item-id>item-2b714253-3728-42c9-b9d1-9a11faec6722</item-id><entry><test>item-2b714253-3728-42c9-b9d1-9a11faec6722</test></entry></data>

2022-06-14 22:35:45 | 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-2b714253-3728-42c9-b9d1-9a11faec6722</value></item-id></result>

2022-06-14 22:35:45 | [Mutex] waiting for: [published:item:notifieditem-2b714253-3728-42c9-b9d1-9a11faec6722:admin@test-domain.com]

2022-06-14 22:35:45 | [Mutex] received everything.

2022-06-14 22:35:45 | [Mutex] isItemNotified: published:item:notifieditem-2b714253-3728-42c9-b9d1-9a11faec6722:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-06-14 22:35:46 |

2022-06-14 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:46 | ------------------------------------

2022-06-14 22:35:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</node><item-id>item-2b714253-3728-42c9-b9d1-9a11faec6722</item-id></data>

2022-06-14 22:35:46 | 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-2b714253-3728-42c9-b9d1-9a11faec6722</value></item-id></result>

2022-06-14 22:35:46 | [Mutex] waiting for: [retracted:item:notifieditem-2b714253-3728-42c9-b9d1-9a11faec6722:admin@test-domain.com]

2022-06-14 22:35:46 | [Mutex] received everything.

2022-06-14 22:35:46 | [Mutex] isItemNotified: retracted:item:notifieditem-2b714253-3728-42c9-b9d1-9a11faec6722:admin@test-domain.com :: true

retrieveItemsFromNodes 0.218s
2022-06-14 22:35:45 |

2022-06-14 22:35:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:45 | ------------------------------------

2022-06-14 22:35:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</node><item-id>item-2b714253-3728-42c9-b9d1-9a11faec6722</item-id></data>

2022-06-14 22:35:46 | 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-db657244-ab0c-44b1-93c8-5ccccb5c376b</value></node><item-id type="text-single" label="Item ID"><value>item-2b714253-3728-42c9-b9d1-9a11faec6722</value></item-id><item type="text-multi" label="Item"><value><item id="item-2b714253-3728-42c9-b9d1-9a11faec6722"><test>item-2b714253-3728-42c9-b9d1-9a11faec6722</test></item></value></item></result>

2022-06-14 22:35:46 | [Mutex] notify: [retrieved:item:item-2b714253-3728-42c9-b9d1-9a11faec6722:payload-matches:true:localhost]

2022-06-14 22:35:46 | [Mutex] received everything.

2022-06-14 22:35:46 | [Mutex] isItemNotified: retrieved:item:item-2b714253-3728-42c9-b9d1-9a11faec6722:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-14 22:35:46 |

2022-06-14 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:46 | ------------------------------------

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

2022-06-14 22:35:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</value><value>node-745e7c69-dcf5-408b-942c-551f3a7b6669</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-14 22:35:46 |

2022-06-14 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:46 | ------------------------------------

2022-06-14 22:35:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-db657244-ab0c-44b1-93c8-5ccccb5c376b)</node-pattern></data>

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

subscribeNodes 1.150s
2022-06-14 22:35:44 |

2022-06-14 22:35:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:44 | ------------------------------------

2022-06-14 22:35:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.247s
2022-06-14 22:35:46 |

2022-06-14 22:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:35:46 | ------------------------------------

2022-06-14 22:35:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-db657244-ab0c-44b1-93c8-5ccccb5c376b</node><jids><value>admin@test-domain.com</value></jids></data>

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