Generated by TestNG with ReportNG at 22:50 PDT on Wednesday 27 April 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.821s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-04-27 23:05:53 |

2022-04-27 23:05:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:53 | ------------------------------------

2022-04-27 23:05:53 | [Mutex] waiting for: [configured:node:node-1f847205-e0df-42ba-9b4d-68fb9b64353c:node-835a50fd-1c78-4f10-a3f0-c9a237e3088c]

2022-04-27 23:05:53 | [Mutex] received everything.

2022-04-27 23:05:53 | [Mutex] isItemNotified: configured:node:node-1f847205-e0df-42ba-9b4d-68fb9b64353c:node-835a50fd-1c78-4f10-a3f0-c9a237e3088c :: true

2022-04-27 23:05:54 | [Mutex] waiting for: [received:nodes:9b6f7346-1cda-4114-b950-5a8cecb9096e:localhost]

2022-04-27 23:05:54 | [Mutex] received everything.

2022-04-27 23:05:54 | [Mutex] isItemNotified: received:node:9b6f7346-1cda-4114-b950-5a8cecb9096e:localhost:node-1f847205-e0df-42ba-9b4d-68fb9b64353c:Node 1f847205-e0df-42ba-9b4d-68fb9b64353c :: true

2022-04-27 23:05:54 | [Mutex] waiting for: [received:nodes:8e9334de-f3de-4f90-825e-f1f53ac911cc:localhost]

2022-04-27 23:05:54 | [Mutex] received everything.

2022-04-27 23:05:54 | [Mutex] isItemNotified: received:node:8e9334de-f3de-4f90-825e-f1f53ac911cc:localhost:node-1f847205-e0df-42ba-9b4d-68fb9b64353c:Node 1f847205-e0df-42ba-9b4d-68fb9b64353c :: false

createNodes 1.519s
2022-04-27 23:05:50 |

2022-04-27 23:05:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:50 | ------------------------------------

2022-04-27 23:05:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1f847205-e0df-42ba-9b4d-68fb9b64353c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1f847205-e0df-42ba-9b4d-68fb9b64353c</title></pubsub></data>

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

2022-04-27 23:05:52 | [Mutex] waiting for: [received:nodes:d6649dcf-7213-482e-9bec-6c12395ef327:localhost]

2022-04-27 23:05:52 | [Mutex] received everything.

2022-04-27 23:05:52 | [Mutex] isItemNotified: received:node:d6649dcf-7213-482e-9bec-6c12395ef327:localhost:node-1f847205-e0df-42ba-9b4d-68fb9b64353c:Node 1f847205-e0df-42ba-9b4d-68fb9b64353c :: true

createSubnodes 1.042s
2022-04-27 23:05:52 |

2022-04-27 23:05:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:52 | ------------------------------------

2022-04-27 23:05:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-835a50fd-1c78-4f10-a3f0-c9a237e3088c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 835a50fd-1c78-4f10-a3f0-c9a237e3088c</title></pubsub></data>

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

2022-04-27 23:05:53 | [Mutex] waiting for: [received:nodes:20958e63-a69a-4623-a0a8-583831206b18:localhost]

2022-04-27 23:05:53 | [Mutex] received everything.

2022-04-27 23:05:53 | [Mutex] isItemNotified: received:node:20958e63-a69a-4623-a0a8-583831206b18:localhost:node-835a50fd-1c78-4f10-a3f0-c9a237e3088c:Node 835a50fd-1c78-4f10-a3f0-c9a237e3088c :: true

deleteNodes 1.020s
2022-04-27 23:05:58 |

2022-04-27 23:05:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:58 | ------------------------------------

2022-04-27 23:05:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-835a50fd-1c78-4f10-a3f0-c9a237e3088c</node></data>

2022-04-27 23:05:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-27 23:05:59 | [Mutex] waiting for: [received:nodes:e8666ce2-73d3-41af-b3a3-afebd57905c3:localhost]

2022-04-27 23:05:59 | [Mutex] waiting for: [received:nodes:e8666ce2-73d3-41af-b3a3-afebd57905c3:localhost]

2022-04-27 23:05:59 | [Mutex] received everything.

2022-04-27 23:05:59 | [Mutex] isItemNotified: received:node:e8666ce2-73d3-41af-b3a3-afebd57905c3:localhost:node-835a50fd-1c78-4f10-a3f0-c9a237e3088c:Node 835a50fd-1c78-4f10-a3f0-c9a237e3088c :: false

deleteSubnodes 1.145s
2022-04-27 23:05:57 |

2022-04-27 23:05:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:57 | ------------------------------------

2022-04-27 23:05:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1f847205-e0df-42ba-9b4d-68fb9b64353c</node></data>

2022-04-27 23:05:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-27 23:05:58 | [Mutex] waiting for: [received:nodes:61d0ee1b-3ebd-432a-b488-b7de3fd188e0:localhost]

