Generated by TestNG with ReportNG at 21:29 PST on Monday 15 November 2021
root@b2c2a8eba6e6 / 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.230s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2021-11-15 21:44:11 |

2021-11-15 21:44:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:11 | ------------------------------------

2021-11-15 21:44:11 | [Mutex] waiting for: [configured:node:node-a1394774-34fe-4a78-8212-0b5de418cf0c:node-88e93fe8-806d-4038-b1da-4a43aca10ef9]

2021-11-15 21:44:11 | [Mutex] received everything.

2021-11-15 21:44:11 | [Mutex] isItemNotified: configured:node:node-a1394774-34fe-4a78-8212-0b5de418cf0c:node-88e93fe8-806d-4038-b1da-4a43aca10ef9 :: true

2021-11-15 21:44:12 | [Mutex] waiting for: [received:nodes:55fe3969-97ce-4772-b4b7-ca70d7e9c2e3:localhost]

2021-11-15 21:44:12 | [Mutex] waiting for: [received:nodes:55fe3969-97ce-4772-b4b7-ca70d7e9c2e3:localhost]

2021-11-15 21:44:12 | [Mutex] received everything.

2021-11-15 21:44:12 | [Mutex] isItemNotified: received:node:55fe3969-97ce-4772-b4b7-ca70d7e9c2e3:localhost:node-a1394774-34fe-4a78-8212-0b5de418cf0c:Node a1394774-34fe-4a78-8212-0b5de418cf0c :: true

2021-11-15 21:44:12 | [Mutex] waiting for: [received:nodes:d08e1a63-7938-4896-a128-24b901d87a7d:localhost]

2021-11-15 21:44:12 | [Mutex] waiting for: [received:nodes:d08e1a63-7938-4896-a128-24b901d87a7d:localhost]

2021-11-15 21:44:12 | [Mutex] received everything.

2021-11-15 21:44:12 | [Mutex] isItemNotified: received:node:d08e1a63-7938-4896-a128-24b901d87a7d:localhost:node-a1394774-34fe-4a78-8212-0b5de418cf0c:Node a1394774-34fe-4a78-8212-0b5de418cf0c :: false

createNodes 1.508s
2021-11-15 21:44:08 |

2021-11-15 21:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:08 | ------------------------------------

2021-11-15 21:44:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a1394774-34fe-4a78-8212-0b5de418cf0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1394774-34fe-4a78-8212-0b5de418cf0c</title></pubsub></data>

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

2021-11-15 21:44:10 | [Mutex] waiting for: [received:nodes:7259be91-98c4-4bcd-8412-251589b93533:localhost]

2021-11-15 21:44:10 | [Mutex] received everything.

2021-11-15 21:44:10 | [Mutex] isItemNotified: received:node:7259be91-98c4-4bcd-8412-251589b93533:localhost:node-a1394774-34fe-4a78-8212-0b5de418cf0c:Node a1394774-34fe-4a78-8212-0b5de418cf0c :: true

createSubnodes 1.028s
2021-11-15 21:44:10 |

2021-11-15 21:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:10 | ------------------------------------

2021-11-15 21:44:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-88e93fe8-806d-4038-b1da-4a43aca10ef9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 88e93fe8-806d-4038-b1da-4a43aca10ef9</title></pubsub></data>

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

2021-11-15 21:44:11 | [Mutex] waiting for: [received:nodes:ba874d80-3248-45c8-b6b7-91486ac8a354:localhost]

2021-11-15 21:44:11 | [Mutex] received everything.

2021-11-15 21:44:11 | [Mutex] isItemNotified: received:node:ba874d80-3248-45c8-b6b7-91486ac8a354:localhost:node-88e93fe8-806d-4038-b1da-4a43aca10ef9:Node 88e93fe8-806d-4038-b1da-4a43aca10ef9 :: true

deleteNodes 1.019s
2021-11-15 21:44:17 |

2021-11-15 21:44:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:17 | ------------------------------------

2021-11-15 21:44:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-88e93fe8-806d-4038-b1da-4a43aca10ef9</node></data>

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

2021-11-15 21:44:18 | [Mutex] waiting for: [received:nodes:d7588cfe-4a11-4e31-850b-955ddf985704:localhost]

2021-11-15 21:44:18 | [Mutex] received everything.

2021-11-15 21:44:18 | [Mutex] isItemNotified: received:node:d7588cfe-4a11-4e31-850b-955ddf985704:localhost:node-88e93fe8-806d-4038-b1da-4a43aca10ef9:Node 88e93fe8-806d-4038-b1da-4a43aca10ef9 :: false

