Generated by TestNG with ReportNG at 22:19 PDT on Thursday 18 August 2022
root@f9c07ffec79b / 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.699s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-08-18 22:34:14 |

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

2022-08-18 22:34:14 | ------------------------------------

2022-08-18 22:34:14 | [Mutex] waiting for: [configured:node:node-9b19fa26-8016-424e-a822-33ee97197c66:node-5c16c6d7-05c7-4715-87ec-ced6d609536e]

2022-08-18 22:34:15 | [Mutex] received everything.

2022-08-18 22:34:15 | [Mutex] isItemNotified: configured:node:node-9b19fa26-8016-424e-a822-33ee97197c66:node-5c16c6d7-05c7-4715-87ec-ced6d609536e :: true

2022-08-18 22:34:16 | [Mutex] waiting for: [received:nodes:ab06d548-d533-4c2e-bd2f-5ff233f7cbe4:localhost]

2022-08-18 22:34:16 | [Mutex] received everything.

2022-08-18 22:34:16 | [Mutex] isItemNotified: received:node:ab06d548-d533-4c2e-bd2f-5ff233f7cbe4:localhost:node-9b19fa26-8016-424e-a822-33ee97197c66:Node 9b19fa26-8016-424e-a822-33ee97197c66 :: true

2022-08-18 22:34:16 | [Mutex] waiting for: [received:nodes:2b9ea444-9f28-4159-a8ef-2d8674ff6f6d:localhost]

2022-08-18 22:34:16 | [Mutex] waiting for: [received:nodes:2b9ea444-9f28-4159-a8ef-2d8674ff6f6d:localhost]

2022-08-18 22:34:16 | [Mutex] waiting for: [received:nodes:2b9ea444-9f28-4159-a8ef-2d8674ff6f6d:localhost]

2022-08-18 22:34:16 | [Mutex] received everything.

2022-08-18 22:34:16 | [Mutex] isItemNotified: received:node:2b9ea444-9f28-4159-a8ef-2d8674ff6f6d:localhost:node-9b19fa26-8016-424e-a822-33ee97197c66:Node 9b19fa26-8016-424e-a822-33ee97197c66 :: false

createNodes 1.473s
2022-08-18 22:34:12 |

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

2022-08-18 22:34:12 | ------------------------------------

2022-08-18 22:34:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9b19fa26-8016-424e-a822-33ee97197c66</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9b19fa26-8016-424e-a822-33ee97197c66</title></pubsub></data>

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

2022-08-18 22:34:13 | [Mutex] waiting for: [received:nodes:1685a841-e49a-4d76-bbd6-2aeae7ff9822:localhost]

2022-08-18 22:34:13 | [Mutex] received everything.

2022-08-18 22:34:13 | [Mutex] isItemNotified: received:node:1685a841-e49a-4d76-bbd6-2aeae7ff9822:localhost:node-9b19fa26-8016-424e-a822-33ee97197c66:Node 9b19fa26-8016-424e-a822-33ee97197c66 :: true

createSubnodes 1.024s
2022-08-18 22:34:13 |

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

2022-08-18 22:34:13 | ------------------------------------

2022-08-18 22:34:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5c16c6d7-05c7-4715-87ec-ced6d609536e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5c16c6d7-05c7-4715-87ec-ced6d609536e</title></pubsub></data>

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

2022-08-18 22:34:14 | [Mutex] waiting for: [received:nodes:8fe62b30-49cc-4324-8ee3-ac097f6becba:localhost]

2022-08-18 22:34:14 | [Mutex] received everything.

2022-08-18 22:34:14 | [Mutex] isItemNotified: received:node:8fe62b30-49cc-4324-8ee3-ac097f6becba:localhost:node-5c16c6d7-05c7-4715-87ec-ced6d609536e:Node 5c16c6d7-05c7-4715-87ec-ced6d609536e :: true

deleteNodes 1.018s
2022-08-18 22:34:20 |

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

2022-08-18 22:34:20 | ------------------------------------

2022-08-18 22:34:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5c16c6d7-05c7-4715-87ec-ced6d609536e</node></data>

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

2022-08-18 22:34:21 | [Mutex] waiting for: [received:nodes:556293e1-fa17-494c-a82f-07e7f8fa4c19:localhost]

2022-08-18 22:34:21 | [Mutex] received everything.

2022-08-18 22:34:21 | [Mutex] isItemNotified: received:node:556293e1-fa17-494c-a82f-07e7f8fa4c19:localhost:node-5c16c6d7-05c7-4715-87ec-ced6d609536e:Node 5c16c6d7-05c7-4715-87ec-ced6d609536e :: false

deleteSubnodes 1.191s
2022-08-18 22:34:19 |

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

2022-08-18 22:34:19 | ------------------------------------

2022-08-18 22:34:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9b19fa26-8016-424e-a822-33ee97197c66</node></data>

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

2022-08-18 22:34:20 | [Mutex] waiting for: [received:nodes:819c3a7f-1b34-4e86-82b3-03e4a7414ffb:localhost]

