Generated by TestNG with ReportNG at 22:14 PDT on Tuesday 12 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.066s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2021-10-12 22:29:18 |

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

2021-10-12 22:29:18 | ------------------------------------

2021-10-12 22:29:18 | [Mutex] waiting for: [configured:node:node-5aff55d4-d797-4f0d-8702-6111fe36bac6:node-c5aa6a23-f4d3-45e3-94df-e025518323b1]

2021-10-12 22:29:18 | [Mutex] received everything.

2021-10-12 22:29:18 | [Mutex] isItemNotified: configured:node:node-5aff55d4-d797-4f0d-8702-6111fe36bac6:node-c5aa6a23-f4d3-45e3-94df-e025518323b1 :: true

2021-10-12 22:29:19 | [Mutex] waiting for: [received:nodes:2c8dcbcd-fc43-4fec-b32d-760ef328e86a:localhost]

2021-10-12 22:29:19 | [Mutex] received everything.

2021-10-12 22:29:19 | [Mutex] isItemNotified: received:node:2c8dcbcd-fc43-4fec-b32d-760ef328e86a:localhost:node-5aff55d4-d797-4f0d-8702-6111fe36bac6:Node 5aff55d4-d797-4f0d-8702-6111fe36bac6 :: true

2021-10-12 22:29:19 | [Mutex] waiting for: [received:nodes:f926de09-cba4-4892-80af-d52fc7c332ed:localhost]

2021-10-12 22:29:19 | [Mutex] received everything.

2021-10-12 22:29:19 | [Mutex] isItemNotified: received:node:f926de09-cba4-4892-80af-d52fc7c332ed:localhost:node-5aff55d4-d797-4f0d-8702-6111fe36bac6:Node 5aff55d4-d797-4f0d-8702-6111fe36bac6 :: false

createNodes 1.455s
2021-10-12 22:29:15 |

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

2021-10-12 22:29:15 | ------------------------------------

2021-10-12 22:29:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5aff55d4-d797-4f0d-8702-6111fe36bac6</title></pubsub></data>

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

2021-10-12 22:29:17 | [Mutex] waiting for: [received:nodes:264c5b9d-e47f-45bd-9630-696063536f66:localhost]

2021-10-12 22:29:17 | [Mutex] received everything.

2021-10-12 22:29:17 | [Mutex] isItemNotified: received:node:264c5b9d-e47f-45bd-9630-696063536f66:localhost:node-5aff55d4-d797-4f0d-8702-6111fe36bac6:Node 5aff55d4-d797-4f0d-8702-6111fe36bac6 :: true

createSubnodes 1.025s
2021-10-12 22:29:17 |

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

2021-10-12 22:29:17 | ------------------------------------

2021-10-12 22:29:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5aa6a23-f4d3-45e3-94df-e025518323b1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c5aa6a23-f4d3-45e3-94df-e025518323b1</title></pubsub></data>

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

2021-10-12 22:29:18 | [Mutex] waiting for: [received:nodes:dc7f2e9e-6934-41c9-9d80-548d8a8a197a:localhost]

2021-10-12 22:29:18 | [Mutex] received everything.

2021-10-12 22:29:18 | [Mutex] isItemNotified: received:node:dc7f2e9e-6934-41c9-9d80-548d8a8a197a:localhost:node-c5aa6a23-f4d3-45e3-94df-e025518323b1:Node c5aa6a23-f4d3-45e3-94df-e025518323b1 :: true

deleteNodes 1.020s
2021-10-12 22:29:23 |

2021-10-12 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:23 | ------------------------------------

2021-10-12 22:29:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5aa6a23-f4d3-45e3-94df-e025518323b1</node></data>

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

2021-10-12 22:29:24 | [Mutex] waiting for: [received:nodes:92d3003e-8372-460f-a4b5-de3c5e863c07:localhost]

2021-10-12 22:29:24 | [Mutex] received everything.

2021-10-12 22:29:24 | [Mutex] isItemNotified: received:node:92d3003e-8372-460f-a4b5-de3c5e863c07:localhost:node-c5aa6a23-f4d3-45e3-94df-e025518323b1:Node c5aa6a23-f4d3-45e3-94df-e025518323b1 :: false

deleteSubnodes 1.157s
2021-10-12 22:29:22 |

