Generated by TestNG with ReportNG at 22:42 PDT on Sunday 20 September 2020
root@1a41183091ef / 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.754s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2020-09-20 22:59:26 |

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

2020-09-20 22:59:26 | ------------------------------------

2020-09-20 22:59:26 | [Mutex] waiting for: [configured:node:node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a:node-18fa7284-d520-4afc-ac3d-1c995b201060]

2020-09-20 22:59:26 | [Mutex] received everything.

2020-09-20 22:59:26 | [Mutex] isItemNotified: configured:node:node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a:node-18fa7284-d520-4afc-ac3d-1c995b201060 :: true

2020-09-20 22:59:27 | [Mutex] waiting for: [received:nodes:aa6a1133-8cf5-40e2-990f-c10908043ed5:localhost]

2020-09-20 22:59:27 | [Mutex] received everything.

2020-09-20 22:59:27 | [Mutex] isItemNotified: received:node:aa6a1133-8cf5-40e2-990f-c10908043ed5:localhost:node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a:Node 05dc7d08-0427-4d07-91ed-3ed69baf5c1a :: true

2020-09-20 22:59:27 | [Mutex] waiting for: [received:nodes:f497b25a-352c-4b7f-9fa8-813926f92f50:localhost]

2020-09-20 22:59:27 | [Mutex] waiting for: [received:nodes:f497b25a-352c-4b7f-9fa8-813926f92f50:localhost]

2020-09-20 22:59:27 | [Mutex] received everything.

2020-09-20 22:59:27 | [Mutex] isItemNotified: received:node:f497b25a-352c-4b7f-9fa8-813926f92f50:localhost:node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a:Node 05dc7d08-0427-4d07-91ed-3ed69baf5c1a :: false

createNodes 1.501s
2020-09-20 22:59:23 |

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

2020-09-20 22:59:23 | ------------------------------------

2020-09-20 22:59:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05dc7d08-0427-4d07-91ed-3ed69baf5c1a</title></pubsub></data>

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

2020-09-20 22:59:25 | [Mutex] waiting for: [received:nodes:9a73a191-cf47-43a2-b20a-1c587816d36a:localhost]

2020-09-20 22:59:25 | [Mutex] received everything.

2020-09-20 22:59:25 | [Mutex] isItemNotified: received:node:9a73a191-cf47-43a2-b20a-1c587816d36a:localhost:node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a:Node 05dc7d08-0427-4d07-91ed-3ed69baf5c1a :: true

createSubnodes 1.032s
2020-09-20 22:59:25 |

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

2020-09-20 22:59:25 | ------------------------------------

2020-09-20 22:59:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-18fa7284-d520-4afc-ac3d-1c995b201060</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 18fa7284-d520-4afc-ac3d-1c995b201060</title></pubsub></data>

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

2020-09-20 22:59:26 | [Mutex] waiting for: [received:nodes:61ea30f3-0f12-476f-86c7-935f44b1b16c:localhost]

2020-09-20 22:59:26 | [Mutex] waiting for: [received:nodes:61ea30f3-0f12-476f-86c7-935f44b1b16c:localhost]

2020-09-20 22:59:26 | [Mutex] received everything.

2020-09-20 22:59:26 | [Mutex] isItemNotified: received:node:61ea30f3-0f12-476f-86c7-935f44b1b16c:localhost:node-18fa7284-d520-4afc-ac3d-1c995b201060:Node 18fa7284-d520-4afc-ac3d-1c995b201060 :: true

deleteNodes 1.016s
2020-09-20 22:59:31 |

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

2020-09-20 22:59:31 | ------------------------------------

2020-09-20 22:59:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-18fa7284-d520-4afc-ac3d-1c995b201060</node></data>

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

2020-09-20 22:59:32 | [Mutex] waiting for: [received:nodes:b36e49f1-6e4e-4310-8aa1-ea1d1ba02c3a:localhost]

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

2020-09-20 22:59:32 | [Mutex] isItemNotified: received:node:b36e49f1-6e4e-4310-8aa1-ea1d1ba02c3a:localhost:node-18fa7284-d520-4afc-ac3d-1c995b201060:Node 18fa7284-d520-4afc-ac3d-1c995b201060 :: false

