Generated by TestNG with ReportNG at 22:59 PDT on Wednesday 16 September 2020
root@e2a92dd2f4be / 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.820s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2020-09-16 23:14:49 |

2020-09-16 23:14:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:49 | ------------------------------------

2020-09-16 23:14:49 | [Mutex] waiting for: [configured:node:node-216c6213-1873-48df-b6fc-3d394baf49d3:node-492dd327-e154-4055-98dd-34ab3ee65100]

2020-09-16 23:14:49 | [Mutex] received everything.

2020-09-16 23:14:49 | [Mutex] isItemNotified: configured:node:node-216c6213-1873-48df-b6fc-3d394baf49d3:node-492dd327-e154-4055-98dd-34ab3ee65100 :: true

2020-09-16 23:14:50 | [Mutex] waiting for: [received:nodes:722ad11e-b0a6-4499-9f0b-99fbffece850:localhost]

2020-09-16 23:14:50 | [Mutex] waiting for: [received:nodes:722ad11e-b0a6-4499-9f0b-99fbffece850:localhost]

2020-09-16 23:14:50 | [Mutex] received everything.

2020-09-16 23:14:50 | [Mutex] isItemNotified: received:node:722ad11e-b0a6-4499-9f0b-99fbffece850:localhost:node-216c6213-1873-48df-b6fc-3d394baf49d3:Node 216c6213-1873-48df-b6fc-3d394baf49d3 :: true

2020-09-16 23:14:50 | [Mutex] waiting for: [received:nodes:dcca98e5-7bae-4a2b-bb37-8d6c47a8147c:localhost]

2020-09-16 23:14:50 | [Mutex] received everything.

2020-09-16 23:14:50 | [Mutex] isItemNotified: received:node:dcca98e5-7bae-4a2b-bb37-8d6c47a8147c:localhost:node-216c6213-1873-48df-b6fc-3d394baf49d3:Node 216c6213-1873-48df-b6fc-3d394baf49d3 :: false

createNodes 1.458s
2020-09-16 23:14:47 |

2020-09-16 23:14:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:47 | ------------------------------------

2020-09-16 23:14:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-216c6213-1873-48df-b6fc-3d394baf49d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 216c6213-1873-48df-b6fc-3d394baf49d3</title></pubsub></data>

2020-09-16 23:14:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:14:48 | [Mutex] waiting for: [received:nodes:ffeb8888-dc11-4207-8a9c-a8f5476b679c:localhost]

2020-09-16 23:14:48 | [Mutex] received everything.

2020-09-16 23:14:48 | [Mutex] isItemNotified: received:node:ffeb8888-dc11-4207-8a9c-a8f5476b679c:localhost:node-216c6213-1873-48df-b6fc-3d394baf49d3:Node 216c6213-1873-48df-b6fc-3d394baf49d3 :: true

createSubnodes 1.031s
2020-09-16 23:14:48 |

2020-09-16 23:14:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:48 | ------------------------------------

2020-09-16 23:14:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-492dd327-e154-4055-98dd-34ab3ee65100</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 492dd327-e154-4055-98dd-34ab3ee65100</title></pubsub></data>

2020-09-16 23:14:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:14:49 | [Mutex] waiting for: [received:nodes:19e4e580-45c4-46ae-b7e0-898cac9eba6f:localhost]

2020-09-16 23:14:49 | [Mutex] received everything.

2020-09-16 23:14:49 | [Mutex] isItemNotified: received:node:19e4e580-45c4-46ae-b7e0-898cac9eba6f:localhost:node-492dd327-e154-4055-98dd-34ab3ee65100:Node 492dd327-e154-4055-98dd-34ab3ee65100 :: true

deleteNodes 1.024s
2020-09-16 23:14:55 |

2020-09-16 23:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:55 | ------------------------------------

2020-09-16 23:14:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-492dd327-e154-4055-98dd-34ab3ee65100</node></data>

2020-09-16 23:14:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:14:56 | [Mutex] waiting for: [received:nodes:ad800ce0-3899-421a-b9b7-e8374d8a10d1:localhost]

2020-09-16 23:14:56 | [Mutex] waiting for: [received:nodes:ad800ce0-3899-421a-b9b7-e8374d8a10d1:localhost]

2020-09-16 23:14:56 | [Mutex] received everything.

2020-09-16 23:14:56 | [Mutex] isItemNotified: received:node:ad800ce0-3899-421a-b9b7-e8374d8a10d1:localhost:node-492dd327-e154-4055-98dd-34ab3ee65100:Node 492dd327-e154-4055-98dd-34ab3ee65100 :: false

deleteSubnodes 1.111s
2020-09-16 23:14:53 |

2020-09-16 23:14:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:53 | ------------------------------------

2020-09-16 23:14:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-216c6213-1873-48df-b6fc-3d394baf49d3</node></data>

