Generated by TestNG with ReportNG at 21:49 PST on Monday 14 February 2022
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.376s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2022-02-14 22:04:32 |

2022-02-14 22:04:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:32 | ------------------------------------

2022-02-14 22:04:32 | [Mutex] waiting for: [configured:node:node-e93fc751-882e-4921-a46b-2b872319c288:node-d3543b43-b412-44bd-92a6-e29d91e70a61]

2022-02-14 22:04:32 | [Mutex] received everything.

2022-02-14 22:04:32 | [Mutex] isItemNotified: configured:node:node-e93fc751-882e-4921-a46b-2b872319c288:node-d3543b43-b412-44bd-92a6-e29d91e70a61 :: true

2022-02-14 22:04:33 | [Mutex] waiting for: [received:nodes:ff7a4637-765f-4c15-b80e-0384b9275d08:localhost]

2022-02-14 22:04:33 | [Mutex] received everything.

2022-02-14 22:04:33 | [Mutex] isItemNotified: received:node:ff7a4637-765f-4c15-b80e-0384b9275d08:localhost:node-e93fc751-882e-4921-a46b-2b872319c288:Node e93fc751-882e-4921-a46b-2b872319c288 :: true

2022-02-14 22:04:33 | [Mutex] waiting for: [received:nodes:e03fbb16-f421-4125-bb09-04ed10c978b2:localhost]

2022-02-14 22:04:33 | [Mutex] received everything.

2022-02-14 22:04:33 | [Mutex] isItemNotified: received:node:e03fbb16-f421-4125-bb09-04ed10c978b2:localhost:node-e93fc751-882e-4921-a46b-2b872319c288:Node e93fc751-882e-4921-a46b-2b872319c288 :: false

createNodes 1.441s
2022-02-14 22:04:29 |

2022-02-14 22:04:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:29 | ------------------------------------

2022-02-14 22:04:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e93fc751-882e-4921-a46b-2b872319c288</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e93fc751-882e-4921-a46b-2b872319c288</title></pubsub></data>

2022-02-14 22:04:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 22:04:31 | [Mutex] waiting for: [received:nodes:1a1eb0fe-41f2-47ad-9ced-5dc6376c63ef:localhost]

2022-02-14 22:04:31 | [Mutex] received everything.

2022-02-14 22:04:31 | [Mutex] isItemNotified: received:node:1a1eb0fe-41f2-47ad-9ced-5dc6376c63ef:localhost:node-e93fc751-882e-4921-a46b-2b872319c288:Node e93fc751-882e-4921-a46b-2b872319c288 :: true

createSubnodes 1.027s
2022-02-14 22:04:31 |

2022-02-14 22:04:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:31 | ------------------------------------

2022-02-14 22:04:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3543b43-b412-44bd-92a6-e29d91e70a61</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d3543b43-b412-44bd-92a6-e29d91e70a61</title></pubsub></data>

2022-02-14 22:04:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 22:04:32 | [Mutex] waiting for: [received:nodes:4675eddf-0db4-4dde-904d-a466d99fbb6a:localhost]

2022-02-14 22:04:32 | [Mutex] waiting for: [received:nodes:4675eddf-0db4-4dde-904d-a466d99fbb6a:localhost]

2022-02-14 22:04:32 | [Mutex] received everything.

2022-02-14 22:04:32 | [Mutex] isItemNotified: received:node:4675eddf-0db4-4dde-904d-a466d99fbb6a:localhost:node-d3543b43-b412-44bd-92a6-e29d91e70a61:Node d3543b43-b412-44bd-92a6-e29d91e70a61 :: true

deleteNodes 1.024s
2022-02-14 22:04:38 |

2022-02-14 22:04:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:38 | ------------------------------------

2022-02-14 22:04:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3543b43-b412-44bd-92a6-e29d91e70a61</node></data>

2022-02-14 22:04:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 22:04:39 | [Mutex] waiting for: [received:nodes:2b67079a-b23d-4c02-81f6-a779c3f5009f:localhost]

2022-02-14 22:04:39 | [Mutex] received everything.

2022-02-14 22:04:39 | [Mutex] isItemNotified: received:node:2b67079a-b23d-4c02-81f6-a779c3f5009f:localhost:node-d3543b43-b412-44bd-92a6-e29d91e70a61:Node d3543b43-b412-44bd-92a6-e29d91e70a61 :: false

deleteSubnodes 1.154s
2022-02-14 22:04:36 |

2022-02-14 22:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:36 | ------------------------------------

