Generated by TestNG with ReportNG at 22:46 PDT on Thursday 06 October 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.654s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-10-06 23:00:14 |

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

2022-10-06 23:00:14 | ------------------------------------

2022-10-06 23:00:14 | [Mutex] waiting for: [configured:node:node-ec376331-ea8f-4f93-b1bc-5528e75a06ef:node-ecff9150-0110-4748-b203-a2788c06bcd3]

2022-10-06 23:00:14 | [Mutex] received everything.

2022-10-06 23:00:14 | [Mutex] isItemNotified: configured:node:node-ec376331-ea8f-4f93-b1bc-5528e75a06ef:node-ecff9150-0110-4748-b203-a2788c06bcd3 :: true

2022-10-06 23:00:15 | [Mutex] waiting for: [received:nodes:fb7d9ee3-5a10-455e-963c-d80739926a24:localhost]

2022-10-06 23:00:15 | [Mutex] received everything.

2022-10-06 23:00:15 | [Mutex] isItemNotified: received:node:fb7d9ee3-5a10-455e-963c-d80739926a24:localhost:node-ec376331-ea8f-4f93-b1bc-5528e75a06ef:Node ec376331-ea8f-4f93-b1bc-5528e75a06ef :: true

2022-10-06 23:00:15 | [Mutex] waiting for: [received:nodes:1d5ea280-45f5-403f-9d26-d8ee11b5bd20:localhost]

2022-10-06 23:00:15 | [Mutex] waiting for: [received:nodes:1d5ea280-45f5-403f-9d26-d8ee11b5bd20:localhost]

2022-10-06 23:00:15 | [Mutex] received everything.

2022-10-06 23:00:15 | [Mutex] isItemNotified: received:node:1d5ea280-45f5-403f-9d26-d8ee11b5bd20:localhost:node-ec376331-ea8f-4f93-b1bc-5528e75a06ef:Node ec376331-ea8f-4f93-b1bc-5528e75a06ef :: false

createNodes 1.497s
2022-10-06 23:00:11 |

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

2022-10-06 23:00:11 | ------------------------------------

2022-10-06 23:00:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ec376331-ea8f-4f93-b1bc-5528e75a06ef</title></pubsub></data>

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

2022-10-06 23:00:13 | [Mutex] waiting for: [received:nodes:68753088-9548-452d-aabe-9c4a422d2e78:localhost]

2022-10-06 23:00:13 | [Mutex] waiting for: [received:nodes:68753088-9548-452d-aabe-9c4a422d2e78:localhost]

2022-10-06 23:00:13 | [Mutex] received everything.

2022-10-06 23:00:13 | [Mutex] isItemNotified: received:node:68753088-9548-452d-aabe-9c4a422d2e78:localhost:node-ec376331-ea8f-4f93-b1bc-5528e75a06ef:Node ec376331-ea8f-4f93-b1bc-5528e75a06ef :: true

createSubnodes 1.030s
2022-10-06 23:00:13 |

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

2022-10-06 23:00:13 | ------------------------------------

2022-10-06 23:00:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ecff9150-0110-4748-b203-a2788c06bcd3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ecff9150-0110-4748-b203-a2788c06bcd3</title></pubsub></data>

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

2022-10-06 23:00:14 | [Mutex] waiting for: [received:nodes:4e0ee82f-8819-4425-9b10-b5fb51eaeb79:localhost]

2022-10-06 23:00:14 | [Mutex] received everything.

2022-10-06 23:00:14 | [Mutex] isItemNotified: received:node:4e0ee82f-8819-4425-9b10-b5fb51eaeb79:localhost:node-ecff9150-0110-4748-b203-a2788c06bcd3:Node ecff9150-0110-4748-b203-a2788c06bcd3 :: true

deleteNodes 1.019s
2022-10-06 23:00:19 |

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

2022-10-06 23:00:19 | ------------------------------------

2022-10-06 23:00:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ecff9150-0110-4748-b203-a2788c06bcd3</node></data>

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

2022-10-06 23:00:20 | [Mutex] waiting for: [received:nodes:ee64ce35-219c-4741-b0cd-d26577c59a6f:localhost]

2022-10-06 23:00:20 | [Mutex] waiting for: [received:nodes:ee64ce35-219c-4741-b0cd-d26577c59a6f:localhost]

2022-10-06 23:00:20 | [Mutex] received everything.

2022-10-06 23:00:20 | [Mutex] isItemNotified: received:node:ee64ce35-219c-4741-b0cd-d26577c59a6f:localhost:node-ecff9150-0110-4748-b203-a2788c06bcd3:Node ecff9150-0110-4748-b203-a2788c06bcd3 :: false

deleteSubnodes 1.158s
2022-10-06 23:00:18 |

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

2022-10-06 23:00:18 | ------------------------------------