2022-04-27 23:05:58 | [Mutex] received everything.

2022-04-27 23:05:58 | [Mutex] isItemNotified: received:node:61d0ee1b-3ebd-432a-b488-b7de3fd188e0:localhost:node-1f847205-e0df-42ba-9b4d-68fb9b64353c:Node 1f847205-e0df-42ba-9b4d-68fb9b64353c :: false

2022-04-27 23:05:58 | [Mutex] waiting for: [received:nodes:5064843e-6cbc-453e-b455-bb76b9617447:localhost]

2022-04-27 23:05:58 | [Mutex] received everything.

2022-04-27 23:05:58 | [Mutex] isItemNotified: received:node:5064843e-6cbc-453e-b455-bb76b9617447:localhost:node-1f847205-e0df-42ba-9b4d-68fb9b64353c:Node 1f847205-e0df-42ba-9b4d-68fb9b64353c :: false

publishItemsToNodes 0.211s
2022-04-27 23:05:55 |

2022-04-27 23:05:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:55 | ------------------------------------

2022-04-27 23:05:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1f847205-e0df-42ba-9b4d-68fb9b64353c</node><item-id>item-4e364073-9a4a-4acc-9d33-bf7e864e454c</item-id><entry><test>item-4e364073-9a4a-4acc-9d33-bf7e864e454c</test></entry></data>

2022-04-27 23:05:55 | 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-4e364073-9a4a-4acc-9d33-bf7e864e454c</value></item-id></result>

2022-04-27 23:05:55 | [Mutex] waiting for: [published:item:notifieditem-4e364073-9a4a-4acc-9d33-bf7e864e454c:admin@test-domain.com]

2022-04-27 23:05:55 | [Mutex] received everything.

2022-04-27 23:05:55 | [Mutex] isItemNotified: published:item:notifieditem-4e364073-9a4a-4acc-9d33-bf7e864e454c:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-04-27 23:05:55 |

2022-04-27 23:05:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:55 | ------------------------------------

2022-04-27 23:05:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1f847205-e0df-42ba-9b4d-68fb9b64353c</node><item-id>item-4e364073-9a4a-4acc-9d33-bf7e864e454c</item-id></data>

2022-04-27 23:05:56 | 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-4e364073-9a4a-4acc-9d33-bf7e864e454c</value></item-id></result>

2022-04-27 23:05:56 | [Mutex] received everything.

2022-04-27 23:05:56 | [Mutex] isItemNotified: retracted:item:notifieditem-4e364073-9a4a-4acc-9d33-bf7e864e454c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2022-04-27 23:05:55 |

2022-04-27 23:05:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:55 | ------------------------------------

2022-04-27 23:05:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1f847205-e0df-42ba-9b4d-68fb9b64353c</node><item-id>item-4e364073-9a4a-4acc-9d33-bf7e864e454c</item-id></data>

2022-04-27 23:05:55 | 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-1f847205-e0df-42ba-9b4d-68fb9b64353c</value></node><item-id label="Item ID" type="text-single"><value>item-4e364073-9a4a-4acc-9d33-bf7e864e454c</value></item-id><item label="Item" type="text-multi"><value><item id="item-4e364073-9a4a-4acc-9d33-bf7e864e454c"><test>item-4e364073-9a4a-4acc-9d33-bf7e864e454c</test></item></value></item></result>

2022-04-27 23:05:55 | [Mutex] notify: [retrieved:item:item-4e364073-9a4a-4acc-9d33-bf7e864e454c:payload-matches:true:localhost]

2022-04-27 23:05:55 | [Mutex] received everything.

2022-04-27 23:05:55 | [Mutex] isItemNotified: retrieved:item:item-4e364073-9a4a-4acc-9d33-bf7e864e454c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-04-27 23:05:55 |

2022-04-27 23:05:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:55 | ------------------------------------

2022-04-27 23:05:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-04-27 23:05:55 | 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-1f847205-e0df-42ba-9b4d-68fb9b64353c</value><value>node-835a50fd-1c78-4f10-a3f0-c9a237e3088c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-04-27 23:05:55 |

2022-04-27 23:05:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:55 | ------------------------------------

2022-04-27 23:05: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-1f847205-e0df-42ba-9b4d-68fb9b64353c)</node-pattern></data>

2022-04-27 23:05:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.117s
2022-04-27 23:05:54 |

2022-04-27 23:05:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:54 | ------------------------------------

2022-04-27 23:05:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1f847205-e0df-42ba-9b4d-68fb9b64353c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-27 23:05:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2022-04-27 23:05:56 |

2022-04-27 23:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 23:05:56 | ------------------------------------

2022-04-27 23:05:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1f847205-e0df-42ba-9b4d-68fb9b64353c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-27 23:05:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>