Generated by TestNG with ReportNG at 22:53 PDT on Sunday 22 May 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.575s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-05-22 23:08:12 |

2022-05-22 23:08:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:12 | ------------------------------------

2022-05-22 23:08:12 | [Mutex] waiting for: [configured:node:node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f:node-50f661c3-2b58-4088-9d59-9cd78ba1400a]

2022-05-22 23:08:12 | [Mutex] received everything.

2022-05-22 23:08:12 | [Mutex] isItemNotified: configured:node:node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f:node-50f661c3-2b58-4088-9d59-9cd78ba1400a :: true

2022-05-22 23:08:13 | [Mutex] waiting for: [received:nodes:17b0c77b-d454-48be-9d13-dc486e0bbd6e:localhost]

2022-05-22 23:08:13 | [Mutex] received everything.

2022-05-22 23:08:13 | [Mutex] isItemNotified: received:node:17b0c77b-d454-48be-9d13-dc486e0bbd6e:localhost:node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f:Node 9e0a3221-ee5f-46b8-9268-8a4f539b2b2f :: true

2022-05-22 23:08:13 | [Mutex] waiting for: [received:nodes:f3e348e1-40c4-4e8c-a55e-8fe27a9f6833:localhost]

2022-05-22 23:08:13 | [Mutex] received everything.

2022-05-22 23:08:13 | [Mutex] isItemNotified: received:node:f3e348e1-40c4-4e8c-a55e-8fe27a9f6833:localhost:node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f:Node 9e0a3221-ee5f-46b8-9268-8a4f539b2b2f :: false

createNodes 1.425s
2022-05-22 23:08:10 |

2022-05-22 23:08:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:10 | ------------------------------------

2022-05-22 23:08:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</title></pubsub></data>

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

2022-05-22 23:08:11 | [Mutex] waiting for: [received:nodes:a6a4273a-8402-4897-ba5b-298730091e49:localhost]

2022-05-22 23:08:11 | [Mutex] waiting for: [received:nodes:a6a4273a-8402-4897-ba5b-298730091e49:localhost]

2022-05-22 23:08:11 | [Mutex] received everything.

2022-05-22 23:08:11 | [Mutex] isItemNotified: received:node:a6a4273a-8402-4897-ba5b-298730091e49:localhost:node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f:Node 9e0a3221-ee5f-46b8-9268-8a4f539b2b2f :: true

createSubnodes 1.030s
2022-05-22 23:08:11 |

2022-05-22 23:08:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:11 | ------------------------------------

2022-05-22 23:08:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-50f661c3-2b58-4088-9d59-9cd78ba1400a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 50f661c3-2b58-4088-9d59-9cd78ba1400a</title></pubsub></data>

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

2022-05-22 23:08:12 | [Mutex] waiting for: [received:nodes:8e650b68-7814-4ca2-9919-fa7f0df7cbb9:localhost]

2022-05-22 23:08:12 | [Mutex] received everything.

2022-05-22 23:08:12 | [Mutex] isItemNotified: received:node:8e650b68-7814-4ca2-9919-fa7f0df7cbb9:localhost:node-50f661c3-2b58-4088-9d59-9cd78ba1400a:Node 50f661c3-2b58-4088-9d59-9cd78ba1400a :: true

deleteNodes 1.023s
2022-05-22 23:08:18 |

2022-05-22 23:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:18 | ------------------------------------

2022-05-22 23:08:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-50f661c3-2b58-4088-9d59-9cd78ba1400a</node></data>

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

2022-05-22 23:08:19 | [Mutex] waiting for: [received:nodes:130338bf-af2d-417d-9b1f-547184616fd6:localhost]

2022-05-22 23:08:19 | [Mutex] received everything.

2022-05-22 23:08:19 | [Mutex] isItemNotified: received:node:130338bf-af2d-417d-9b1f-547184616fd6:localhost:node-50f661c3-2b58-4088-9d59-9cd78ba1400a:Node 50f661c3-2b58-4088-9d59-9cd78ba1400a :: false

deleteSubnodes 1.139s
2022-05-22 23:08:16 |

2022-05-22 23:08:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:16 | ------------------------------------

2022-05-22 23:08:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</node></data>

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

