Generated by TestNG with ReportNG at 21:43 PST on Sunday 06 February 2022
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.261s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2022-02-06 21:59:35 |

2022-02-06 21:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:35 | ------------------------------------

2022-02-06 21:59:35 | [Mutex] waiting for: [configured:node:node-90a130cf-03ac-452c-aa0f-546650312b4c:node-174fc8fe-66ef-4c5f-9dd3-6e2ff3611642]

2022-02-06 21:59:35 | [Mutex] received everything.

2022-02-06 21:59:35 | [Mutex] isItemNotified: configured:node:node-90a130cf-03ac-452c-aa0f-546650312b4c:node-174fc8fe-66ef-4c5f-9dd3-6e2ff3611642 :: true

2022-02-06 21:59:36 | [Mutex] waiting for: [received:nodes:bafced7b-f092-433c-8f82-f022b5876b5c:localhost]

2022-02-06 21:59:36 | [Mutex] received everything.

2022-02-06 21:59:36 | [Mutex] isItemNotified: received:node:bafced7b-f092-433c-8f82-f022b5876b5c:localhost:node-90a130cf-03ac-452c-aa0f-546650312b4c:Node 90a130cf-03ac-452c-aa0f-546650312b4c :: true

2022-02-06 21:59:36 | [Mutex] waiting for: [received:nodes:e3dbf982-99d3-4b54-89e1-1f77d0211d01:localhost]

2022-02-06 21:59:36 | [Mutex] waiting for: [received:nodes:e3dbf982-99d3-4b54-89e1-1f77d0211d01:localhost]

2022-02-06 21:59:36 | [Mutex] waiting for: [received:nodes:e3dbf982-99d3-4b54-89e1-1f77d0211d01:localhost]

2022-02-06 21:59:36 | [Mutex] received everything.

2022-02-06 21:59:36 | [Mutex] isItemNotified: received:node:e3dbf982-99d3-4b54-89e1-1f77d0211d01:localhost:node-90a130cf-03ac-452c-aa0f-546650312b4c:Node 90a130cf-03ac-452c-aa0f-546650312b4c :: false

createNodes 1.491s
2022-02-06 21:59:33 |

2022-02-06 21:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:33 | ------------------------------------

2022-02-06 21:59:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-90a130cf-03ac-452c-aa0f-546650312b4c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 90a130cf-03ac-452c-aa0f-546650312b4c</title></pubsub></data>

2022-02-06 21:59:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-06 21:59:34 | [Mutex] waiting for: [received:nodes:0c495141-28d1-4212-9f91-ac41970b6fd3:localhost]

2022-02-06 21:59:34 | [Mutex] received everything.

2022-02-06 21:59:34 | [Mutex] isItemNotified: received:node:0c495141-28d1-4212-9f91-ac41970b6fd3:localhost:node-90a130cf-03ac-452c-aa0f-546650312b4c:Node 90a130cf-03ac-452c-aa0f-546650312b4c :: true

createSubnodes 1.035s
2022-02-06 21:59:34 |

2022-02-06 21:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:34 | ------------------------------------

2022-02-06 21:59:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-174fc8fe-66ef-4c5f-9dd3-6e2ff3611642</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 174fc8fe-66ef-4c5f-9dd3-6e2ff3611642</title></pubsub></data>

2022-02-06 21:59:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-06 21:59:35 | [Mutex] waiting for: [received:nodes:ce3101b9-9f59-4af8-8233-07625831d27f:localhost]

2022-02-06 21:59:35 | [Mutex] received everything.

2022-02-06 21:59:35 | [Mutex] isItemNotified: received:node:ce3101b9-9f59-4af8-8233-07625831d27f:localhost:node-174fc8fe-66ef-4c5f-9dd3-6e2ff3611642:Node 174fc8fe-66ef-4c5f-9dd3-6e2ff3611642 :: true

deleteNodes 1.023s
2022-02-06 21:59:41 |

2022-02-06 21:59:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:41 | ------------------------------------

2022-02-06 21:59:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-174fc8fe-66ef-4c5f-9dd3-6e2ff3611642</node></data>

2022-02-06 21:59:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-06 21:59:42 | [Mutex] waiting for: [received:nodes:4b3da1d8-c13e-4673-ada7-218cc6cd2c07:localhost]

2022-02-06 21:59:42 | [Mutex] received everything.

2022-02-06 21:59:42 | [Mutex] isItemNotified: received:node:4b3da1d8-c13e-4673-ada7-218cc6cd2c07:localhost:node-174fc8fe-66ef-4c5f-9dd3-6e2ff3611642:Node 174fc8fe-66ef-4c5f-9dd3-6e2ff3611642 :: false

deleteSubnodes 1.188s
2022-02-06 21:59:40 |

2022-02-06 21:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:40 | ------------------------------------