deleteSubnodes 1.170s
2021-11-15 21:44:15 |

2021-11-15 21:44:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:15 | ------------------------------------

2021-11-15 21:44:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a1394774-34fe-4a78-8212-0b5de418cf0c</node></data>

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

2021-11-15 21:44:17 | [Mutex] waiting for: [received:nodes:8736b485-59ed-49ee-998e-5217820c88a8:localhost]

2021-11-15 21:44:17 | [Mutex] received everything.

2021-11-15 21:44:17 | [Mutex] isItemNotified: received:node:8736b485-59ed-49ee-998e-5217820c88a8:localhost:node-a1394774-34fe-4a78-8212-0b5de418cf0c:Node a1394774-34fe-4a78-8212-0b5de418cf0c :: false

2021-11-15 21:44:17 | [Mutex] waiting for: [received:nodes:7dc83392-9a28-4204-b645-d5dcb83f9718:localhost]

2021-11-15 21:44:17 | [Mutex] received everything.

2021-11-15 21:44:17 | [Mutex] isItemNotified: received:node:7dc83392-9a28-4204-b645-d5dcb83f9718:localhost:node-a1394774-34fe-4a78-8212-0b5de418cf0c:Node a1394774-34fe-4a78-8212-0b5de418cf0c :: false

publishItemsToNodes 0.264s
2021-11-15 21:44:13 |

2021-11-15 21:44:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:13 | ------------------------------------

2021-11-15 21:44:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a1394774-34fe-4a78-8212-0b5de418cf0c</node><item-id>item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</item-id><entry><test>item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</test></entry></data>

2021-11-15 21:44:13 | 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-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</value></item-id></result>

2021-11-15 21:44:13 | [Mutex] waiting for: [published:item:notifieditem-1d18ee10-2a61-45ad-a4a3-72cc258f21e0:admin@test-domain.com]

2021-11-15 21:44:13 | [Mutex] received everything.

2021-11-15 21:44:13 | [Mutex] isItemNotified: published:item:notifieditem-1d18ee10-2a61-45ad-a4a3-72cc258f21e0:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-11-15 21:44:14 |

2021-11-15 21:44:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:14 | ------------------------------------

2021-11-15 21:44:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a1394774-34fe-4a78-8212-0b5de418cf0c</node><item-id>item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</item-id></data>

2021-11-15 21:44:14 | 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-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</value></item-id></result>

2021-11-15 21:44:14 | [Mutex] received everything.

2021-11-15 21:44:14 | [Mutex] isItemNotified: retracted:item:notifieditem-1d18ee10-2a61-45ad-a4a3-72cc258f21e0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.432s
2021-11-15 21:44:13 |

2021-11-15 21:44:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:13 | ------------------------------------

2021-11-15 21:44:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a1394774-34fe-4a78-8212-0b5de418cf0c</node><item-id>item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</item-id></data>

2021-11-15 21:44:14 | 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-a1394774-34fe-4a78-8212-0b5de418cf0c</value></node><item-id label="Item ID" type="text-single"><value>item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</value></item-id><item label="Item" type="text-multi"><value><item id="item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0"><test>item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0</test></item></value></item></result>

2021-11-15 21:44:14 | [Mutex] notify: [retrieved:item:item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0:payload-matches:true:localhost]

2021-11-15 21:44:14 | [Mutex] received everything.

2021-11-15 21:44:14 | [Mutex] isItemNotified: retrieved:item:item-1d18ee10-2a61-45ad-a4a3-72cc258f21e0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-11-15 21:44:14 |

2021-11-15 21:44:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:14 | ------------------------------------

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

2021-11-15 21:44:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-88e93fe8-806d-4038-b1da-4a43aca10ef9</value><value>test</value><value>node-a1394774-34fe-4a78-8212-0b5de418cf0c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-11-15 21:44:14 |

2021-11-15 21:44:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:14 | ------------------------------------

2021-11-15 21:44:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a1394774-34fe-4a78-8212-0b5de418cf0c)</node-pattern></data>

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

subscribeNodes 1.176s
2021-11-15 21:44:12 |

2021-11-15 21:44:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:12 | ------------------------------------

2021-11-15 21:44:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a1394774-34fe-4a78-8212-0b5de418cf0c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.267s
2021-11-15 21:44:14 |

2021-11-15 21:44:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 21:44:14 | ------------------------------------

2021-11-15 21:44:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a1394774-34fe-4a78-8212-0b5de418cf0c</node><jids><value>admin@test-domain.com</value></jids></data>

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