2022-05-22 23:08:18 | [Mutex] waiting for: [received:nodes:200a5f1f-347d-46ae-b7d8-e7ff5734749e:localhost]

2022-05-22 23:08:18 | [Mutex] received everything.

2022-05-22 23:08:18 | [Mutex] isItemNotified: received:node:200a5f1f-347d-46ae-b7d8-e7ff5734749e:localhost:node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f:Node 9e0a3221-ee5f-46b8-9268-8a4f539b2b2f :: false

2022-05-22 23:08:18 | [Mutex] waiting for: [received:nodes:2e9ec5f4-83b5-4a51-b0a8-9561055d7c4c:localhost]

2022-05-22 23:08:18 | [Mutex] received everything.

2022-05-22 23:08:18 | [Mutex] isItemNotified: received:node:2e9ec5f4-83b5-4a51-b0a8-9561055d7c4c:localhost:node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f:Node 9e0a3221-ee5f-46b8-9268-8a4f539b2b2f :: false

publishItemsToNodes 0.245s
2022-05-22 23:08:14 |

2022-05-22 23:08:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:14 | ------------------------------------

2022-05-22 23:08:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</node><item-id>item-943ac54a-5f30-4217-94d5-2efa6bf6eb55</item-id><entry><test>item-943ac54a-5f30-4217-94d5-2efa6bf6eb55</test></entry></data>

2022-05-22 23:08:15 | 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-943ac54a-5f30-4217-94d5-2efa6bf6eb55</value></item-id></result>

2022-05-22 23:08:15 | [Mutex] received everything.

2022-05-22 23:08:15 | [Mutex] isItemNotified: published:item:notifieditem-943ac54a-5f30-4217-94d5-2efa6bf6eb55:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-05-22 23:08:15 |

2022-05-22 23:08:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:15 | ------------------------------------

2022-05-22 23:08:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</node><item-id>item-943ac54a-5f30-4217-94d5-2efa6bf6eb55</item-id></data>

2022-05-22 23:08:15 | 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-943ac54a-5f30-4217-94d5-2efa6bf6eb55</value></item-id></result>

2022-05-22 23:08:15 | [Mutex] received everything.

2022-05-22 23:08:15 | [Mutex] isItemNotified: retracted:item:notifieditem-943ac54a-5f30-4217-94d5-2efa6bf6eb55:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2022-05-22 23:08:15 |

2022-05-22 23:08:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:15 | ------------------------------------

2022-05-22 23:08:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</node><item-id>item-943ac54a-5f30-4217-94d5-2efa6bf6eb55</item-id></data>

2022-05-22 23:08:15 | 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-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</value></node><item-id label="Item ID" type="text-single"><value>item-943ac54a-5f30-4217-94d5-2efa6bf6eb55</value></item-id><item label="Item" type="text-multi"><value><item id="item-943ac54a-5f30-4217-94d5-2efa6bf6eb55"><test>item-943ac54a-5f30-4217-94d5-2efa6bf6eb55</test></item></value></item></result>

2022-05-22 23:08:15 | [Mutex] notify: [retrieved:item:item-943ac54a-5f30-4217-94d5-2efa6bf6eb55:payload-matches:true:localhost]

2022-05-22 23:08:15 | [Mutex] received everything.

2022-05-22 23:08:15 | [Mutex] isItemNotified: retrieved:item:item-943ac54a-5f30-4217-94d5-2efa6bf6eb55:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-22 23:08:15 |

2022-05-22 23:08:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:15 | ------------------------------------

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

2022-05-22 23:08:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</value><value>test</value><value>node-50f661c3-2b58-4088-9d59-9cd78ba1400a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-22 23:08:15 |

2022-05-22 23:08:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:15 | ------------------------------------

2022-05-22 23:08:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f)</node-pattern></data>

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

subscribeNodes 1.173s
2022-05-22 23:08:13 |

2022-05-22 23:08:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:13 | ------------------------------------

2022-05-22 23:08:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2022-05-22 23:08:15 |

2022-05-22 23:08:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-22 23:08:15 | ------------------------------------

2022-05-22 23:08:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9e0a3221-ee5f-46b8-9268-8a4f539b2b2f</node><jids><value>admin@test-domain.com</value></jids></data>

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