Generated by TestNG with ReportNG at 22:20 PDT on Friday 11 September 2020
root@d0fa1cb7f0f2 / 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.946s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2020-09-11 22:34:34 |

2020-09-11 22:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:34 | ------------------------------------

2020-09-11 22:34:35 | [Mutex] waiting for: [configured:node:node-831315d9-7157-4e7b-bd86-5797041d01e6:node-69a85cdf-939b-4156-9718-8f52125806f8]

2020-09-11 22:34:35 | [Mutex] received everything.

2020-09-11 22:34:35 | [Mutex] isItemNotified: configured:node:node-831315d9-7157-4e7b-bd86-5797041d01e6:node-69a85cdf-939b-4156-9718-8f52125806f8 :: true

2020-09-11 22:34:36 | [Mutex] waiting for: [received:nodes:0332d848-ac23-4ab5-966f-e247d093e907:localhost]

2020-09-11 22:34:36 | [Mutex] received everything.

2020-09-11 22:34:36 | [Mutex] isItemNotified: received:node:0332d848-ac23-4ab5-966f-e247d093e907:localhost:node-831315d9-7157-4e7b-bd86-5797041d01e6:Node 831315d9-7157-4e7b-bd86-5797041d01e6 :: true

2020-09-11 22:34:36 | [Mutex] waiting for: [received:nodes:8f5c783d-10bf-40d4-a7e1-a856323f33fc:localhost]

2020-09-11 22:34:36 | [Mutex] received everything.

2020-09-11 22:34:36 | [Mutex] isItemNotified: received:node:8f5c783d-10bf-40d4-a7e1-a856323f33fc:localhost:node-831315d9-7157-4e7b-bd86-5797041d01e6:Node 831315d9-7157-4e7b-bd86-5797041d01e6 :: false

createNodes 1.405s
2020-09-11 22:34:32 |

2020-09-11 22:34:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:32 | ------------------------------------

2020-09-11 22:34:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-831315d9-7157-4e7b-bd86-5797041d01e6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 831315d9-7157-4e7b-bd86-5797041d01e6</title></pubsub></data>

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

2020-09-11 22:34:33 | [Mutex] waiting for: [received:nodes:4443d8a0-ad9d-475d-8a31-2a906e5e846a:localhost]

2020-09-11 22:34:33 | [Mutex] received everything.

2020-09-11 22:34:33 | [Mutex] isItemNotified: received:node:4443d8a0-ad9d-475d-8a31-2a906e5e846a:localhost:node-831315d9-7157-4e7b-bd86-5797041d01e6:Node 831315d9-7157-4e7b-bd86-5797041d01e6 :: true

createSubnodes 1.022s
2020-09-11 22:34:33 |

2020-09-11 22:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:33 | ------------------------------------

2020-09-11 22:34:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-69a85cdf-939b-4156-9718-8f52125806f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 69a85cdf-939b-4156-9718-8f52125806f8</title></pubsub></data>

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

2020-09-11 22:34:34 | [Mutex] waiting for: [received:nodes:c4805809-0cd3-4191-aea9-9b213e10d0ce:localhost]

2020-09-11 22:34:34 | [Mutex] received everything.

2020-09-11 22:34:34 | [Mutex] isItemNotified: received:node:c4805809-0cd3-4191-aea9-9b213e10d0ce:localhost:node-69a85cdf-939b-4156-9718-8f52125806f8:Node 69a85cdf-939b-4156-9718-8f52125806f8 :: true

deleteNodes 1.015s
2020-09-11 22:34:40 |

2020-09-11 22:34:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:40 | ------------------------------------

2020-09-11 22:34:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-69a85cdf-939b-4156-9718-8f52125806f8</node></data>

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

2020-09-11 22:34:41 | [Mutex] waiting for: [received:nodes:39cf019c-6e38-420c-8e5c-759c75fb8fff:localhost]

2020-09-11 22:34:41 | [Mutex] received everything.

2020-09-11 22:34:41 | [Mutex] isItemNotified: received:node:39cf019c-6e38-420c-8e5c-759c75fb8fff:localhost:node-69a85cdf-939b-4156-9718-8f52125806f8:Node 69a85cdf-939b-4156-9718-8f52125806f8 :: false

deleteSubnodes 1.102s
2020-09-11 22:34:39 |

2020-09-11 22:34:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:39 | ------------------------------------

2020-09-11 22:34:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-831315d9-7157-4e7b-bd86-5797041d01e6</node></data>

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

2020-09-11 22:34:40 | [Mutex] waiting for: [received:nodes:f6d56859-4c4d-478b-9389-7c818c622bed:localhost]

