Generated by TestNG with ReportNG at 22:15 PDT on Sunday 13 September 2020
root@78194536c5e4 / 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.919s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2020-09-13 22:32:20 |

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

2020-09-13 22:32:20 | ------------------------------------

2020-09-13 22:32:20 | [Mutex] waiting for: [configured:node:node-13233774-01ce-4a45-a56a-74e8614d2a46:node-53ad9d0f-5fba-47d1-b975-2b8bee622932]

2020-09-13 22:32:21 | [Mutex] received everything.

2020-09-13 22:32:21 | [Mutex] isItemNotified: configured:node:node-13233774-01ce-4a45-a56a-74e8614d2a46:node-53ad9d0f-5fba-47d1-b975-2b8bee622932 :: true

2020-09-13 22:32:22 | [Mutex] waiting for: [received:nodes:e3b2522b-5c91-4535-b352-45d849e74d3f:localhost]

2020-09-13 22:32:22 | [Mutex] received everything.

2020-09-13 22:32:22 | [Mutex] isItemNotified: received:node:e3b2522b-5c91-4535-b352-45d849e74d3f:localhost:node-13233774-01ce-4a45-a56a-74e8614d2a46:Node 13233774-01ce-4a45-a56a-74e8614d2a46 :: true

2020-09-13 22:32:22 | [Mutex] waiting for: [received:nodes:fd2478cc-e610-4d55-bd57-1a0da44ccc0c:localhost]

2020-09-13 22:32:22 | [Mutex] received everything.

2020-09-13 22:32:22 | [Mutex] isItemNotified: received:node:fd2478cc-e610-4d55-bd57-1a0da44ccc0c:localhost:node-13233774-01ce-4a45-a56a-74e8614d2a46:Node 13233774-01ce-4a45-a56a-74e8614d2a46 :: false

createNodes 1.468s
2020-09-13 22:32:18 |

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

2020-09-13 22:32:18 | ------------------------------------

2020-09-13 22:32:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-13233774-01ce-4a45-a56a-74e8614d2a46</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 13233774-01ce-4a45-a56a-74e8614d2a46</title></pubsub></data>

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

2020-09-13 22:32:19 | [Mutex] waiting for: [received:nodes:94e4531a-f7ce-4673-8311-dbc5637a52e1:localhost]

2020-09-13 22:32:19 | [Mutex] received everything.

2020-09-13 22:32:19 | [Mutex] isItemNotified: received:node:94e4531a-f7ce-4673-8311-dbc5637a52e1:localhost:node-13233774-01ce-4a45-a56a-74e8614d2a46:Node 13233774-01ce-4a45-a56a-74e8614d2a46 :: true

createSubnodes 1.023s
2020-09-13 22:32:19 |

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

2020-09-13 22:32:19 | ------------------------------------

2020-09-13 22:32:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-53ad9d0f-5fba-47d1-b975-2b8bee622932</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 53ad9d0f-5fba-47d1-b975-2b8bee622932</title></pubsub></data>

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

2020-09-13 22:32:20 | [Mutex] waiting for: [received:nodes:cc3fddcf-d2a7-43ed-8910-f1c2c37d46fe:localhost]

2020-09-13 22:32:20 | [Mutex] received everything.

2020-09-13 22:32:20 | [Mutex] isItemNotified: received:node:cc3fddcf-d2a7-43ed-8910-f1c2c37d46fe:localhost:node-53ad9d0f-5fba-47d1-b975-2b8bee622932:Node 53ad9d0f-5fba-47d1-b975-2b8bee622932 :: true

deleteNodes 1.017s
2020-09-13 22:32:26 |

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

2020-09-13 22:32:26 | ------------------------------------

2020-09-13 22:32:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-53ad9d0f-5fba-47d1-b975-2b8bee622932</node></data>

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

2020-09-13 22:32:27 | [Mutex] waiting for: [received:nodes:a05b755f-49b0-4b65-b3e9-6197f8952897:localhost]

2020-09-13 22:32:27 | [Mutex] received everything.

2020-09-13 22:32:27 | [Mutex] isItemNotified: received:node:a05b755f-49b0-4b65-b3e9-6197f8952897:localhost:node-53ad9d0f-5fba-47d1-b975-2b8bee622932:Node 53ad9d0f-5fba-47d1-b975-2b8bee622932 :: false

deleteSubnodes 1.126s
2020-09-13 22:32:25 |

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

2020-09-13 22:32:25 | ------------------------------------

2020-09-13 22:32:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-13233774-01ce-4a45-a56a-74e8614d2a46</node></data>

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

2020-09-13 22:32:26 | [Mutex] waiting for: [received:nodes:6060ced0-13c2-491e-acb4-912d4f544935:localhost]

