Generated by TestNG with ReportNG at 00:20 PDT on Saturday 19 September 2020
root@f53a97fae7d2 / 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.061s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2020-09-19 00:34:51 |

2020-09-19 00:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:51 | ------------------------------------

2020-09-19 00:34:51 | [Mutex] waiting for: [configured:node:node-7c41588b-2fca-4762-b26c-fef4204878a6:node-984611ba-adba-481e-9add-108c9a459080]

2020-09-19 00:34:52 | [Mutex] received everything.

2020-09-19 00:34:52 | [Mutex] isItemNotified: configured:node:node-7c41588b-2fca-4762-b26c-fef4204878a6:node-984611ba-adba-481e-9add-108c9a459080 :: true

2020-09-19 00:34:53 | [Mutex] waiting for: [received:nodes:378a118d-4faf-4dc9-a97a-f6e163a0d746:localhost]

2020-09-19 00:34:53 | [Mutex] received everything.

2020-09-19 00:34:53 | [Mutex] isItemNotified: received:node:378a118d-4faf-4dc9-a97a-f6e163a0d746:localhost:node-7c41588b-2fca-4762-b26c-fef4204878a6:Node 7c41588b-2fca-4762-b26c-fef4204878a6 :: true

2020-09-19 00:34:53 | [Mutex] waiting for: [received:nodes:2dead3cf-399e-450c-a7a9-718edacf80cf:localhost]

2020-09-19 00:34:53 | [Mutex] received everything.

2020-09-19 00:34:53 | [Mutex] isItemNotified: received:node:2dead3cf-399e-450c-a7a9-718edacf80cf:localhost:node-7c41588b-2fca-4762-b26c-fef4204878a6:Node 7c41588b-2fca-4762-b26c-fef4204878a6 :: false

createNodes 1.519s
2020-09-19 00:34:49 |

2020-09-19 00:34:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:49 | ------------------------------------

2020-09-19 00:34:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7c41588b-2fca-4762-b26c-fef4204878a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7c41588b-2fca-4762-b26c-fef4204878a6</title></pubsub></data>

2020-09-19 00:34:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-19 00:34:50 | [Mutex] waiting for: [received:nodes:599bf209-2518-490e-8307-d712dacc70b2:localhost]

2020-09-19 00:34:50 | [Mutex] received everything.

2020-09-19 00:34:50 | [Mutex] isItemNotified: received:node:599bf209-2518-490e-8307-d712dacc70b2:localhost:node-7c41588b-2fca-4762-b26c-fef4204878a6:Node 7c41588b-2fca-4762-b26c-fef4204878a6 :: true

createSubnodes 1.026s
2020-09-19 00:34:50 |

2020-09-19 00:34:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:50 | ------------------------------------

2020-09-19 00:34:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-984611ba-adba-481e-9add-108c9a459080</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 984611ba-adba-481e-9add-108c9a459080</title></pubsub></data>

2020-09-19 00:34:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-19 00:34:51 | [Mutex] waiting for: [received:nodes:5ceb57d0-442b-4e80-98b1-d990f43e9d72:localhost]

2020-09-19 00:34:51 | [Mutex] waiting for: [received:nodes:5ceb57d0-442b-4e80-98b1-d990f43e9d72:localhost]

2020-09-19 00:34:51 | [Mutex] received everything.

2020-09-19 00:34:51 | [Mutex] isItemNotified: received:node:5ceb57d0-442b-4e80-98b1-d990f43e9d72:localhost:node-984611ba-adba-481e-9add-108c9a459080:Node 984611ba-adba-481e-9add-108c9a459080 :: true

deleteNodes 1.018s
2020-09-19 00:34:57 |

2020-09-19 00:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:57 | ------------------------------------

2020-09-19 00:34:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-984611ba-adba-481e-9add-108c9a459080</node></data>

2020-09-19 00:34:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-19 00:34:58 | [Mutex] waiting for: [received:nodes:2b86738b-1a7f-409c-8726-b6eff5feefa3:localhost]

2020-09-19 00:34:58 | [Mutex] received everything.

2020-09-19 00:34:58 | [Mutex] isItemNotified: received:node:2b86738b-1a7f-409c-8726-b6eff5feefa3:localhost:node-984611ba-adba-481e-9add-108c9a459080:Node 984611ba-adba-481e-9add-108c9a459080 :: false

deleteSubnodes 1.117s
2020-09-19 00:34:56 |