2022-02-14 22:04:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e93fc751-882e-4921-a46b-2b872319c288</node></data>

2022-02-14 22:04:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 22:04:38 | [Mutex] waiting for: [received:nodes:5beda559-2c84-4740-8b0a-cd1f1a026651:localhost]

2022-02-14 22:04:38 | [Mutex] waiting for: [received:nodes:5beda559-2c84-4740-8b0a-cd1f1a026651:localhost]

2022-02-14 22:04:38 | [Mutex] received everything.

2022-02-14 22:04:38 | [Mutex] isItemNotified: received:node:5beda559-2c84-4740-8b0a-cd1f1a026651:localhost:node-e93fc751-882e-4921-a46b-2b872319c288:Node e93fc751-882e-4921-a46b-2b872319c288 :: false

2022-02-14 22:04:38 | [Mutex] waiting for: [received:nodes:f868bf73-9a4d-4533-a183-1a95df06ee57:localhost]

2022-02-14 22:04:38 | [Mutex] received everything.

2022-02-14 22:04:38 | [Mutex] isItemNotified: received:node:f868bf73-9a4d-4533-a183-1a95df06ee57:localhost:node-e93fc751-882e-4921-a46b-2b872319c288:Node e93fc751-882e-4921-a46b-2b872319c288 :: false

publishItemsToNodes 0.230s
2022-02-14 22:04:34 |

2022-02-14 22:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:34 | ------------------------------------

2022-02-14 22:04:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e93fc751-882e-4921-a46b-2b872319c288</node><item-id>item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</item-id><entry><test>item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</test></entry></data>

2022-02-14 22:04:34 | 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-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</value></item-id></result>

2022-02-14 22:04:34 | [Mutex] received everything.

2022-02-14 22:04:34 | [Mutex] isItemNotified: published:item:notifieditem-f5a2ea53-b8b0-4eb7-904e-599b49a70a82:admin@test-domain.com :: true

retractItemsFromNodes 0.322s
2022-02-14 22:04:35 |

2022-02-14 22:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:35 | ------------------------------------

2022-02-14 22:04:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e93fc751-882e-4921-a46b-2b872319c288</node><item-id>item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</item-id></data>

2022-02-14 22:04:35 | 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-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</value></item-id></result>

2022-02-14 22:04:35 | [Mutex] waiting for: [retracted:item:notifieditem-f5a2ea53-b8b0-4eb7-904e-599b49a70a82:admin@test-domain.com]

2022-02-14 22:04:35 | [Mutex] received everything.

2022-02-14 22:04:35 | [Mutex] isItemNotified: retracted:item:notifieditem-f5a2ea53-b8b0-4eb7-904e-599b49a70a82:admin@test-domain.com :: true

retrieveItemsFromNodes 0.387s
2022-02-14 22:04:34 |

2022-02-14 22:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:34 | ------------------------------------

2022-02-14 22:04:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e93fc751-882e-4921-a46b-2b872319c288</node><item-id>item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</item-id></data>

2022-02-14 22:04:35 | 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-e93fc751-882e-4921-a46b-2b872319c288</value></node><item-id type="text-single" label="Item ID"><value>item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</value></item-id><item type="text-multi" label="Item"><value><item id="item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82"><test>item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82</test></item></value></item></result>

2022-02-14 22:04:35 | [Mutex] notify: [retrieved:item:item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82:payload-matches:true:localhost]

2022-02-14 22:04:35 | [Mutex] received everything.

2022-02-14 22:04:35 | [Mutex] isItemNotified: retrieved:item:item-f5a2ea53-b8b0-4eb7-904e-599b49a70a82:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-14 22:04:35 |

2022-02-14 22:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:35 | ------------------------------------

2022-02-14 22:04:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-14 22:04:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-e93fc751-882e-4921-a46b-2b872319c288</value><value>test</value><value>node-d3543b43-b412-44bd-92a6-e29d91e70a61</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-14 22:04:35 |

2022-02-14 22:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:35 | ------------------------------------

2022-02-14 22:04:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e93fc751-882e-4921-a46b-2b872319c288)</node-pattern></data>

2022-02-14 22:04:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.157s
2022-02-14 22:04:33 |

2022-02-14 22:04:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:33 | ------------------------------------

2022-02-14 22:04:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e93fc751-882e-4921-a46b-2b872319c288</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-14 22:04:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.292s
2022-02-14 22:04:35 |

2022-02-14 22:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:04:35 | ------------------------------------

2022-02-14 22:04:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e93fc751-882e-4921-a46b-2b872319c288</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-14 22:04:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>