Generated by TestNG with ReportNG at 22:16 PDT on Sunday 13 June 2021
root@785cf647a4ab / 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.322s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2021-06-13 22:33:25 |

2021-06-13 22:33:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:25 | ------------------------------------

2021-06-13 22:33:25 | [Mutex] waiting for: [configured:node:node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668:node-5f60bb1a-9762-44af-9853-60f519c16602]

2021-06-13 22:33:25 | [Mutex] received everything.

2021-06-13 22:33:25 | [Mutex] isItemNotified: configured:node:node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668:node-5f60bb1a-9762-44af-9853-60f519c16602 :: true

2021-06-13 22:33:26 | [Mutex] waiting for: [received:nodes:43291bfb-da6e-423a-9ab4-f3815f91825b:localhost]

2021-06-13 22:33:26 | [Mutex] received everything.

2021-06-13 22:33:26 | [Mutex] isItemNotified: received:node:43291bfb-da6e-423a-9ab4-f3815f91825b:localhost:node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668:Node 8dc77ea3-f7b4-47f7-b9af-f4112c1c1668 :: true

2021-06-13 22:33:26 | [Mutex] waiting for: [received:nodes:27a5b061-357c-4b4e-88c2-47bb6f2fe74c:localhost]

2021-06-13 22:33:26 | [Mutex] received everything.

2021-06-13 22:33:26 | [Mutex] isItemNotified: received:node:27a5b061-357c-4b4e-88c2-47bb6f2fe74c:localhost:node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668:Node 8dc77ea3-f7b4-47f7-b9af-f4112c1c1668 :: false

createNodes 1.626s
2021-06-13 22:33:23 |

2021-06-13 22:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:23 | ------------------------------------

2021-06-13 22:33:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</title></pubsub></data>

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

2021-06-13 22:33:24 | [Mutex] waiting for: [received:nodes:77b8e0a7-5b32-43d4-bb46-5bd0638b7095:localhost]

2021-06-13 22:33:24 | [Mutex] received everything.

2021-06-13 22:33:24 | [Mutex] isItemNotified: received:node:77b8e0a7-5b32-43d4-bb46-5bd0638b7095:localhost:node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668:Node 8dc77ea3-f7b4-47f7-b9af-f4112c1c1668 :: true

createSubnodes 1.027s
2021-06-13 22:33:24 |

2021-06-13 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:24 | ------------------------------------

2021-06-13 22:33:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5f60bb1a-9762-44af-9853-60f519c16602</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5f60bb1a-9762-44af-9853-60f519c16602</title></pubsub></data>

2021-06-13 22:33:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:33:25 | [Mutex] waiting for: [received:nodes:a7ea274d-6c8b-4822-82f3-41fe00bf59c2:localhost]

2021-06-13 22:33:25 | [Mutex] received everything.

2021-06-13 22:33:25 | [Mutex] isItemNotified: received:node:a7ea274d-6c8b-4822-82f3-41fe00bf59c2:localhost:node-5f60bb1a-9762-44af-9853-60f519c16602:Node 5f60bb1a-9762-44af-9853-60f519c16602 :: true

deleteNodes 1.020s
2021-06-13 22:33:31 |

2021-06-13 22:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:31 | ------------------------------------

2021-06-13 22:33:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5f60bb1a-9762-44af-9853-60f519c16602</node></data>

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

2021-06-13 22:33:32 | [Mutex] waiting for: [received:nodes:c8f6e36b-216d-4d9e-8f3c-2ee3d0153bba:localhost]

2021-06-13 22:33:32 | [Mutex] waiting for: [received:nodes:c8f6e36b-216d-4d9e-8f3c-2ee3d0153bba:localhost]

2021-06-13 22:33:32 | [Mutex] received everything.

2021-06-13 22:33:32 | [Mutex] isItemNotified: received:node:c8f6e36b-216d-4d9e-8f3c-2ee3d0153bba:localhost:node-5f60bb1a-9762-44af-9853-60f519c16602:Node 5f60bb1a-9762-44af-9853-60f519c16602 :: false

deleteSubnodes 1.139s
2021-06-13 22:33:30 |

2021-06-13 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:30 | ------------------------------------

2021-06-13 22:33:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</node></data>

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