2021-10-12 22:29:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 22:29:22 | ------------------------------------

2021-10-12 22:29:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</node></data>

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

2021-10-12 22:29:23 | [Mutex] waiting for: [received:nodes:8ffea7cd-def6-49fe-9819-2d196130db7a:localhost]

2021-10-12 22:29:23 | [Mutex] received everything.

2021-10-12 22:29:23 | [Mutex] isItemNotified: received:node:8ffea7cd-def6-49fe-9819-2d196130db7a:localhost:node-5aff55d4-d797-4f0d-8702-6111fe36bac6:Node 5aff55d4-d797-4f0d-8702-6111fe36bac6 :: false

2021-10-12 22:29:23 | [Mutex] waiting for: [received:nodes:e096ae96-055d-4c76-bf5e-8bedcb6be20c:localhost]

2021-10-12 22:29:23 | [Mutex] received everything.

2021-10-12 22:29:23 | [Mutex] isItemNotified: received:node:e096ae96-055d-4c76-bf5e-8bedcb6be20c:localhost:node-5aff55d4-d797-4f0d-8702-6111fe36bac6:Node 5aff55d4-d797-4f0d-8702-6111fe36bac6 :: false

publishItemsToNodes 0.216s
2021-10-12 22:29:20 |

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

2021-10-12 22:29:20 | ------------------------------------

2021-10-12 22:29:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</node><item-id>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</item-id><entry><test>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</test></entry></data>

2021-10-12 22:29:20 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</value></item-id></result>

2021-10-12 22:29:20 | [Mutex] waiting for: [published:item:notifieditem-c93bc0d8-f6a7-4f97-8349-8179f6e50589:admin@test-domain.com]

2021-10-12 22:29:20 | [Mutex] received everything.

2021-10-12 22:29:20 | [Mutex] isItemNotified: published:item:notifieditem-c93bc0d8-f6a7-4f97-8349-8179f6e50589:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-10-12 22:29:21 |

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

2021-10-12 22:29:21 | ------------------------------------

2021-10-12 22:29:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</node><item-id>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</item-id></data>

2021-10-12 22:29:21 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</value></item-id></result>

2021-10-12 22:29:21 | [Mutex] received everything.

2021-10-12 22:29:21 | [Mutex] isItemNotified: retracted:item:notifieditem-c93bc0d8-f6a7-4f97-8349-8179f6e50589:admin@test-domain.com :: true

retrieveItemsFromNodes 0.433s
2021-10-12 22:29:20 |

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

2021-10-12 22:29:20 | ------------------------------------

2021-10-12 22:29:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</node><item-id>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</item-id></data>

2021-10-12 22:29:21 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</value></node><item-id type="text-single" label="Item ID"><value>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</value></item-id><item type="text-multi" label="Item"><value><item id="item-c93bc0d8-f6a7-4f97-8349-8179f6e50589"><test>item-c93bc0d8-f6a7-4f97-8349-8179f6e50589</test></item></value></item></result>

2021-10-12 22:29:21 | [Mutex] notify: [retrieved:item:item-c93bc0d8-f6a7-4f97-8349-8179f6e50589:payload-matches:true:localhost]

2021-10-12 22:29:21 | [Mutex] received everything.

2021-10-12 22:29:21 | [Mutex] isItemNotified: retrieved:item:item-c93bc0d8-f6a7-4f97-8349-8179f6e50589:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-10-12 22:29:21 |

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

2021-10-12 22:29:21 | ------------------------------------

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

2021-10-12 22:29:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-c5aa6a23-f4d3-45e3-94df-e025518323b1</value><value>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-10-12 22:29:21 |

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

2021-10-12 22:29:21 | ------------------------------------

2021-10-12 22:29:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5aff55d4-d797-4f0d-8702-6111fe36bac6)</node-pattern></data>

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

subscribeNodes 1.144s
2021-10-12 22:29:19 |

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

2021-10-12 22:29:19 | ------------------------------------

2021-10-12 22:29:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.220s
2021-10-12 22:29:21 |

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

2021-10-12 22:29:21 | ------------------------------------

2021-10-12 22:29:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5aff55d4-d797-4f0d-8702-6111fe36bac6</node><jids><value>admin@test-domain.com</value></jids></data>

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