2022-02-06 21:59:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-90a130cf-03ac-452c-aa0f-546650312b4c</node></data>

2022-02-06 21:59:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-06 21:59:41 | [Mutex] waiting for: [received:nodes:0caec054-3699-4221-8bd4-a06bffddc9b8:localhost]

2022-02-06 21:59:41 | [Mutex] received everything.

2022-02-06 21:59:41 | [Mutex] isItemNotified: received:node:0caec054-3699-4221-8bd4-a06bffddc9b8:localhost:node-90a130cf-03ac-452c-aa0f-546650312b4c:Node 90a130cf-03ac-452c-aa0f-546650312b4c :: false

2022-02-06 21:59:41 | [Mutex] waiting for: [received:nodes:48aedee6-61cb-4f95-b6e4-0926f26549c9:localhost]

2022-02-06 21:59:41 | [Mutex] received everything.

2022-02-06 21:59:41 | [Mutex] isItemNotified: received:node:48aedee6-61cb-4f95-b6e4-0926f26549c9:localhost:node-90a130cf-03ac-452c-aa0f-546650312b4c:Node 90a130cf-03ac-452c-aa0f-546650312b4c :: false

publishItemsToNodes 0.250s
2022-02-06 21:59:37 |

2022-02-06 21:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:37 | ------------------------------------

2022-02-06 21:59:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-90a130cf-03ac-452c-aa0f-546650312b4c</node><item-id>item-e75600e9-e4ce-4b59-9726-bfb029e7f601</item-id><entry><test>item-e75600e9-e4ce-4b59-9726-bfb029e7f601</test></entry></data>

2022-02-06 21:59:38 | 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-e75600e9-e4ce-4b59-9726-bfb029e7f601</value></item-id></result>

2022-02-06 21:59:38 | [Mutex] received everything.

2022-02-06 21:59:38 | [Mutex] isItemNotified: published:item:notifieditem-e75600e9-e4ce-4b59-9726-bfb029e7f601:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2022-02-06 21:59:38 |

2022-02-06 21:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:38 | ------------------------------------

2022-02-06 21:59:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-90a130cf-03ac-452c-aa0f-546650312b4c</node><item-id>item-e75600e9-e4ce-4b59-9726-bfb029e7f601</item-id></data>

2022-02-06 21:59:38 | 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-e75600e9-e4ce-4b59-9726-bfb029e7f601</value></item-id></result>

2022-02-06 21:59:38 | [Mutex] received everything.

2022-02-06 21:59:38 | [Mutex] isItemNotified: retracted:item:notifieditem-e75600e9-e4ce-4b59-9726-bfb029e7f601:admin@test-domain.com :: true

retrieveItemsFromNodes 0.314s
2022-02-06 21:59:38 |

2022-02-06 21:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:38 | ------------------------------------

2022-02-06 21:59:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-90a130cf-03ac-452c-aa0f-546650312b4c</node><item-id>item-e75600e9-e4ce-4b59-9726-bfb029e7f601</item-id></data>

2022-02-06 21:59:38 | 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-90a130cf-03ac-452c-aa0f-546650312b4c</value></node><item-id type="text-single" label="Item ID"><value>item-e75600e9-e4ce-4b59-9726-bfb029e7f601</value></item-id><item type="text-multi" label="Item"><value><item id="item-e75600e9-e4ce-4b59-9726-bfb029e7f601"><test>item-e75600e9-e4ce-4b59-9726-bfb029e7f601</test></item></value></item></result>

2022-02-06 21:59:38 | [Mutex] notify: [retrieved:item:item-e75600e9-e4ce-4b59-9726-bfb029e7f601:payload-matches:true:localhost]

2022-02-06 21:59:38 | [Mutex] received everything.

2022-02-06 21:59:38 | [Mutex] isItemNotified: retrieved:item:item-e75600e9-e4ce-4b59-9726-bfb029e7f601:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-06 21:59:38 |

2022-02-06 21:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:38 | ------------------------------------

2022-02-06 21:59:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-06 21:59:38 | 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-90a130cf-03ac-452c-aa0f-546650312b4c</value><value>node-174fc8fe-66ef-4c5f-9dd3-6e2ff3611642</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-06 21:59:38 |

2022-02-06 21:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:38 | ------------------------------------

2022-02-06 21:59:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-90a130cf-03ac-452c-aa0f-546650312b4c)</node-pattern></data>

2022-02-06 21:59:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.233s
2022-02-06 21:59:36 |

2022-02-06 21:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:36 | ------------------------------------

2022-02-06 21:59:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-90a130cf-03ac-452c-aa0f-546650312b4c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-06 21:59:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.399s
2022-02-06 21:59:38 |

2022-02-06 21:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:59:38 | ------------------------------------

2022-02-06 21:59:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-90a130cf-03ac-452c-aa0f-546650312b4c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-06 21:59:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>