Generated by TestNG with ReportNG at 22:21 PDT on Friday 02 October 2020
root@eaa73862192b / 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.894s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2020-10-02 22:37:53 |

2020-10-02 22:37:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:53 | ------------------------------------

2020-10-02 22:37:53 | [Mutex] waiting for: [configured:node:node-61aca603-39a6-41ae-98f6-eaf1271f7a4c:node-fd32b54f-972c-4356-82a8-0f1e3df4100e]

2020-10-02 22:37:53 | [Mutex] received everything.

2020-10-02 22:37:53 | [Mutex] isItemNotified: configured:node:node-61aca603-39a6-41ae-98f6-eaf1271f7a4c:node-fd32b54f-972c-4356-82a8-0f1e3df4100e :: true

2020-10-02 22:37:54 | [Mutex] waiting for: [received:nodes:bb5ab5a8-8391-4010-acb9-58e66ca33bce:localhost]

2020-10-02 22:37:54 | [Mutex] received everything.

2020-10-02 22:37:54 | [Mutex] isItemNotified: received:node:bb5ab5a8-8391-4010-acb9-58e66ca33bce:localhost:node-61aca603-39a6-41ae-98f6-eaf1271f7a4c:Node 61aca603-39a6-41ae-98f6-eaf1271f7a4c :: true

2020-10-02 22:37:54 | [Mutex] waiting for: [received:nodes:ee43527e-65f1-4b6f-b569-4e4e56c91f9f:localhost]

2020-10-02 22:37:54 | [Mutex] received everything.

2020-10-02 22:37:54 | [Mutex] isItemNotified: received:node:ee43527e-65f1-4b6f-b569-4e4e56c91f9f:localhost:node-61aca603-39a6-41ae-98f6-eaf1271f7a4c:Node 61aca603-39a6-41ae-98f6-eaf1271f7a4c :: false

createNodes 1.443s
2020-10-02 22:37:51 |

2020-10-02 22:37:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:51 | ------------------------------------

2020-10-02 22:37:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-61aca603-39a6-41ae-98f6-eaf1271f7a4c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 61aca603-39a6-41ae-98f6-eaf1271f7a4c</title></pubsub></data>

2020-10-02 22:37:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-02 22:37:52 | [Mutex] waiting for: [received:nodes:ec8b9221-ac96-4f09-a492-6c78f53c2a2b:localhost]

2020-10-02 22:37:52 | [Mutex] received everything.

2020-10-02 22:37:52 | [Mutex] isItemNotified: received:node:ec8b9221-ac96-4f09-a492-6c78f53c2a2b:localhost:node-61aca603-39a6-41ae-98f6-eaf1271f7a4c:Node 61aca603-39a6-41ae-98f6-eaf1271f7a4c :: true

createSubnodes 1.031s
2020-10-02 22:37:52 |

2020-10-02 22:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:52 | ------------------------------------

2020-10-02 22:37:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fd32b54f-972c-4356-82a8-0f1e3df4100e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fd32b54f-972c-4356-82a8-0f1e3df4100e</title></pubsub></data>

2020-10-02 22:37:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-02 22:37:53 | [Mutex] waiting for: [received:nodes:0cf2cf5c-fba3-4a89-93ed-a9e77a78ed46:localhost]

2020-10-02 22:37:53 | [Mutex] received everything.

2020-10-02 22:37:53 | [Mutex] isItemNotified: received:node:0cf2cf5c-fba3-4a89-93ed-a9e77a78ed46:localhost:node-fd32b54f-972c-4356-82a8-0f1e3df4100e:Node fd32b54f-972c-4356-82a8-0f1e3df4100e :: true

deleteNodes 1.018s
2020-10-02 22:37:59 |

2020-10-02 22:37:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:59 | ------------------------------------

2020-10-02 22:37:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fd32b54f-972c-4356-82a8-0f1e3df4100e</node></data>

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

2020-10-02 22:38:00 | [Mutex] waiting for: [received:nodes:a1b79d11-152e-43f4-a488-63bf51960766:localhost]

2020-10-02 22:38:00 | [Mutex] received everything.

2020-10-02 22:38:00 | [Mutex] isItemNotified: received:node:a1b79d11-152e-43f4-a488-63bf51960766:localhost:node-fd32b54f-972c-4356-82a8-0f1e3df4100e:Node fd32b54f-972c-4356-82a8-0f1e3df4100e :: false

