Generated by TestNG with ReportNG at 23:36 PDT on Monday 28 September 2020
root@c4d4cd81149d / 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.094s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.088s
2020-09-28 23:54:32 |

2020-09-28 23:54:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:32 | ------------------------------------

2020-09-28 23:54:32 | [Mutex] waiting for: [configured:node:node-84ed43f8-ae1c-4fae-8045-0b0c8d003233:node-8670d0e5-72a4-4be1-89b8-d66252e513d3]

2020-09-28 23:54:32 | [Mutex] received everything.

2020-09-28 23:54:32 | [Mutex] isItemNotified: configured:node:node-84ed43f8-ae1c-4fae-8045-0b0c8d003233:node-8670d0e5-72a4-4be1-89b8-d66252e513d3 :: true

2020-09-28 23:54:33 | [Mutex] waiting for: [received:nodes:ffee10f2-fcef-4af9-9ee6-30a093a7a505:localhost]

2020-09-28 23:54:33 | [Mutex] received everything.

2020-09-28 23:54:33 | [Mutex] isItemNotified: received:node:ffee10f2-fcef-4af9-9ee6-30a093a7a505:localhost:node-84ed43f8-ae1c-4fae-8045-0b0c8d003233:Node 84ed43f8-ae1c-4fae-8045-0b0c8d003233 :: true

2020-09-28 23:54:33 | [Mutex] waiting for: [received:nodes:5118b0db-eeda-45f1-b64e-843fb23db804:localhost]

2020-09-28 23:54:33 | [Mutex] received everything.

2020-09-28 23:54:33 | [Mutex] isItemNotified: received:node:5118b0db-eeda-45f1-b64e-843fb23db804:localhost:node-84ed43f8-ae1c-4fae-8045-0b0c8d003233:Node 84ed43f8-ae1c-4fae-8045-0b0c8d003233 :: false

createNodes 1.517s
2020-09-28 23:54:29 |

2020-09-28 23:54:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:29 | ------------------------------------

2020-09-28 23:54:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-84ed43f8-ae1c-4fae-8045-0b0c8d003233</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 84ed43f8-ae1c-4fae-8045-0b0c8d003233</title></pubsub></data>

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

2020-09-28 23:54:31 | [Mutex] waiting for: [received:nodes:c3ee5be4-c66c-4b43-894e-0ccaf7f27d5e:localhost]

2020-09-28 23:54:31 | [Mutex] waiting for: [received:nodes:c3ee5be4-c66c-4b43-894e-0ccaf7f27d5e:localhost]

2020-09-28 23:54:31 | [Mutex] waiting for: [received:nodes:c3ee5be4-c66c-4b43-894e-0ccaf7f27d5e:localhost]

2020-09-28 23:54:31 | [Mutex] received everything.

2020-09-28 23:54:31 | [Mutex] isItemNotified: received:node:c3ee5be4-c66c-4b43-894e-0ccaf7f27d5e:localhost:node-84ed43f8-ae1c-4fae-8045-0b0c8d003233:Node 84ed43f8-ae1c-4fae-8045-0b0c8d003233 :: true

createSubnodes 1.022s
2020-09-28 23:54:31 |

2020-09-28 23:54:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:31 | ------------------------------------

2020-09-28 23:54:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8670d0e5-72a4-4be1-89b8-d66252e513d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8670d0e5-72a4-4be1-89b8-d66252e513d3</title></pubsub></data>

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

2020-09-28 23:54:32 | [Mutex] waiting for: [received:nodes:2ef00ee3-7d00-4af2-8df9-7d02bdbc182d:localhost]

2020-09-28 23:54:32 | [Mutex] received everything.

2020-09-28 23:54:32 | [Mutex] isItemNotified: received:node:2ef00ee3-7d00-4af2-8df9-7d02bdbc182d:localhost:node-8670d0e5-72a4-4be1-89b8-d66252e513d3:Node 8670d0e5-72a4-4be1-89b8-d66252e513d3 :: true

deleteNodes 1.021s
2020-09-28 23:54:37 |

2020-09-28 23:54:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:37 | ------------------------------------

2020-09-28 23:54:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8670d0e5-72a4-4be1-89b8-d66252e513d3</node></data>

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

2020-09-28 23:54:38 | [Mutex] waiting for: [received:nodes:06d8dbde-83f9-447f-ba40-f4734025f0b9:localhost]

2020-09-28 23:54:38 | [Mutex] waiting for: [received:nodes:06d8dbde-83f9-447f-ba40-f4734025f0b9:localhost]

2020-09-28 23:54:38 | [Mutex] waiting for: [received:nodes:06d8dbde-83f9-447f-ba40-f4734025f0b9:localhost]

2020-09-28 23:54:38 | [Mutex] received everything.

2020-09-28 23:54:38 | [Mutex] isItemNotified: received:node:06d8dbde-83f9-447f-ba40-f4734025f0b9:localhost:node-8670d0e5-72a4-4be1-89b8-d66252e513d3:Node 8670d0e5-72a4-4be1-89b8-d66252e513d3 :: false

deleteSubnodes 1.151s
2020-09-28 23:54:36 |

2020-09-28 23:54:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:36 | ------------------------------------

2020-09-28 23:54:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-84ed43f8-ae1c-4fae-8045-0b0c8d003233</node></data>

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