2021-06-13 22:33:31 | [Mutex] waiting for: [received:nodes:146f7e45-8bff-46dc-aed9-07b2d8b44d9a:localhost]

2021-06-13 22:33:31 | [Mutex] received everything.

2021-06-13 22:33:31 | [Mutex] isItemNotified: received:node:146f7e45-8bff-46dc-aed9-07b2d8b44d9a:localhost:node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668:Node 8dc77ea3-f7b4-47f7-b9af-f4112c1c1668 :: false

2021-06-13 22:33:31 | [Mutex] waiting for: [received:nodes:deed15b4-29ee-45ed-8147-53d7ffee3383:localhost]

2021-06-13 22:33:31 | [Mutex] received everything.

2021-06-13 22:33:31 | [Mutex] isItemNotified: received:node:deed15b4-29ee-45ed-8147-53d7ffee3383:localhost:node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668:Node 8dc77ea3-f7b4-47f7-b9af-f4112c1c1668 :: false

publishItemsToNodes 0.273s
2021-06-13 22:33:28 |

2021-06-13 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:28 | ------------------------------------

2021-06-13 22:33:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</node><item-id>item-51866520-734b-4b29-9e48-1761ea48cbee</item-id><entry><test>item-51866520-734b-4b29-9e48-1761ea48cbee</test></entry></data>

2021-06-13 22:33:28 | 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-51866520-734b-4b29-9e48-1761ea48cbee</value></item-id></result>

2021-06-13 22:33:28 | [Mutex] received everything.

2021-06-13 22:33:28 | [Mutex] isItemNotified: published:item:notifieditem-51866520-734b-4b29-9e48-1761ea48cbee:admin@test-domain.com :: true

retractItemsFromNodes 0.262s
2021-06-13 22:33:28 |

2021-06-13 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:28 | ------------------------------------

2021-06-13 22:33:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</node><item-id>item-51866520-734b-4b29-9e48-1761ea48cbee</item-id></data>

2021-06-13 22:33:29 | 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-51866520-734b-4b29-9e48-1761ea48cbee</value></item-id></result>

2021-06-13 22:33:29 | [Mutex] received everything.

2021-06-13 22:33:29 | [Mutex] isItemNotified: retracted:item:notifieditem-51866520-734b-4b29-9e48-1761ea48cbee:admin@test-domain.com :: true

retrieveItemsFromNodes 0.360s
2021-06-13 22:33:28 |

2021-06-13 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:28 | ------------------------------------

2021-06-13 22:33:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</node><item-id>item-51866520-734b-4b29-9e48-1761ea48cbee</item-id></data>

2021-06-13 22:33:28 | 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-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</value></node><item-id type="text-single" label="Item ID"><value>item-51866520-734b-4b29-9e48-1761ea48cbee</value></item-id><item type="text-multi" label="Item"><value><item id="item-51866520-734b-4b29-9e48-1761ea48cbee"><test>item-51866520-734b-4b29-9e48-1761ea48cbee</test></item></value></item></result>

2021-06-13 22:33:28 | [Mutex] notify: [retrieved:item:item-51866520-734b-4b29-9e48-1761ea48cbee:payload-matches:true:localhost]

2021-06-13 22:33:28 | [Mutex] received everything.

2021-06-13 22:33:28 | [Mutex] isItemNotified: retrieved:item:item-51866520-734b-4b29-9e48-1761ea48cbee:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-06-13 22:33:28 |

2021-06-13 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:28 | ------------------------------------

2021-06-13 22:33:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-13 22:33:28 | 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-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</value><value>node-5f60bb1a-9762-44af-9853-60f519c16602</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-06-13 22:33:28 |

2021-06-13 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:28 | ------------------------------------

2021-06-13 22:33:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668)</node-pattern></data>

2021-06-13 22:33:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.174s
2021-06-13 22:33:26 |

2021-06-13 22:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:26 | ------------------------------------

2021-06-13 22:33:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-13 22:33:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.279s
2021-06-13 22:33:29 |

2021-06-13 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:33:29 | ------------------------------------

2021-06-13 22:33:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8dc77ea3-f7b4-47f7-b9af-f4112c1c1668</node><jids><value>admin@test-domain.com</value></jids></data>

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