2020-09-19 00:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:56 | ------------------------------------

2020-09-19 00:34:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7c41588b-2fca-4762-b26c-fef4204878a6</node></data>

2020-09-19 00:34:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-19 00:34:57 | [Mutex] waiting for: [received:nodes:9114b7bb-c781-4ec9-b8c3-d8e465f17f58:localhost]

2020-09-19 00:34:57 | [Mutex] received everything.

2020-09-19 00:34:57 | [Mutex] isItemNotified: received:node:9114b7bb-c781-4ec9-b8c3-d8e465f17f58:localhost:node-7c41588b-2fca-4762-b26c-fef4204878a6:Node 7c41588b-2fca-4762-b26c-fef4204878a6 :: false

2020-09-19 00:34:57 | [Mutex] waiting for: [received:nodes:7db1b9b2-17b0-49ba-a11c-2099bb3f5b35:localhost]

2020-09-19 00:34:57 | [Mutex] received everything.

2020-09-19 00:34:57 | [Mutex] isItemNotified: received:node:7db1b9b2-17b0-49ba-a11c-2099bb3f5b35:localhost:node-7c41588b-2fca-4762-b26c-fef4204878a6:Node 7c41588b-2fca-4762-b26c-fef4204878a6 :: false

publishItemsToNodes 0.289s
2020-09-19 00:34:54 |

2020-09-19 00:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:54 | ------------------------------------

2020-09-19 00:34:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7c41588b-2fca-4762-b26c-fef4204878a6</node><item-id>item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</item-id><entry><test>item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</test></entry></data>

2020-09-19 00:34:54 | 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-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</value></item-id></result>

2020-09-19 00:34:54 | [Mutex] waiting for: [published:item:notifieditem-a6bb18a8-9cc0-430a-85ac-6d7f684d3472:admin@test-domain.com]

2020-09-19 00:34:54 | [Mutex] received everything.

2020-09-19 00:34:54 | [Mutex] isItemNotified: published:item:notifieditem-a6bb18a8-9cc0-430a-85ac-6d7f684d3472:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2020-09-19 00:34:54 |

2020-09-19 00:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:54 | ------------------------------------

2020-09-19 00:34:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7c41588b-2fca-4762-b26c-fef4204878a6</node><item-id>item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</item-id></data>

2020-09-19 00:34:55 | 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-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</value></item-id></result>

2020-09-19 00:34:55 | [Mutex] received everything.

2020-09-19 00:34:55 | [Mutex] isItemNotified: retracted:item:notifieditem-a6bb18a8-9cc0-430a-85ac-6d7f684d3472:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2020-09-19 00:34:54 |

2020-09-19 00:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:54 | ------------------------------------

2020-09-19 00:34:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7c41588b-2fca-4762-b26c-fef4204878a6</node><item-id>item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</item-id></data>

2020-09-19 00:34:54 | 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-7c41588b-2fca-4762-b26c-fef4204878a6</value></node><item-id type="text-single" label="Item ID"><value>item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</value></item-id><item type="text-multi" label="Item"><value><item id="item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472"><test>item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472</test></item></value></item></result>

2020-09-19 00:34:54 | [Mutex] notify: [retrieved:item:item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472:payload-matches:true:localhost]

2020-09-19 00:34:54 | [Mutex] received everything.

2020-09-19 00:34:54 | [Mutex] isItemNotified: retrieved:item:item-a6bb18a8-9cc0-430a-85ac-6d7f684d3472:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2020-09-19 00:34:54 |

2020-09-19 00:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:54 | ------------------------------------

2020-09-19 00:34:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-19 00:34:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7c41588b-2fca-4762-b26c-fef4204878a6</value><value>test</value><value>node-984611ba-adba-481e-9add-108c9a459080</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-19 00:34:54 |

2020-09-19 00:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:54 | ------------------------------------

2020-09-19 00:34:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7c41588b-2fca-4762-b26c-fef4204878a6)</node-pattern></data>

2020-09-19 00:34:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.139s
2020-09-19 00:34:53 |

2020-09-19 00:34:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:53 | ------------------------------------

2020-09-19 00:34:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7c41588b-2fca-4762-b26c-fef4204878a6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-19 00:34:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.240s
2020-09-19 00:34:55 |

2020-09-19 00:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 00:34:55 | ------------------------------------

2020-09-19 00:34:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7c41588b-2fca-4762-b26c-fef4204878a6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-19 00:34:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>