Generated by TestNG with ReportNG at 08:07 PST on Friday 25 February 2022
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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.900s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2022-02-25 08:21:33 |

2022-02-25 08:21:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:33 | ------------------------------------

2022-02-25 08:21:33 | [Mutex] waiting for: [configured:node:node-583d24de-c27b-4d90-b9a4-5d8dd0406df3:node-963b17fd-c728-447e-a14b-f09caebaec58]

2022-02-25 08:21:33 | [Mutex] received everything.

2022-02-25 08:21:33 | [Mutex] isItemNotified: configured:node:node-583d24de-c27b-4d90-b9a4-5d8dd0406df3:node-963b17fd-c728-447e-a14b-f09caebaec58 :: true

2022-02-25 08:21:34 | [Mutex] waiting for: [received:nodes:5dc9edb8-4c78-4d0f-b814-704953dd5539:localhost]

2022-02-25 08:21:34 | [Mutex] waiting for: [received:nodes:5dc9edb8-4c78-4d0f-b814-704953dd5539:localhost]

2022-02-25 08:21:34 | [Mutex] received everything.

2022-02-25 08:21:34 | [Mutex] isItemNotified: received:node:5dc9edb8-4c78-4d0f-b814-704953dd5539:localhost:node-583d24de-c27b-4d90-b9a4-5d8dd0406df3:Node 583d24de-c27b-4d90-b9a4-5d8dd0406df3 :: true

2022-02-25 08:21:34 | [Mutex] waiting for: [received:nodes:c1baad75-4a8b-4fba-98a9-ca3d3d9c42f1:localhost]

2022-02-25 08:21:34 | [Mutex] waiting for: [received:nodes:c1baad75-4a8b-4fba-98a9-ca3d3d9c42f1:localhost]

2022-02-25 08:21:34 | [Mutex] received everything.

2022-02-25 08:21:34 | [Mutex] isItemNotified: received:node:c1baad75-4a8b-4fba-98a9-ca3d3d9c42f1:localhost:node-583d24de-c27b-4d90-b9a4-5d8dd0406df3:Node 583d24de-c27b-4d90-b9a4-5d8dd0406df3 :: false

createNodes 1.499s
2022-02-25 08:21:30 |

2022-02-25 08:21:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:30 | ------------------------------------

2022-02-25 08:21:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 583d24de-c27b-4d90-b9a4-5d8dd0406df3</title></pubsub></data>

2022-02-25 08:21:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-25 08:21:31 | [Mutex] waiting for: [received:nodes:31d3b81f-f61d-4ff0-905c-3307fb139733:localhost]

2022-02-25 08:21:31 | [Mutex] waiting for: [received:nodes:31d3b81f-f61d-4ff0-905c-3307fb139733:localhost]

2022-02-25 08:21:31 | [Mutex] received everything.

2022-02-25 08:21:31 | [Mutex] isItemNotified: received:node:31d3b81f-f61d-4ff0-905c-3307fb139733:localhost:node-583d24de-c27b-4d90-b9a4-5d8dd0406df3:Node 583d24de-c27b-4d90-b9a4-5d8dd0406df3 :: true

createSubnodes 1.027s
2022-02-25 08:21:31 |

2022-02-25 08:21:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:31 | ------------------------------------

2022-02-25 08:21:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-963b17fd-c728-447e-a14b-f09caebaec58</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 963b17fd-c728-447e-a14b-f09caebaec58</title></pubsub></data>

2022-02-25 08:21:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-25 08:21:33 | [Mutex] waiting for: [received:nodes:976e9b5c-2b94-4deb-b960-c246057960f9:localhost]

2022-02-25 08:21:33 | [Mutex] received everything.

2022-02-25 08:21:33 | [Mutex] isItemNotified: received:node:976e9b5c-2b94-4deb-b960-c246057960f9:localhost:node-963b17fd-c728-447e-a14b-f09caebaec58:Node 963b17fd-c728-447e-a14b-f09caebaec58 :: true

deleteNodes 1.019s
2022-02-25 08:21:38 |

2022-02-25 08:21:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:38 | ------------------------------------

2022-02-25 08:21:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-963b17fd-c728-447e-a14b-f09caebaec58</node></data>

2022-02-25 08:21:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-25 08:21:39 | [Mutex] waiting for: [received:nodes:22d9e0ee-68ad-4477-9e53-4265db478743:localhost]

2022-02-25 08:21:39 | [Mutex] received everything.