2020-09-13 22:32:26 | [Mutex] received everything.

2020-09-13 22:32:26 | [Mutex] isItemNotified: received:node:6060ced0-13c2-491e-acb4-912d4f544935:localhost:node-13233774-01ce-4a45-a56a-74e8614d2a46:Node 13233774-01ce-4a45-a56a-74e8614d2a46 :: false

2020-09-13 22:32:26 | [Mutex] waiting for: [received:nodes:8389af01-5740-4765-b924-c88769e9ddfa:localhost]

2020-09-13 22:32:26 | [Mutex] received everything.

2020-09-13 22:32:26 | [Mutex] isItemNotified: received:node:8389af01-5740-4765-b924-c88769e9ddfa:localhost:node-13233774-01ce-4a45-a56a-74e8614d2a46:Node 13233774-01ce-4a45-a56a-74e8614d2a46 :: false

publishItemsToNodes 0.258s
2020-09-13 22:32:23 |

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

2020-09-13 22:32:23 | ------------------------------------

2020-09-13 22:32:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-13233774-01ce-4a45-a56a-74e8614d2a46</node><item-id>item-1bef74b5-2266-4a87-a795-0c69cbece753</item-id><entry><test>item-1bef74b5-2266-4a87-a795-0c69cbece753</test></entry></data>

2020-09-13 22:32:23 | 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-1bef74b5-2266-4a87-a795-0c69cbece753</value></item-id></result>

2020-09-13 22:32:23 | [Mutex] received everything.

2020-09-13 22:32:23 | [Mutex] isItemNotified: published:item:notifieditem-1bef74b5-2266-4a87-a795-0c69cbece753:admin@test-domain.com :: true

retractItemsFromNodes 0.171s
2020-09-13 22:32:23 |

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

2020-09-13 22:32:23 | ------------------------------------

2020-09-13 22:32:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-13233774-01ce-4a45-a56a-74e8614d2a46</node><item-id>item-1bef74b5-2266-4a87-a795-0c69cbece753</item-id></data>

2020-09-13 22:32:24 | 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-1bef74b5-2266-4a87-a795-0c69cbece753</value></item-id></result>

2020-09-13 22:32:24 | [Mutex] received everything.

2020-09-13 22:32:24 | [Mutex] isItemNotified: retracted:item:notifieditem-1bef74b5-2266-4a87-a795-0c69cbece753:admin@test-domain.com :: true

retrieveItemsFromNodes 0.257s
2020-09-13 22:32:23 |

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

2020-09-13 22:32:23 | ------------------------------------

2020-09-13 22:32:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-13233774-01ce-4a45-a56a-74e8614d2a46</node><item-id>item-1bef74b5-2266-4a87-a795-0c69cbece753</item-id></data>

2020-09-13 22:32:23 | 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-13233774-01ce-4a45-a56a-74e8614d2a46</value></node><item-id label="Item ID" type="text-single"><value>item-1bef74b5-2266-4a87-a795-0c69cbece753</value></item-id><item label="Item" type="text-multi"><value><item id="item-1bef74b5-2266-4a87-a795-0c69cbece753"><test>item-1bef74b5-2266-4a87-a795-0c69cbece753</test></item></value></item></result>

2020-09-13 22:32:23 | [Mutex] notify: [retrieved:item:item-1bef74b5-2266-4a87-a795-0c69cbece753:payload-matches:true:localhost]

2020-09-13 22:32:23 | [Mutex] received everything.

2020-09-13 22:32:23 | [Mutex] isItemNotified: retrieved:item:item-1bef74b5-2266-4a87-a795-0c69cbece753:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-13 22:32:23 |

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

2020-09-13 22:32:23 | ------------------------------------

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

2020-09-13 22:32:23 | 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-53ad9d0f-5fba-47d1-b975-2b8bee622932</value><value>node-13233774-01ce-4a45-a56a-74e8614d2a46</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-13 22:32:23 |

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

2020-09-13 22:32:23 | ------------------------------------

2020-09-13 22:32:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-13233774-01ce-4a45-a56a-74e8614d2a46)</node-pattern></data>

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

subscribeNodes 1.121s
2020-09-13 22:32:22 |

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

2020-09-13 22:32:22 | ------------------------------------

2020-09-13 22:32:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-13233774-01ce-4a45-a56a-74e8614d2a46</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.188s
2020-09-13 22:32:24 |

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

2020-09-13 22:32:24 | ------------------------------------

2020-09-13 22:32:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-13233774-01ce-4a45-a56a-74e8614d2a46</node><jids><value>admin@test-domain.com</value></jids></data>

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