Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 26 May 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.378s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2021-05-26 22:33:29 |

2021-05-26 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:29 | ------------------------------------

2021-05-26 22:33:29 | [Mutex] waiting for: [configured:node:node-df268a4b-67e2-499c-8f92-0949243bdf4e:node-b0f66fe7-ae35-48bc-a965-baad4b2b0bfe]

2021-05-26 22:33:29 | [Mutex] received everything.

2021-05-26 22:33:29 | [Mutex] isItemNotified: configured:node:node-df268a4b-67e2-499c-8f92-0949243bdf4e:node-b0f66fe7-ae35-48bc-a965-baad4b2b0bfe :: true

2021-05-26 22:33:30 | [Mutex] waiting for: [received:nodes:47fba91d-c2b6-4e75-a99b-2d688038bdee:localhost]

2021-05-26 22:33:30 | [Mutex] received everything.

2021-05-26 22:33:30 | [Mutex] isItemNotified: received:node:47fba91d-c2b6-4e75-a99b-2d688038bdee:localhost:node-df268a4b-67e2-499c-8f92-0949243bdf4e:Node df268a4b-67e2-499c-8f92-0949243bdf4e :: true

2021-05-26 22:33:30 | [Mutex] waiting for: [received:nodes:02b32924-c743-4e62-a529-3115a05d1777:localhost]

2021-05-26 22:33:30 | [Mutex] received everything.

2021-05-26 22:33:30 | [Mutex] isItemNotified: received:node:02b32924-c743-4e62-a529-3115a05d1777:localhost:node-df268a4b-67e2-499c-8f92-0949243bdf4e:Node df268a4b-67e2-499c-8f92-0949243bdf4e :: false

createNodes 1.776s
2021-05-26 22:33:26 |

2021-05-26 22:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:26 | ------------------------------------

2021-05-26 22:33:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-df268a4b-67e2-499c-8f92-0949243bdf4e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node df268a4b-67e2-499c-8f92-0949243bdf4e</title></pubsub></data>

2021-05-26 22:33:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:33:28 | [Mutex] waiting for: [received:nodes:39ef7acf-dda6-41c2-b406-cc712860eb55:localhost]

2021-05-26 22:33:28 | [Mutex] received everything.

2021-05-26 22:33:28 | [Mutex] isItemNotified: received:node:39ef7acf-dda6-41c2-b406-cc712860eb55:localhost:node-df268a4b-67e2-499c-8f92-0949243bdf4e:Node df268a4b-67e2-499c-8f92-0949243bdf4e :: true

createSubnodes 1.022s
2021-05-26 22:33:28 |

2021-05-26 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:28 | ------------------------------------

2021-05-26 22:33:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b0f66fe7-ae35-48bc-a965-baad4b2b0bfe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b0f66fe7-ae35-48bc-a965-baad4b2b0bfe</title></pubsub></data>

2021-05-26 22:33:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:33:29 | [Mutex] waiting for: [received:nodes:b3e2d61f-6e20-4f50-a0b5-c17fed6a244b:localhost]

2021-05-26 22:33:29 | [Mutex] received everything.

2021-05-26 22:33:29 | [Mutex] isItemNotified: received:node:b3e2d61f-6e20-4f50-a0b5-c17fed6a244b:localhost:node-b0f66fe7-ae35-48bc-a965-baad4b2b0bfe:Node b0f66fe7-ae35-48bc-a965-baad4b2b0bfe :: true

deleteNodes 1.019s
2021-05-26 22:33:35 |

2021-05-26 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:35 | ------------------------------------

2021-05-26 22:33:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b0f66fe7-ae35-48bc-a965-baad4b2b0bfe</node></data>

2021-05-26 22:33:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:33:36 | [Mutex] waiting for: [received:nodes:ac1019b2-3310-4ddf-a8c6-eb87d33385d6:localhost]

2021-05-26 22:33:36 | [Mutex] received everything.

2021-05-26 22:33:36 | [Mutex] isItemNotified: received:node:ac1019b2-3310-4ddf-a8c6-eb87d33385d6:localhost:node-b0f66fe7-ae35-48bc-a965-baad4b2b0bfe:Node b0f66fe7-ae35-48bc-a965-baad4b2b0bfe :: false

deleteSubnodes 1.152s
2021-05-26 22:33:33 |

2021-05-26 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:33 | ------------------------------------

2021-05-26 22:33:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-df268a4b-67e2-499c-8f92-0949243bdf4e</node></data>

2021-05-26 22:33:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:33:35 | [Mutex] waiting for: [received:nodes:edd7152f-113e-4188-bfce-ca07664f503e:localhost]