2020-09-16 23:14:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:14:54 | [Mutex] waiting for: [received:nodes:7b4acd45-61c7-4cdb-87d4-6186aaf853fa:localhost]

2020-09-16 23:14:54 | [Mutex] received everything.

2020-09-16 23:14:54 | [Mutex] isItemNotified: received:node:7b4acd45-61c7-4cdb-87d4-6186aaf853fa:localhost:node-216c6213-1873-48df-b6fc-3d394baf49d3:Node 216c6213-1873-48df-b6fc-3d394baf49d3 :: false

2020-09-16 23:14:54 | [Mutex] waiting for: [received:nodes:2dd6a76d-0095-48cd-9aa9-b09c56faa120:localhost]

2020-09-16 23:14:55 | [Mutex] received everything.

2020-09-16 23:14:55 | [Mutex] isItemNotified: received:node:2dd6a76d-0095-48cd-9aa9-b09c56faa120:localhost:node-216c6213-1873-48df-b6fc-3d394baf49d3:Node 216c6213-1873-48df-b6fc-3d394baf49d3 :: false

publishItemsToNodes 0.217s
2020-09-16 23:14:51 |

2020-09-16 23:14:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:51 | ------------------------------------

2020-09-16 23:14:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-216c6213-1873-48df-b6fc-3d394baf49d3</node><item-id>item-36a0ed42-a09f-4cce-9a37-54a936ed05ff</item-id><entry><test>item-36a0ed42-a09f-4cce-9a37-54a936ed05ff</test></entry></data>

2020-09-16 23:14:52 | 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-36a0ed42-a09f-4cce-9a37-54a936ed05ff</value></item-id></result>

2020-09-16 23:14:52 | [Mutex] waiting for: [published:item:notifieditem-36a0ed42-a09f-4cce-9a37-54a936ed05ff:admin@test-domain.com]

2020-09-16 23:14:52 | [Mutex] received everything.

2020-09-16 23:14:52 | [Mutex] isItemNotified: published:item:notifieditem-36a0ed42-a09f-4cce-9a37-54a936ed05ff:admin@test-domain.com :: true

retractItemsFromNodes 0.208s
2020-09-16 23:14:52 |

2020-09-16 23:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:52 | ------------------------------------

2020-09-16 23:14:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-216c6213-1873-48df-b6fc-3d394baf49d3</node><item-id>item-36a0ed42-a09f-4cce-9a37-54a936ed05ff</item-id></data>

2020-09-16 23:14:52 | 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-36a0ed42-a09f-4cce-9a37-54a936ed05ff</value></item-id></result>

2020-09-16 23:14:52 | [Mutex] received everything.

2020-09-16 23:14:52 | [Mutex] isItemNotified: retracted:item:notifieditem-36a0ed42-a09f-4cce-9a37-54a936ed05ff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.239s
2020-09-16 23:14:52 |

2020-09-16 23:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:52 | ------------------------------------

2020-09-16 23:14:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-216c6213-1873-48df-b6fc-3d394baf49d3</node><item-id>item-36a0ed42-a09f-4cce-9a37-54a936ed05ff</item-id></data>

2020-09-16 23:14:52 | 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-216c6213-1873-48df-b6fc-3d394baf49d3</value></node><item-id label="Item ID" type="text-single"><value>item-36a0ed42-a09f-4cce-9a37-54a936ed05ff</value></item-id><item label="Item" type="text-multi"><value><item id="item-36a0ed42-a09f-4cce-9a37-54a936ed05ff"><test>item-36a0ed42-a09f-4cce-9a37-54a936ed05ff</test></item></value></item></result>

2020-09-16 23:14:52 | [Mutex] notify: [retrieved:item:item-36a0ed42-a09f-4cce-9a37-54a936ed05ff:payload-matches:true:localhost]

2020-09-16 23:14:52 | [Mutex] received everything.

2020-09-16 23:14:52 | [Mutex] isItemNotified: retrieved:item:item-36a0ed42-a09f-4cce-9a37-54a936ed05ff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-09-16 23:14:52 |

2020-09-16 23:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:52 | ------------------------------------

2020-09-16 23:14:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-16 23:14:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-216c6213-1873-48df-b6fc-3d394baf49d3</value><value>test</value><value>node-492dd327-e154-4055-98dd-34ab3ee65100</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-09-16 23:14:52 |

2020-09-16 23:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:52 | ------------------------------------

2020-09-16 23:14:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-216c6213-1873-48df-b6fc-3d394baf49d3)</node-pattern></data>

2020-09-16 23:14:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.119s
2020-09-16 23:14:50 |

2020-09-16 23:14:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:50 | ------------------------------------

2020-09-16 23:14:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-216c6213-1873-48df-b6fc-3d394baf49d3</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-16 23:14:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.230s
2020-09-16 23:14:52 |

2020-09-16 23:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:14:52 | ------------------------------------

2020-09-16 23:14:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-216c6213-1873-48df-b6fc-3d394baf49d3</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-16 23:14:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>