Generated by TestNG with ReportNG at 22:19 PDT on Sunday 03 October 2021
root@f29ef40080b5 / 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 : 10.176s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.137s
2021-10-03 22:34:16 |

2021-10-03 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:16 | ------------------------------------

2021-10-03 22:34:16 | [Mutex] waiting for: [configured:node:node-bb8d151e-e6e5-4a29-b816-8b181baa9722:node-4a067fc0-125e-47dc-8537-5bf2310c45ec]

2021-10-03 22:34:16 | [Mutex] received everything.

2021-10-03 22:34:16 | [Mutex] isItemNotified: configured:node:node-bb8d151e-e6e5-4a29-b816-8b181baa9722:node-4a067fc0-125e-47dc-8537-5bf2310c45ec :: true

2021-10-03 22:34:17 | [Mutex] waiting for: [received:nodes:a4f60151-2790-4da7-8dcc-cff1a9d4e1fd:localhost]

2021-10-03 22:34:17 | [Mutex] received everything.

2021-10-03 22:34:17 | [Mutex] isItemNotified: received:node:a4f60151-2790-4da7-8dcc-cff1a9d4e1fd:localhost:node-bb8d151e-e6e5-4a29-b816-8b181baa9722:Node bb8d151e-e6e5-4a29-b816-8b181baa9722 :: true

2021-10-03 22:34:17 | [Mutex] waiting for: [received:nodes:984484ea-aadb-465f-928e-7d61253c8fc7:localhost]

2021-10-03 22:34:17 | [Mutex] received everything.

2021-10-03 22:34:17 | [Mutex] isItemNotified: received:node:984484ea-aadb-465f-928e-7d61253c8fc7:localhost:node-bb8d151e-e6e5-4a29-b816-8b181baa9722:Node bb8d151e-e6e5-4a29-b816-8b181baa9722 :: false

createNodes 1.623s
2021-10-03 22:34:13 |

2021-10-03 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:13 | ------------------------------------

2021-10-03 22:34:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bb8d151e-e6e5-4a29-b816-8b181baa9722</title></pubsub></data>

2021-10-03 22:34:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-03 22:34:15 | [Mutex] waiting for: [received:nodes:9ddee260-e47e-453f-b39b-cdd4560eee8b:localhost]

2021-10-03 22:34:15 | [Mutex] received everything.

2021-10-03 22:34:15 | [Mutex] isItemNotified: received:node:9ddee260-e47e-453f-b39b-cdd4560eee8b:localhost:node-bb8d151e-e6e5-4a29-b816-8b181baa9722:Node bb8d151e-e6e5-4a29-b816-8b181baa9722 :: true

createSubnodes 1.026s
2021-10-03 22:34:15 |

2021-10-03 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:15 | ------------------------------------

2021-10-03 22:34:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a067fc0-125e-47dc-8537-5bf2310c45ec</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a067fc0-125e-47dc-8537-5bf2310c45ec</title></pubsub></data>

2021-10-03 22:34:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-03 22:34:16 | [Mutex] waiting for: [received:nodes:363b8d4e-827f-4bf3-98ea-5b1c5c2b69eb:localhost]

2021-10-03 22:34:16 | [Mutex] received everything.

2021-10-03 22:34:16 | [Mutex] isItemNotified: received:node:363b8d4e-827f-4bf3-98ea-5b1c5c2b69eb:localhost:node-4a067fc0-125e-47dc-8537-5bf2310c45ec:Node 4a067fc0-125e-47dc-8537-5bf2310c45ec :: true

deleteNodes 1.022s
2021-10-03 22:34:21 |

2021-10-03 22:34:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:21 | ------------------------------------

2021-10-03 22:34:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a067fc0-125e-47dc-8537-5bf2310c45ec</node></data>

2021-10-03 22:34:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-03 22:34:22 | [Mutex] waiting for: [received:nodes:b3ac24a5-7957-4dba-b86c-0bd404ad4b8d:localhost]

2021-10-03 22:34:22 | [Mutex] received everything.

2021-10-03 22:34:22 | [Mutex] isItemNotified: received:node:b3ac24a5-7957-4dba-b86c-0bd404ad4b8d:localhost:node-4a067fc0-125e-47dc-8537-5bf2310c45ec:Node 4a067fc0-125e-47dc-8537-5bf2310c45ec :: false

deleteSubnodes 1.139s
2021-10-03 22:34:20 |

2021-10-03 22:34:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:20 | ------------------------------------

2021-10-03 22:34:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</node></data>

2021-10-03 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>

2021-10-03 22:34:21 | [Mutex] waiting for: [received:nodes:5cbbe29f-2615-4734-8482-a7b8dd9aff0b:localhost]