2022-02-25 08:21:39 | [Mutex] isItemNotified: received:node:22d9e0ee-68ad-4477-9e53-4265db478743:localhost:node-963b17fd-c728-447e-a14b-f09caebaec58:Node 963b17fd-c728-447e-a14b-f09caebaec58 :: false

deleteSubnodes 1.166s
2022-02-25 08:21:37 |

2022-02-25 08:21:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:37 | ------------------------------------

2022-02-25 08:21:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</node></data>

2022-02-25 08:21:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-25 08:21:38 | [Mutex] waiting for: [received:nodes:6025f096-f94a-407c-aaac-f1ce5349fa14:localhost]

2022-02-25 08:21:38 | [Mutex] received everything.

2022-02-25 08:21:38 | [Mutex] isItemNotified: received:node:6025f096-f94a-407c-aaac-f1ce5349fa14:localhost:node-583d24de-c27b-4d90-b9a4-5d8dd0406df3:Node 583d24de-c27b-4d90-b9a4-5d8dd0406df3 :: false

2022-02-25 08:21:38 | [Mutex] waiting for: [received:nodes:2530838a-5858-4562-9aab-97ad7e18b7e4:localhost]

2022-02-25 08:21:38 | [Mutex] received everything.

2022-02-25 08:21:38 | [Mutex] isItemNotified: received:node:2530838a-5858-4562-9aab-97ad7e18b7e4:localhost:node-583d24de-c27b-4d90-b9a4-5d8dd0406df3:Node 583d24de-c27b-4d90-b9a4-5d8dd0406df3 :: false

publishItemsToNodes 0.277s
2022-02-25 08:21:35 |

2022-02-25 08:21:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:35 | ------------------------------------

2022-02-25 08:21:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</node><item-id>item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</item-id><entry><test>item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</test></entry></data>

2022-02-25 08:21:35 | 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-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</value></item-id></result>

2022-02-25 08:21:35 | [Mutex] waiting for: [published:item:notifieditem-00bcfc36-1cff-4724-a5e9-2fa2c8279b36:admin@test-domain.com]

2022-02-25 08:21:35 | [Mutex] received everything.

2022-02-25 08:21:35 | [Mutex] isItemNotified: published:item:notifieditem-00bcfc36-1cff-4724-a5e9-2fa2c8279b36:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2022-02-25 08:21:35 |

2022-02-25 08:21:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:35 | ------------------------------------

2022-02-25 08:21:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</node><item-id>item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</item-id></data>

2022-02-25 08:21:36 | 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-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</value></item-id></result>

2022-02-25 08:21:36 | [Mutex] received everything.

2022-02-25 08:21:36 | [Mutex] isItemNotified: retracted:item:notifieditem-00bcfc36-1cff-4724-a5e9-2fa2c8279b36:admin@test-domain.com :: true

retrieveItemsFromNodes 0.238s
2022-02-25 08:21:35 |

2022-02-25 08:21:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:35 | ------------------------------------

2022-02-25 08:21:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</node><item-id>item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</item-id></data>

2022-02-25 08:21:35 | 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-583d24de-c27b-4d90-b9a4-5d8dd0406df3</value></node><item-id label="Item ID" type="text-single"><value>item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</value></item-id><item label="Item" type="text-multi"><value><item id="item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36"><test>item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36</test></item></value></item></result>

2022-02-25 08:21:35 | [Mutex] notify: [retrieved:item:item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36:payload-matches:true:localhost]

2022-02-25 08:21:35 | [Mutex] received everything.

2022-02-25 08:21:35 | [Mutex] isItemNotified: retrieved:item:item-00bcfc36-1cff-4724-a5e9-2fa2c8279b36:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-02-25 08:21:35 |

2022-02-25 08:21:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:35 | ------------------------------------

2022-02-25 08:21:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-25 08:21:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</value><value>test</value><value>node-963b17fd-c728-447e-a14b-f09caebaec58</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-25 08:21:35 |

2022-02-25 08:21:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:35 | ------------------------------------

2022-02-25 08:21:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-583d24de-c27b-4d90-b9a4-5d8dd0406df3)</node-pattern></data>

2022-02-25 08:21:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.127s
2022-02-25 08:21:34 |

2022-02-25 08:21:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:34 | ------------------------------------

2022-02-25 08:21:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-25 08:21:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2022-02-25 08:21:36 |

2022-02-25 08:21:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 08:21:36 | ------------------------------------

2022-02-25 08:21:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-583d24de-c27b-4d90-b9a4-5d8dd0406df3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-25 08:21:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>