Generated by TestNG with ReportNG at 21:25 PST on Tuesday 02 February 2021
root@eaa73862192b / 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.177s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-02-02 21:40:37 |

2021-02-02 21:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:37 | ------------------------------------

2021-02-02 21:40:37 | [Mutex] waiting for: [configured:node:node-ed405d0c-debe-4849-ab87-aab96c4f78a6:node-54b1243a-72a0-4b3a-b31e-3f3df16e1c68]

2021-02-02 21:40:37 | [Mutex] received everything.

2021-02-02 21:40:37 | [Mutex] isItemNotified: configured:node:node-ed405d0c-debe-4849-ab87-aab96c4f78a6:node-54b1243a-72a0-4b3a-b31e-3f3df16e1c68 :: true

2021-02-02 21:40:38 | [Mutex] waiting for: [received:nodes:86508711-0f78-46b3-8f33-fd540281058d:localhost]

2021-02-02 21:40:38 | [Mutex] received everything.

2021-02-02 21:40:38 | [Mutex] isItemNotified: received:node:86508711-0f78-46b3-8f33-fd540281058d:localhost:node-ed405d0c-debe-4849-ab87-aab96c4f78a6:Node ed405d0c-debe-4849-ab87-aab96c4f78a6 :: true

2021-02-02 21:40:38 | [Mutex] waiting for: [received:nodes:ecf2e8dc-59cd-46fe-87a2-e9780b359d33:localhost]

2021-02-02 21:40:38 | [Mutex] received everything.

2021-02-02 21:40:38 | [Mutex] isItemNotified: received:node:ecf2e8dc-59cd-46fe-87a2-e9780b359d33:localhost:node-ed405d0c-debe-4849-ab87-aab96c4f78a6:Node ed405d0c-debe-4849-ab87-aab96c4f78a6 :: false

createNodes 1.422s
2021-02-02 21:40:34 |

2021-02-02 21:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:34 | ------------------------------------

2021-02-02 21:40:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ed405d0c-debe-4849-ab87-aab96c4f78a6</title></pubsub></data>

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

2021-02-02 21:40:36 | [Mutex] waiting for: [received:nodes:3061693a-c11a-4c5e-8bcf-4f0dc1dae4f6:localhost]

2021-02-02 21:40:36 | [Mutex] waiting for: [received:nodes:3061693a-c11a-4c5e-8bcf-4f0dc1dae4f6:localhost]

2021-02-02 21:40:36 | [Mutex] waiting for: [received:nodes:3061693a-c11a-4c5e-8bcf-4f0dc1dae4f6:localhost]

2021-02-02 21:40:36 | [Mutex] received everything.

2021-02-02 21:40:36 | [Mutex] isItemNotified: received:node:3061693a-c11a-4c5e-8bcf-4f0dc1dae4f6:localhost:node-ed405d0c-debe-4849-ab87-aab96c4f78a6:Node ed405d0c-debe-4849-ab87-aab96c4f78a6 :: true

createSubnodes 1.035s
2021-02-02 21:40:36 |

2021-02-02 21:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:36 | ------------------------------------

2021-02-02 21:40:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-54b1243a-72a0-4b3a-b31e-3f3df16e1c68</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 54b1243a-72a0-4b3a-b31e-3f3df16e1c68</title></pubsub></data>

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

2021-02-02 21:40:37 | [Mutex] waiting for: [received:nodes:a9f8b31e-9a16-425b-997c-219935f3ea7d:localhost]

2021-02-02 21:40:37 | [Mutex] received everything.

2021-02-02 21:40:37 | [Mutex] isItemNotified: received:node:a9f8b31e-9a16-425b-997c-219935f3ea7d:localhost:node-54b1243a-72a0-4b3a-b31e-3f3df16e1c68:Node 54b1243a-72a0-4b3a-b31e-3f3df16e1c68 :: true

deleteNodes 1.025s
2021-02-02 21:40:43 |

2021-02-02 21:40:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:43 | ------------------------------------

2021-02-02 21:40:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-54b1243a-72a0-4b3a-b31e-3f3df16e1c68</node></data>

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

2021-02-02 21:40:44 | [Mutex] waiting for: [received:nodes:6b057b71-9a83-4d45-9375-b4db0ea74681:localhost]

2021-02-02 21:40:44 | [Mutex] received everything.

2021-02-02 21:40:44 | [Mutex] isItemNotified: received:node:6b057b71-9a83-4d45-9375-b4db0ea74681:localhost:node-54b1243a-72a0-4b3a-b31e-3f3df16e1c68:Node 54b1243a-72a0-4b3a-b31e-3f3df16e1c68 :: false

deleteSubnodes 1.170s
2021-02-02 21:40:41 |

2021-02-02 21:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:41 | ------------------------------------

2021-02-02 21:40:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</node></data>

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