2022-08-18 22:34:20 | [Mutex] waiting for: [received:nodes:819c3a7f-1b34-4e86-82b3-03e4a7414ffb:localhost]

2022-08-18 22:34:20 | [Mutex] waiting for: [received:nodes:819c3a7f-1b34-4e86-82b3-03e4a7414ffb:localhost]

2022-08-18 22:34:20 | [Mutex] received everything.

2022-08-18 22:34:20 | [Mutex] isItemNotified: received:node:819c3a7f-1b34-4e86-82b3-03e4a7414ffb:localhost:node-9b19fa26-8016-424e-a822-33ee97197c66:Node 9b19fa26-8016-424e-a822-33ee97197c66 :: false

2022-08-18 22:34:20 | [Mutex] waiting for: [received:nodes:6dfd9e3b-f1c5-4aff-9006-e34de833c1fb:localhost]

2022-08-18 22:34:20 | [Mutex] received everything.

2022-08-18 22:34:20 | [Mutex] isItemNotified: received:node:6dfd9e3b-f1c5-4aff-9006-e34de833c1fb:localhost:node-9b19fa26-8016-424e-a822-33ee97197c66:Node 9b19fa26-8016-424e-a822-33ee97197c66 :: false

publishItemsToNodes 0.195s
2022-08-18 22:34:17 |

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

2022-08-18 22:34:17 | ------------------------------------

2022-08-18 22:34:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9b19fa26-8016-424e-a822-33ee97197c66</node><item-id>item-6a8f3401-04b2-411e-863b-b142e8e6924f</item-id><entry><test>item-6a8f3401-04b2-411e-863b-b142e8e6924f</test></entry></data>

2022-08-18 22:34:17 | 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-6a8f3401-04b2-411e-863b-b142e8e6924f</value></item-id></result>

2022-08-18 22:34:17 | [Mutex] received everything.

2022-08-18 22:34:17 | [Mutex] isItemNotified: published:item:notifieditem-6a8f3401-04b2-411e-863b-b142e8e6924f:admin@test-domain.com :: true

retractItemsFromNodes 0.326s
2022-08-18 22:34:17 |

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

2022-08-18 22:34:17 | ------------------------------------

2022-08-18 22:34:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9b19fa26-8016-424e-a822-33ee97197c66</node><item-id>item-6a8f3401-04b2-411e-863b-b142e8e6924f</item-id></data>

2022-08-18 22:34:18 | 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-6a8f3401-04b2-411e-863b-b142e8e6924f</value></item-id></result>

2022-08-18 22:34:18 | [Mutex] waiting for: [retracted:item:notifieditem-6a8f3401-04b2-411e-863b-b142e8e6924f:admin@test-domain.com]

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

2022-08-18 22:34:18 | [Mutex] isItemNotified: retracted:item:notifieditem-6a8f3401-04b2-411e-863b-b142e8e6924f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.263s
2022-08-18 22:34:17 |

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

2022-08-18 22:34:17 | ------------------------------------

2022-08-18 22:34:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9b19fa26-8016-424e-a822-33ee97197c66</node><item-id>item-6a8f3401-04b2-411e-863b-b142e8e6924f</item-id></data>

2022-08-18 22:34: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-9b19fa26-8016-424e-a822-33ee97197c66</value></node><item-id label="Item ID" type="text-single"><value>item-6a8f3401-04b2-411e-863b-b142e8e6924f</value></item-id><item label="Item" type="text-multi"><value><item id="item-6a8f3401-04b2-411e-863b-b142e8e6924f"><test>item-6a8f3401-04b2-411e-863b-b142e8e6924f</test></item></value></item></result>

2022-08-18 22:34:17 | [Mutex] notify: [retrieved:item:item-6a8f3401-04b2-411e-863b-b142e8e6924f:payload-matches:true:localhost]

2022-08-18 22:34:17 | [Mutex] received everything.

2022-08-18 22:34:17 | [Mutex] isItemNotified: retrieved:item:item-6a8f3401-04b2-411e-863b-b142e8e6924f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-18 22:34:17 |

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

2022-08-18 22:34:17 | ------------------------------------

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

2022-08-18 22:34:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9b19fa26-8016-424e-a822-33ee97197c66</value><value>node-5c16c6d7-05c7-4715-87ec-ced6d609536e</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-18 22:34:17 |

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

2022-08-18 22:34:17 | ------------------------------------

2022-08-18 22:34: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-9b19fa26-8016-424e-a822-33ee97197c66)</node-pattern></data>

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

subscribeNodes 1.151s
2022-08-18 22:34:16 |

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

2022-08-18 22:34:16 | ------------------------------------

2022-08-18 22:34:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9b19fa26-8016-424e-a822-33ee97197c66</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.253s
2022-08-18 22:34:18 |

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

2022-08-18 22:34:18 | ------------------------------------

2022-08-18 22:34:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9b19fa26-8016-424e-a822-33ee97197c66</node><jids><value>admin@test-domain.com</value></jids></data>

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