2021-05-26 22:33:35 | [Mutex] waiting for: [received:nodes:edd7152f-113e-4188-bfce-ca07664f503e:localhost]

2021-05-26 22:33:35 | [Mutex] received everything.

2021-05-26 22:33:35 | [Mutex] isItemNotified: received:node:edd7152f-113e-4188-bfce-ca07664f503e:localhost:node-df268a4b-67e2-499c-8f92-0949243bdf4e:Node df268a4b-67e2-499c-8f92-0949243bdf4e :: false

2021-05-26 22:33:35 | [Mutex] waiting for: [received:nodes:56f4945c-afac-489d-8e79-2a8d55e99926:localhost]

2021-05-26 22:33:35 | [Mutex] received everything.

2021-05-26 22:33:35 | [Mutex] isItemNotified: received:node:56f4945c-afac-489d-8e79-2a8d55e99926:localhost:node-df268a4b-67e2-499c-8f92-0949243bdf4e:Node df268a4b-67e2-499c-8f92-0949243bdf4e :: false

publishItemsToNodes 0.193s
2021-05-26 22:33:31 |

2021-05-26 22:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:31 | ------------------------------------

2021-05-26 22:33:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-df268a4b-67e2-499c-8f92-0949243bdf4e</node><item-id>item-c079c39f-e641-4380-a977-7ca72fc943f8</item-id><entry><test>item-c079c39f-e641-4380-a977-7ca72fc943f8</test></entry></data>

2021-05-26 22:33:31 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c079c39f-e641-4380-a977-7ca72fc943f8</value></item-id></result>

2021-05-26 22:33:31 | [Mutex] waiting for: [published:item:notifieditem-c079c39f-e641-4380-a977-7ca72fc943f8:admin@test-domain.com]

2021-05-26 22:33:31 | [Mutex] received everything.

2021-05-26 22:33:31 | [Mutex] isItemNotified: published:item:notifieditem-c079c39f-e641-4380-a977-7ca72fc943f8:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2021-05-26 22:33:32 |

2021-05-26 22:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:32 | ------------------------------------

2021-05-26 22:33:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-df268a4b-67e2-499c-8f92-0949243bdf4e</node><item-id>item-c079c39f-e641-4380-a977-7ca72fc943f8</item-id></data>

2021-05-26 22:33:32 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c079c39f-e641-4380-a977-7ca72fc943f8</value></item-id></result>

2021-05-26 22:33:32 | [Mutex] received everything.

2021-05-26 22:33:32 | [Mutex] isItemNotified: retracted:item:notifieditem-c079c39f-e641-4380-a977-7ca72fc943f8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.350s
2021-05-26 22:33:31 |

2021-05-26 22:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:31 | ------------------------------------

2021-05-26 22:33:31 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-df268a4b-67e2-499c-8f92-0949243bdf4e</node><item-id>item-c079c39f-e641-4380-a977-7ca72fc943f8</item-id></data>

2021-05-26 22:33:32 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-df268a4b-67e2-499c-8f92-0949243bdf4e</value></node><item-id type="text-single" label="Item ID"><value>item-c079c39f-e641-4380-a977-7ca72fc943f8</value></item-id><item type="text-multi" label="Item"><value><item id="item-c079c39f-e641-4380-a977-7ca72fc943f8"><test>item-c079c39f-e641-4380-a977-7ca72fc943f8</test></item></value></item></result>

2021-05-26 22:33:32 | [Mutex] notify: [retrieved:item:item-c079c39f-e641-4380-a977-7ca72fc943f8:payload-matches:true:localhost]

2021-05-26 22:33:32 | [Mutex] received everything.

2021-05-26 22:33:32 | [Mutex] isItemNotified: retrieved:item:item-c079c39f-e641-4380-a977-7ca72fc943f8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-05-26 22:33:32 |

2021-05-26 22:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:32 | ------------------------------------

2021-05-26 22:33:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-26 22:33:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-b0f66fe7-ae35-48bc-a965-baad4b2b0bfe</value><value>node-df268a4b-67e2-499c-8f92-0949243bdf4e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-26 22:33:32 |

2021-05-26 22:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:32 | ------------------------------------

2021-05-26 22:33:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-df268a4b-67e2-499c-8f92-0949243bdf4e)</node-pattern></data>

2021-05-26 22:33:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.153s
2021-05-26 22:33:30 |

2021-05-26 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:30 | ------------------------------------

2021-05-26 22:33:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-df268a4b-67e2-499c-8f92-0949243bdf4e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-26 22:33:30 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.275s
2021-05-26 22:33:32 |

2021-05-26 22:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:33:32 | ------------------------------------

2021-05-26 22:33:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-df268a4b-67e2-499c-8f92-0949243bdf4e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-26 22:33:32 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>