Generated by TestNG with ReportNG at 22:13 PDT on Friday 04 September 2020
root@55161683a995 / 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 : 9.721s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2020-09-04 22:28:49 |

2020-09-04 22:28:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:49 | ------------------------------------

2020-09-04 22:28:49 | [Mutex] waiting for: [configured:node:node-d3257481-83a6-4f3d-9fdf-02acff64f7e7:node-0ccb66ed-3607-4917-9e08-06351e67a264]

2020-09-04 22:28:49 | [Mutex] received everything.

2020-09-04 22:28:49 | [Mutex] isItemNotified: configured:node:node-d3257481-83a6-4f3d-9fdf-02acff64f7e7:node-0ccb66ed-3607-4917-9e08-06351e67a264 :: true

2020-09-04 22:28:50 | [Mutex] waiting for: [received:nodes:738adeda-dfc7-4047-8733-3af160e9baa2:localhost]

2020-09-04 22:28:51 | [Mutex] waiting for: [received:nodes:738adeda-dfc7-4047-8733-3af160e9baa2:localhost]

2020-09-04 22:28:51 | [Mutex] received everything.

2020-09-04 22:28:51 | [Mutex] isItemNotified: received:node:738adeda-dfc7-4047-8733-3af160e9baa2:localhost:node-d3257481-83a6-4f3d-9fdf-02acff64f7e7:Node d3257481-83a6-4f3d-9fdf-02acff64f7e7 :: true

2020-09-04 22:28:51 | [Mutex] waiting for: [received:nodes:7139b7b4-f572-4fcc-bb02-1cf236066a22:localhost]

2020-09-04 22:28:51 | [Mutex] received everything.

2020-09-04 22:28:51 | [Mutex] isItemNotified: received:node:7139b7b4-f572-4fcc-bb02-1cf236066a22:localhost:node-d3257481-83a6-4f3d-9fdf-02acff64f7e7:Node d3257481-83a6-4f3d-9fdf-02acff64f7e7 :: false

createNodes 1.387s
2020-09-04 22:28:47 |

2020-09-04 22:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:47 | ------------------------------------

2020-09-04 22:28:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d3257481-83a6-4f3d-9fdf-02acff64f7e7</title></pubsub></data>

2020-09-04 22:28:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-04 22:28:48 | [Mutex] waiting for: [received:nodes:2e4f7d96-1f80-42f2-89e2-43bbf9720db1:localhost]

2020-09-04 22:28:48 | [Mutex] received everything.

2020-09-04 22:28:48 | [Mutex] isItemNotified: received:node:2e4f7d96-1f80-42f2-89e2-43bbf9720db1:localhost:node-d3257481-83a6-4f3d-9fdf-02acff64f7e7:Node d3257481-83a6-4f3d-9fdf-02acff64f7e7 :: true

createSubnodes 1.023s
2020-09-04 22:28:48 |

2020-09-04 22:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:48 | ------------------------------------

2020-09-04 22:28:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0ccb66ed-3607-4917-9e08-06351e67a264</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0ccb66ed-3607-4917-9e08-06351e67a264</title></pubsub></data>

2020-09-04 22:28:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-04 22:28:49 | [Mutex] waiting for: [received:nodes:2459be4a-25c4-46dc-833a-0d94331251e3:localhost]

2020-09-04 22:28:49 | [Mutex] received everything.

2020-09-04 22:28:49 | [Mutex] isItemNotified: received:node:2459be4a-25c4-46dc-833a-0d94331251e3:localhost:node-0ccb66ed-3607-4917-9e08-06351e67a264:Node 0ccb66ed-3607-4917-9e08-06351e67a264 :: true

deleteNodes 1.017s
2020-09-04 22:28:55 |

2020-09-04 22:28:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:55 | ------------------------------------

2020-09-04 22:28:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0ccb66ed-3607-4917-9e08-06351e67a264</node></data>

2020-09-04 22:28:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-04 22:28:56 | [Mutex] waiting for: [received:nodes:b62d7e60-46fc-49c6-a65a-cc80070e4193:localhost]

2020-09-04 22:28:56 | [Mutex] received everything.

2020-09-04 22:28:56 | [Mutex] isItemNotified: received:node:b62d7e60-46fc-49c6-a65a-cc80070e4193:localhost:node-0ccb66ed-3607-4917-9e08-06351e67a264:Node 0ccb66ed-3607-4917-9e08-06351e67a264 :: false

deleteSubnodes 1.126s
2020-09-04 22:28:54 |