2022-10-06 23:00:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</node></data>

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

2022-10-06 23:00:19 | [Mutex] waiting for: [received:nodes:87ce758e-1cf2-4bc5-97dc-10a2cee7b3fa:localhost]

2022-10-06 23:00:19 | [Mutex] waiting for: [received:nodes:87ce758e-1cf2-4bc5-97dc-10a2cee7b3fa:localhost]

2022-10-06 23:00:19 | [Mutex] waiting for: [received:nodes:87ce758e-1cf2-4bc5-97dc-10a2cee7b3fa:localhost]

2022-10-06 23:00:19 | [Mutex] received everything.

2022-10-06 23:00:19 | [Mutex] isItemNotified: received:node:87ce758e-1cf2-4bc5-97dc-10a2cee7b3fa:localhost:node-ec376331-ea8f-4f93-b1bc-5528e75a06ef:Node ec376331-ea8f-4f93-b1bc-5528e75a06ef :: false

2022-10-06 23:00:19 | [Mutex] waiting for: [received:nodes:c3d8988d-97c4-40d5-aa7e-1ceb5561628a:localhost]

2022-10-06 23:00:19 | [Mutex] received everything.

2022-10-06 23:00:19 | [Mutex] isItemNotified: received:node:c3d8988d-97c4-40d5-aa7e-1ceb5561628a:localhost:node-ec376331-ea8f-4f93-b1bc-5528e75a06ef:Node ec376331-ea8f-4f93-b1bc-5528e75a06ef :: false

publishItemsToNodes 0.195s
2022-10-06 23:00:16 |

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

2022-10-06 23:00:16 | ------------------------------------

2022-10-06 23:00:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</node><item-id>item-2a9cabad-def9-4097-9f14-b80822838db6</item-id><entry><test>item-2a9cabad-def9-4097-9f14-b80822838db6</test></entry></data>

2022-10-06 23:00:16 | 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-2a9cabad-def9-4097-9f14-b80822838db6</value></item-id></result>

2022-10-06 23:00:16 | [Mutex] received everything.

2022-10-06 23:00:16 | [Mutex] isItemNotified: published:item:notifieditem-2a9cabad-def9-4097-9f14-b80822838db6:admin@test-domain.com :: true

retractItemsFromNodes 0.332s
2022-10-06 23:00:17 |

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

2022-10-06 23:00:17 | ------------------------------------

2022-10-06 23:00:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</node><item-id>item-2a9cabad-def9-4097-9f14-b80822838db6</item-id></data>

2022-10-06 23:00:17 | 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-2a9cabad-def9-4097-9f14-b80822838db6</value></item-id></result>

2022-10-06 23:00:17 | [Mutex] received everything.

2022-10-06 23:00:17 | [Mutex] isItemNotified: retracted:item:notifieditem-2a9cabad-def9-4097-9f14-b80822838db6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.235s
2022-10-06 23:00:16 |

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

2022-10-06 23:00:16 | ------------------------------------

2022-10-06 23:00:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</node><item-id>item-2a9cabad-def9-4097-9f14-b80822838db6</item-id></data>

2022-10-06 23:00:17 | 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-ec376331-ea8f-4f93-b1bc-5528e75a06ef</value></node><item-id label="Item ID" type="text-single"><value>item-2a9cabad-def9-4097-9f14-b80822838db6</value></item-id><item label="Item" type="text-multi"><value><item id="item-2a9cabad-def9-4097-9f14-b80822838db6"><test>item-2a9cabad-def9-4097-9f14-b80822838db6</test></item></value></item></result>

2022-10-06 23:00:17 | [Mutex] notify: [retrieved:item:item-2a9cabad-def9-4097-9f14-b80822838db6:payload-matches:true:localhost]

2022-10-06 23:00:17 | [Mutex] received everything.

2022-10-06 23:00:17 | [Mutex] isItemNotified: retrieved:item:item-2a9cabad-def9-4097-9f14-b80822838db6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-06 23:00:17 |

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

2022-10-06 23:00:17 | ------------------------------------

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

2022-10-06 23:00:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</value><value>test</value><value>node-ecff9150-0110-4748-b203-a2788c06bcd3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.066s
2022-10-06 23:00:17 |

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

2022-10-06 23:00:17 | ------------------------------------

2022-10-06 23:00:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ec376331-ea8f-4f93-b1bc-5528e75a06ef)</node-pattern></data>

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

subscribeNodes 1.155s
2022-10-06 23:00:15 |

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

2022-10-06 23:00:15 | ------------------------------------

2022-10-06 23:00:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.197s
2022-10-06 23:00:17 |

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

2022-10-06 23:00:17 | ------------------------------------

2022-10-06 23:00:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ec376331-ea8f-4f93-b1bc-5528e75a06ef</node><jids><value>admin@test-domain.com</value></jids></data>

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