2021-02-02 21:40:43 | [Mutex] waiting for: [received:nodes:04a175fc-e7e7-4a3a-9d42-b33fa2d4ba96:localhost]

2021-02-02 21:40:43 | [Mutex] waiting for: [received:nodes:04a175fc-e7e7-4a3a-9d42-b33fa2d4ba96:localhost]

2021-02-02 21:40:43 | [Mutex] waiting for: [received:nodes:04a175fc-e7e7-4a3a-9d42-b33fa2d4ba96:localhost]

2021-02-02 21:40:43 | [Mutex] received everything.

2021-02-02 21:40:43 | [Mutex] isItemNotified: received:node:04a175fc-e7e7-4a3a-9d42-b33fa2d4ba96:localhost:node-ed405d0c-debe-4849-ab87-aab96c4f78a6:Node ed405d0c-debe-4849-ab87-aab96c4f78a6 :: false

2021-02-02 21:40:43 | [Mutex] waiting for: [received:nodes:a314a128-9f7f-43dd-8f7b-568bbc4dd4d2:localhost]

2021-02-02 21:40:43 | [Mutex] received everything.

2021-02-02 21:40:43 | [Mutex] isItemNotified: received:node:a314a128-9f7f-43dd-8f7b-568bbc4dd4d2:localhost:node-ed405d0c-debe-4849-ab87-aab96c4f78a6:Node ed405d0c-debe-4849-ab87-aab96c4f78a6 :: false

publishItemsToNodes 0.243s
2021-02-02 21:40:39 |

2021-02-02 21:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:39 | ------------------------------------

2021-02-02 21:40:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</node><item-id>item-29d66426-bbf7-462b-8511-11f705ba141b</item-id><entry><test>item-29d66426-bbf7-462b-8511-11f705ba141b</test></entry></data>

2021-02-02 21:40:39 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-29d66426-bbf7-462b-8511-11f705ba141b</value></item-id></result>

2021-02-02 21:40:39 | [Mutex] waiting for: [published:item:notifieditem-29d66426-bbf7-462b-8511-11f705ba141b:admin@test-domain.com]

2021-02-02 21:40:39 | [Mutex] received everything.

2021-02-02 21:40:39 | [Mutex] isItemNotified: published:item:notifieditem-29d66426-bbf7-462b-8511-11f705ba141b:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2021-02-02 21:40:40 |

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

2021-02-02 21:40:40 | ------------------------------------

2021-02-02 21:40:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</node><item-id>item-29d66426-bbf7-462b-8511-11f705ba141b</item-id></data>

2021-02-02 21:40:40 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-29d66426-bbf7-462b-8511-11f705ba141b</value></item-id></result>

2021-02-02 21:40:40 | [Mutex] received everything.

2021-02-02 21:40:40 | [Mutex] isItemNotified: retracted:item:notifieditem-29d66426-bbf7-462b-8511-11f705ba141b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.384s
2021-02-02 21:40:39 |

2021-02-02 21:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:39 | ------------------------------------

2021-02-02 21:40:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</node><item-id>item-29d66426-bbf7-462b-8511-11f705ba141b</item-id></data>

2021-02-02 21:40:40 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</value></node><item-id label="Item ID" type="text-single"><value>item-29d66426-bbf7-462b-8511-11f705ba141b</value></item-id><item label="Item" type="text-multi"><value><item id="item-29d66426-bbf7-462b-8511-11f705ba141b"><test>item-29d66426-bbf7-462b-8511-11f705ba141b</test></item></value></item></result>

2021-02-02 21:40:40 | [Mutex] notify: [retrieved:item:item-29d66426-bbf7-462b-8511-11f705ba141b:payload-matches:true:localhost]

2021-02-02 21:40:40 | [Mutex] received everything.

2021-02-02 21:40:40 | [Mutex] isItemNotified: retrieved:item:item-29d66426-bbf7-462b-8511-11f705ba141b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-02-02 21:40:40 |

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

2021-02-02 21:40:40 | ------------------------------------

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

2021-02-02 21:40:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-54b1243a-72a0-4b3a-b31e-3f3df16e1c68</value><value>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-02-02 21:40:40 |

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

2021-02-02 21:40:40 | ------------------------------------

2021-02-02 21:40:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ed405d0c-debe-4849-ab87-aab96c4f78a6)</node-pattern></data>

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

subscribeNodes 1.129s
2021-02-02 21:40:38 |

2021-02-02 21:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:40:38 | ------------------------------------

2021-02-02 21:40:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.239s
2021-02-02 21:40:40 |

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

2021-02-02 21:40:40 | ------------------------------------

2021-02-02 21:40:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ed405d0c-debe-4849-ab87-aab96c4f78a6</node><jids><value>admin@test-domain.com</value></jids></data>

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