2020-09-04 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:54 | ------------------------------------

2020-09-04 22:28:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</node></data>

2020-09-04 22:28:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-04 22:28:55 | [Mutex] waiting for: [received:nodes:213a5e21-9b05-43bb-be9b-9dad913da9af:localhost]

2020-09-04 22:28:55 | [Mutex] received everything.

2020-09-04 22:28:55 | [Mutex] isItemNotified: received:node:213a5e21-9b05-43bb-be9b-9dad913da9af:localhost:node-d3257481-83a6-4f3d-9fdf-02acff64f7e7:Node d3257481-83a6-4f3d-9fdf-02acff64f7e7 :: false

2020-09-04 22:28:55 | [Mutex] waiting for: [received:nodes:bf528ae9-a80b-400d-8d8b-6b1cfdf5960a:localhost]

2020-09-04 22:28:55 | [Mutex] received everything.

2020-09-04 22:28:55 | [Mutex] isItemNotified: received:node:bf528ae9-a80b-400d-8d8b-6b1cfdf5960a:localhost:node-d3257481-83a6-4f3d-9fdf-02acff64f7e7:Node d3257481-83a6-4f3d-9fdf-02acff64f7e7 :: false

publishItemsToNodes 0.223s
2020-09-04 22:28:52 |

2020-09-04 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:52 | ------------------------------------

2020-09-04 22:28:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</node><item-id>item-627e8622-acba-4a78-8bdd-9c0ae418fb84</item-id><entry><test>item-627e8622-acba-4a78-8bdd-9c0ae418fb84</test></entry></data>

2020-09-04 22:28:52 | 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-627e8622-acba-4a78-8bdd-9c0ae418fb84</value></item-id></result>

2020-09-04 22:28:52 | [Mutex] received everything.

2020-09-04 22:28:52 | [Mutex] isItemNotified: published:item:notifieditem-627e8622-acba-4a78-8bdd-9c0ae418fb84:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2020-09-04 22:28:52 |

2020-09-04 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:52 | ------------------------------------

2020-09-04 22:28:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</node><item-id>item-627e8622-acba-4a78-8bdd-9c0ae418fb84</item-id></data>

2020-09-04 22:28:52 | 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-627e8622-acba-4a78-8bdd-9c0ae418fb84</value></item-id></result>

2020-09-04 22:28:52 | [Mutex] received everything.

2020-09-04 22:28:52 | [Mutex] isItemNotified: retracted:item:notifieditem-627e8622-acba-4a78-8bdd-9c0ae418fb84:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2020-09-04 22:28:52 |

2020-09-04 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:52 | ------------------------------------

2020-09-04 22:28:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</node><item-id>item-627e8622-acba-4a78-8bdd-9c0ae418fb84</item-id></data>

2020-09-04 22:28:52 | 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-d3257481-83a6-4f3d-9fdf-02acff64f7e7</value></node><item-id type="text-single" label="Item ID"><value>item-627e8622-acba-4a78-8bdd-9c0ae418fb84</value></item-id><item type="text-multi" label="Item"><value><item id="item-627e8622-acba-4a78-8bdd-9c0ae418fb84"><test>item-627e8622-acba-4a78-8bdd-9c0ae418fb84</test></item></value></item></result>

2020-09-04 22:28:52 | [Mutex] notify: [retrieved:item:item-627e8622-acba-4a78-8bdd-9c0ae418fb84:payload-matches:true:localhost]

2020-09-04 22:28:52 | [Mutex] received everything.

2020-09-04 22:28:52 | [Mutex] isItemNotified: retrieved:item:item-627e8622-acba-4a78-8bdd-9c0ae418fb84:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-09-04 22:28:52 |

2020-09-04 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:52 | ------------------------------------

2020-09-04 22:28:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-04 22:28:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</value><value>test</value><value>node-0ccb66ed-3607-4917-9e08-06351e67a264</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-04 22:28:52 |

2020-09-04 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:52 | ------------------------------------

2020-09-04 22:28:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d3257481-83a6-4f3d-9fdf-02acff64f7e7)</node-pattern></data>

2020-09-04 22:28:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.136s
2020-09-04 22:28:51 |

2020-09-04 22:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:51 | ------------------------------------

2020-09-04 22:28:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-04 22:28:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.255s
2020-09-04 22:28:52 |

2020-09-04 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:28:52 | ------------------------------------

2020-09-04 22:28:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d3257481-83a6-4f3d-9fdf-02acff64f7e7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-04 22:28:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>