deleteSubnodes 1.130s
2020-09-20 22:59:30 |

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

2020-09-20 22:59:30 | ------------------------------------

2020-09-20 22:59:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</node></data>

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

2020-09-20 22:59:31 | [Mutex] waiting for: [received:nodes:2260bc0b-7682-427b-9221-d58061ffaa54:localhost]

2020-09-20 22:59:31 | [Mutex] waiting for: [received:nodes:2260bc0b-7682-427b-9221-d58061ffaa54:localhost]

2020-09-20 22:59:31 | [Mutex] received everything.

2020-09-20 22:59:31 | [Mutex] isItemNotified: received:node:2260bc0b-7682-427b-9221-d58061ffaa54:localhost:node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a:Node 05dc7d08-0427-4d07-91ed-3ed69baf5c1a :: false

2020-09-20 22:59:31 | [Mutex] waiting for: [received:nodes:608d2dcb-187f-4904-9d27-e617b4161d3a:localhost]

2020-09-20 22:59:31 | [Mutex] received everything.

2020-09-20 22:59:31 | [Mutex] isItemNotified: received:node:608d2dcb-187f-4904-9d27-e617b4161d3a:localhost:node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a:Node 05dc7d08-0427-4d07-91ed-3ed69baf5c1a :: false

publishItemsToNodes 0.243s
2020-09-20 22:59:28 |

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

2020-09-20 22:59:28 | ------------------------------------

2020-09-20 22:59:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</node><item-id>item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</item-id><entry><test>item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</test></entry></data>

2020-09-20 22:59:28 | 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-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</value></item-id></result>

2020-09-20 22:59:28 | [Mutex] waiting for: [published:item:notifieditem-f87776bb-5c43-4a03-85cc-cb0bc83e2ead:admin@test-domain.com]

2020-09-20 22:59:28 | [Mutex] received everything.

2020-09-20 22:59:28 | [Mutex] isItemNotified: published:item:notifieditem-f87776bb-5c43-4a03-85cc-cb0bc83e2ead:admin@test-domain.com :: true

retractItemsFromNodes 0.188s
2020-09-20 22:59:28 |

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

2020-09-20 22:59:28 | ------------------------------------

2020-09-20 22:59:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</node><item-id>item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</item-id></data>

2020-09-20 22:59:29 | 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-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</value></item-id></result>

2020-09-20 22:59:29 | [Mutex] received everything.

2020-09-20 22:59:29 | [Mutex] isItemNotified: retracted:item:notifieditem-f87776bb-5c43-4a03-85cc-cb0bc83e2ead:admin@test-domain.com :: true

retrieveItemsFromNodes 0.171s
2020-09-20 22:59:28 |

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

2020-09-20 22:59:28 | ------------------------------------

2020-09-20 22:59:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</node><item-id>item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</item-id></data>

2020-09-20 22:59:28 | 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-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</value></node><item-id label="Item ID" type="text-single"><value>item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</value></item-id><item label="Item" type="text-multi"><value><item id="item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead"><test>item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead</test></item></value></item></result>

2020-09-20 22:59:28 | [Mutex] notify: [retrieved:item:item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead:payload-matches:true:localhost]

2020-09-20 22:59:28 | [Mutex] received everything.

2020-09-20 22:59:28 | [Mutex] isItemNotified: retrieved:item:item-f87776bb-5c43-4a03-85cc-cb0bc83e2ead:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.047s
2020-09-20 22:59:28 |

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

2020-09-20 22:59:28 | ------------------------------------

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

2020-09-20 22:59:28 | 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-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</value><value>node-18fa7284-d520-4afc-ac3d-1c995b201060</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-20 22:59:28 |

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

2020-09-20 22:59:28 | ------------------------------------

2020-09-20 22:59:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a)</node-pattern></data>

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

subscribeNodes 1.128s
2020-09-20 22:59:27 |

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

2020-09-20 22:59:27 | ------------------------------------

2020-09-20 22:59:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.200s
2020-09-20 22:59:29 |

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

2020-09-20 22:59:29 | ------------------------------------

2020-09-20 22:59:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05dc7d08-0427-4d07-91ed-3ed69baf5c1a</node><jids><value>admin@test-domain.com</value></jids></data>

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