deleteSubnodes 1.138s
2020-10-02 22:37:58 |

2020-10-02 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:58 | ------------------------------------

2020-10-02 22:37:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-61aca603-39a6-41ae-98f6-eaf1271f7a4c</node></data>

2020-10-02 22:37:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-02 22:37:59 | [Mutex] waiting for: [received:nodes:3502d7af-0d58-4a81-91e1-f474d7a3affe:localhost]

2020-10-02 22:37:59 | [Mutex] received everything.

2020-10-02 22:37:59 | [Mutex] isItemNotified: received:node:3502d7af-0d58-4a81-91e1-f474d7a3affe:localhost:node-61aca603-39a6-41ae-98f6-eaf1271f7a4c:Node 61aca603-39a6-41ae-98f6-eaf1271f7a4c :: false

2020-10-02 22:37:59 | [Mutex] waiting for: [received:nodes:72c92a09-8c12-470b-aba0-4eb3fb2774a8:localhost]

2020-10-02 22:37:59 | [Mutex] received everything.

2020-10-02 22:37:59 | [Mutex] isItemNotified: received:node:72c92a09-8c12-470b-aba0-4eb3fb2774a8:localhost:node-61aca603-39a6-41ae-98f6-eaf1271f7a4c:Node 61aca603-39a6-41ae-98f6-eaf1271f7a4c :: false

publishItemsToNodes 0.265s
2020-10-02 22:37:56 |

2020-10-02 22:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:56 | ------------------------------------

2020-10-02 22:37:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-61aca603-39a6-41ae-98f6-eaf1271f7a4c</node><item-id>item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</item-id><entry><test>item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</test></entry></data>

2020-10-02 22:37:56 | 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-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</value></item-id></result>

2020-10-02 22:37:56 | [Mutex] received everything.

2020-10-02 22:37:56 | [Mutex] isItemNotified: published:item:notifieditem-06a0f9d5-8d77-4c27-adc6-f1da43c09a51:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2020-10-02 22:37:56 |

2020-10-02 22:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:56 | ------------------------------------

2020-10-02 22:37:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-61aca603-39a6-41ae-98f6-eaf1271f7a4c</node><item-id>item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</item-id></data>

2020-10-02 22:37:56 | 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-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</value></item-id></result>

2020-10-02 22:37:56 | [Mutex] received everything.

2020-10-02 22:37:56 | [Mutex] isItemNotified: retracted:item:notifieditem-06a0f9d5-8d77-4c27-adc6-f1da43c09a51:admin@test-domain.com :: true

retrieveItemsFromNodes 0.200s
2020-10-02 22:37:56 |

2020-10-02 22:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:56 | ------------------------------------

2020-10-02 22:37:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-61aca603-39a6-41ae-98f6-eaf1271f7a4c</node><item-id>item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</item-id></data>

2020-10-02 22:37:56 | 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-61aca603-39a6-41ae-98f6-eaf1271f7a4c</value></node><item-id label="Item ID" type="text-single"><value>item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</value></item-id><item label="Item" type="text-multi"><value><item id="item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51"><test>item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51</test></item></value></item></result>

2020-10-02 22:37:56 | [Mutex] notify: [retrieved:item:item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51:payload-matches:true:localhost]

2020-10-02 22:37:56 | [Mutex] received everything.

2020-10-02 22:37:56 | [Mutex] isItemNotified: retrieved:item:item-06a0f9d5-8d77-4c27-adc6-f1da43c09a51:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-02 22:37:56 |

2020-10-02 22:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:56 | ------------------------------------

2020-10-02 22:37:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-02 22:37:56 | 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-61aca603-39a6-41ae-98f6-eaf1271f7a4c</value><value>node-fd32b54f-972c-4356-82a8-0f1e3df4100e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-02 22:37:56 |

2020-10-02 22:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:56 | ------------------------------------

2020-10-02 22:37:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-61aca603-39a6-41ae-98f6-eaf1271f7a4c)</node-pattern></data>

2020-10-02 22:37:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.088s
2020-10-02 22:37:54 |

2020-10-02 22:37:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:54 | ------------------------------------

2020-10-02 22:37:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-61aca603-39a6-41ae-98f6-eaf1271f7a4c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.243s
2020-10-02 22:37:56 |

2020-10-02 22:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 22:37:56 | ------------------------------------

2020-10-02 22:37:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-61aca603-39a6-41ae-98f6-eaf1271f7a4c</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-02 22:37:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>