2020-09-11 22:34:40 | [Mutex] waiting for: [received:nodes:f6d56859-4c4d-478b-9389-7c818c622bed:localhost]

2020-09-11 22:34:40 | [Mutex] received everything.

2020-09-11 22:34:40 | [Mutex] isItemNotified: received:node:f6d56859-4c4d-478b-9389-7c818c622bed:localhost:node-831315d9-7157-4e7b-bd86-5797041d01e6:Node 831315d9-7157-4e7b-bd86-5797041d01e6 :: false

2020-09-11 22:34:40 | [Mutex] waiting for: [received:nodes:37b498e1-b60a-40ec-b653-ee89c99fe519:localhost]

2020-09-11 22:34:40 | [Mutex] received everything.

2020-09-11 22:34:40 | [Mutex] isItemNotified: received:node:37b498e1-b60a-40ec-b653-ee89c99fe519:localhost:node-831315d9-7157-4e7b-bd86-5797041d01e6:Node 831315d9-7157-4e7b-bd86-5797041d01e6 :: false

publishItemsToNodes 0.194s
2020-09-11 22:34:37 |

2020-09-11 22:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:37 | ------------------------------------

2020-09-11 22:34:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-831315d9-7157-4e7b-bd86-5797041d01e6</node><item-id>item-ee40daf5-4231-45df-914b-77644821a4bb</item-id><entry><test>item-ee40daf5-4231-45df-914b-77644821a4bb</test></entry></data>

2020-09-11 22:34:37 | 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-ee40daf5-4231-45df-914b-77644821a4bb</value></item-id></result>

2020-09-11 22:34:37 | [Mutex] waiting for: [published:item:notifieditem-ee40daf5-4231-45df-914b-77644821a4bb:admin@test-domain.com]

2020-09-11 22:34:37 | [Mutex] received everything.

2020-09-11 22:34:37 | [Mutex] isItemNotified: published:item:notifieditem-ee40daf5-4231-45df-914b-77644821a4bb:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2020-09-11 22:34:37 |

2020-09-11 22:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:37 | ------------------------------------

2020-09-11 22:34:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-831315d9-7157-4e7b-bd86-5797041d01e6</node><item-id>item-ee40daf5-4231-45df-914b-77644821a4bb</item-id></data>

2020-09-11 22:34:38 | 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-ee40daf5-4231-45df-914b-77644821a4bb</value></item-id></result>

2020-09-11 22:34:38 | [Mutex] received everything.

2020-09-11 22:34:38 | [Mutex] isItemNotified: retracted:item:notifieditem-ee40daf5-4231-45df-914b-77644821a4bb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2020-09-11 22:34:37 |

2020-09-11 22:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:37 | ------------------------------------

2020-09-11 22:34:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-831315d9-7157-4e7b-bd86-5797041d01e6</node><item-id>item-ee40daf5-4231-45df-914b-77644821a4bb</item-id></data>

2020-09-11 22:34:37 | 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-831315d9-7157-4e7b-bd86-5797041d01e6</value></node><item-id label="Item ID" type="text-single"><value>item-ee40daf5-4231-45df-914b-77644821a4bb</value></item-id><item label="Item" type="text-multi"><value><item id="item-ee40daf5-4231-45df-914b-77644821a4bb"><test>item-ee40daf5-4231-45df-914b-77644821a4bb</test></item></value></item></result>

2020-09-11 22:34:37 | [Mutex] notify: [retrieved:item:item-ee40daf5-4231-45df-914b-77644821a4bb:payload-matches:true:localhost]

2020-09-11 22:34:37 | [Mutex] received everything.

2020-09-11 22:34:37 | [Mutex] isItemNotified: retrieved:item:item-ee40daf5-4231-45df-914b-77644821a4bb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-11 22:34:37 |

2020-09-11 22:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:37 | ------------------------------------

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

2020-09-11 22:34:37 | 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-69a85cdf-939b-4156-9718-8f52125806f8</value><value>node-831315d9-7157-4e7b-bd86-5797041d01e6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-11 22:34:37 |

2020-09-11 22:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:37 | ------------------------------------

2020-09-11 22:34:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-831315d9-7157-4e7b-bd86-5797041d01e6)</node-pattern></data>

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

subscribeNodes 1.151s
2020-09-11 22:34:36 |

2020-09-11 22:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:36 | ------------------------------------

2020-09-11 22:34:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-831315d9-7157-4e7b-bd86-5797041d01e6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-11 22:34: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.328s
2020-09-11 22:34:38 |

2020-09-11 22:34:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:34:38 | ------------------------------------

2020-09-11 22:34:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-831315d9-7157-4e7b-bd86-5797041d01e6</node><jids><value>admin@test-domain.com</value></jids></data>

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