2021-10-03 22:34:21 | [Mutex] waiting for: [received:nodes:5cbbe29f-2615-4734-8482-a7b8dd9aff0b:localhost]

2021-10-03 22:34:21 | [Mutex] received everything.

2021-10-03 22:34:21 | [Mutex] isItemNotified: received:node:5cbbe29f-2615-4734-8482-a7b8dd9aff0b:localhost:node-bb8d151e-e6e5-4a29-b816-8b181baa9722:Node bb8d151e-e6e5-4a29-b816-8b181baa9722 :: false

2021-10-03 22:34:21 | [Mutex] waiting for: [received:nodes:119404d8-cb42-43aa-8c62-9c8b3419647c:localhost]

2021-10-03 22:34:21 | [Mutex] received everything.

2021-10-03 22:34:21 | [Mutex] isItemNotified: received:node:119404d8-cb42-43aa-8c62-9c8b3419647c:localhost:node-bb8d151e-e6e5-4a29-b816-8b181baa9722:Node bb8d151e-e6e5-4a29-b816-8b181baa9722 :: false

publishItemsToNodes 0.295s
2021-10-03 22:34:18 |

2021-10-03 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:18 | ------------------------------------

2021-10-03 22:34:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</node><item-id>item-0ed167ea-2484-4837-b370-d9625baf1092</item-id><entry><test>item-0ed167ea-2484-4837-b370-d9625baf1092</test></entry></data>

2021-10-03 22:34:18 | 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-0ed167ea-2484-4837-b370-d9625baf1092</value></item-id></result>

2021-10-03 22:34:18 | [Mutex] waiting for: [published:item:notifieditem-0ed167ea-2484-4837-b370-d9625baf1092:admin@test-domain.com]

2021-10-03 22:34:18 | [Mutex] received everything.

2021-10-03 22:34:18 | [Mutex] isItemNotified: published:item:notifieditem-0ed167ea-2484-4837-b370-d9625baf1092:admin@test-domain.com :: true

retractItemsFromNodes 0.296s
2021-10-03 22:34:19 |

2021-10-03 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:19 | ------------------------------------

2021-10-03 22:34:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</node><item-id>item-0ed167ea-2484-4837-b370-d9625baf1092</item-id></data>

2021-10-03 22:34:19 | 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-0ed167ea-2484-4837-b370-d9625baf1092</value></item-id></result>

2021-10-03 22:34:19 | [Mutex] received everything.

2021-10-03 22:34:19 | [Mutex] isItemNotified: retracted:item:notifieditem-0ed167ea-2484-4837-b370-d9625baf1092:admin@test-domain.com :: true

retrieveItemsFromNodes 0.275s
2021-10-03 22:34:18 |

2021-10-03 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:18 | ------------------------------------

2021-10-03 22:34:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</node><item-id>item-0ed167ea-2484-4837-b370-d9625baf1092</item-id></data>

2021-10-03 22:34:18 | 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-bb8d151e-e6e5-4a29-b816-8b181baa9722</value></node><item-id label="Item ID" type="text-single"><value>item-0ed167ea-2484-4837-b370-d9625baf1092</value></item-id><item label="Item" type="text-multi"><value><item id="item-0ed167ea-2484-4837-b370-d9625baf1092"><test>item-0ed167ea-2484-4837-b370-d9625baf1092</test></item></value></item></result>

2021-10-03 22:34:18 | [Mutex] notify: [retrieved:item:item-0ed167ea-2484-4837-b370-d9625baf1092:payload-matches:true:localhost]

2021-10-03 22:34:18 | [Mutex] received everything.

2021-10-03 22:34:18 | [Mutex] isItemNotified: retrieved:item:item-0ed167ea-2484-4837-b370-d9625baf1092:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-10-03 22:34:18 |

2021-10-03 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:18 | ------------------------------------

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

2021-10-03 22:34:18 | 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-4a067fc0-125e-47dc-8537-5bf2310c45ec</value><value>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-10-03 22:34:18 |

2021-10-03 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:18 | ------------------------------------

2021-10-03 22:34:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bb8d151e-e6e5-4a29-b816-8b181baa9722)</node-pattern></data>

2021-10-03 22:34:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.161s
2021-10-03 22:34:17 |

2021-10-03 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:17 | ------------------------------------

2021-10-03 22:34:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-03 22:34:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2021-10-03 22:34:19 |

2021-10-03 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:34:19 | ------------------------------------

2021-10-03 22:34:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bb8d151e-e6e5-4a29-b816-8b181baa9722</node><jids><value>admin@test-domain.com</value></jids></data>

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