2020-09-28 23:54:37 | [Mutex] waiting for: [received:nodes:3454d44a-4404-4265-a470-2eb5db8cb44c:localhost]

2020-09-28 23:54:37 | [Mutex] waiting for: [received:nodes:3454d44a-4404-4265-a470-2eb5db8cb44c:localhost]

2020-09-28 23:54:37 | [Mutex] received everything.

2020-09-28 23:54:37 | [Mutex] isItemNotified: received:node:3454d44a-4404-4265-a470-2eb5db8cb44c:localhost:node-84ed43f8-ae1c-4fae-8045-0b0c8d003233:Node 84ed43f8-ae1c-4fae-8045-0b0c8d003233 :: false

2020-09-28 23:54:37 | [Mutex] waiting for: [received:nodes:fb426fb8-82c7-41e6-8ef8-75106797df4e:localhost]

2020-09-28 23:54:37 | [Mutex] received everything.

2020-09-28 23:54:37 | [Mutex] isItemNotified: received:node:fb426fb8-82c7-41e6-8ef8-75106797df4e:localhost:node-84ed43f8-ae1c-4fae-8045-0b0c8d003233:Node 84ed43f8-ae1c-4fae-8045-0b0c8d003233 :: false

publishItemsToNodes 0.239s
2020-09-28 23:54:34 |

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

2020-09-28 23:54:34 | ------------------------------------

2020-09-28 23:54:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-84ed43f8-ae1c-4fae-8045-0b0c8d003233</node><item-id>item-d19956af-9c22-49ac-9635-0dfe93dd8ebf</item-id><entry><test>item-d19956af-9c22-49ac-9635-0dfe93dd8ebf</test></entry></data>

2020-09-28 23:54:34 | 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-d19956af-9c22-49ac-9635-0dfe93dd8ebf</value></item-id></result>

2020-09-28 23:54:34 | [Mutex] received everything.

2020-09-28 23:54:34 | [Mutex] isItemNotified: published:item:notifieditem-d19956af-9c22-49ac-9635-0dfe93dd8ebf:admin@test-domain.com :: true

retractItemsFromNodes 0.297s
2020-09-28 23:54:35 |

2020-09-28 23:54:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:35 | ------------------------------------

2020-09-28 23:54:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-84ed43f8-ae1c-4fae-8045-0b0c8d003233</node><item-id>item-d19956af-9c22-49ac-9635-0dfe93dd8ebf</item-id></data>

2020-09-28 23:54:35 | 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-d19956af-9c22-49ac-9635-0dfe93dd8ebf</value></item-id></result>

2020-09-28 23:54:35 | [Mutex] waiting for: [retracted:item:notifieditem-d19956af-9c22-49ac-9635-0dfe93dd8ebf:admin@test-domain.com]

2020-09-28 23:54:35 | [Mutex] received everything.

2020-09-28 23:54:35 | [Mutex] isItemNotified: retracted:item:notifieditem-d19956af-9c22-49ac-9635-0dfe93dd8ebf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.248s
2020-09-28 23:54:34 |

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

2020-09-28 23:54:34 | ------------------------------------

2020-09-28 23:54:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-84ed43f8-ae1c-4fae-8045-0b0c8d003233</node><item-id>item-d19956af-9c22-49ac-9635-0dfe93dd8ebf</item-id></data>

2020-09-28 23:54:35 | 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-84ed43f8-ae1c-4fae-8045-0b0c8d003233</value></node><item-id label="Item ID" type="text-single"><value>item-d19956af-9c22-49ac-9635-0dfe93dd8ebf</value></item-id><item label="Item" type="text-multi"><value><item id="item-d19956af-9c22-49ac-9635-0dfe93dd8ebf"><test>item-d19956af-9c22-49ac-9635-0dfe93dd8ebf</test></item></value></item></result>

2020-09-28 23:54:35 | [Mutex] notify: [retrieved:item:item-d19956af-9c22-49ac-9635-0dfe93dd8ebf:payload-matches:true:localhost]

2020-09-28 23:54:35 | [Mutex] received everything.

2020-09-28 23:54:35 | [Mutex] isItemNotified: retrieved:item:item-d19956af-9c22-49ac-9635-0dfe93dd8ebf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-28 23:54:35 |

2020-09-28 23:54:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:35 | ------------------------------------

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

2020-09-28 23:54:35 | 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-84ed43f8-ae1c-4fae-8045-0b0c8d003233</value><value>node-8670d0e5-72a4-4be1-89b8-d66252e513d3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-28 23:54:35 |

2020-09-28 23:54:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:35 | ------------------------------------

2020-09-28 23:54:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-84ed43f8-ae1c-4fae-8045-0b0c8d003233)</node-pattern></data>

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

subscribeNodes 1.109s
2020-09-28 23:54:33 |

2020-09-28 23:54:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:33 | ------------------------------------

2020-09-28 23:54:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-84ed43f8-ae1c-4fae-8045-0b0c8d003233</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.333s
2020-09-28 23:54:35 |

2020-09-28 23:54:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-28 23:54:35 | ------------------------------------

2020-09-28 23:54:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-84ed43f8-ae1c-4fae-8045-0b0c8d003233</node><jids><value>admin@test-domain.com</value></jids></data>

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