Generated by TestNG with ReportNG at 22:58 PDT on Saturday 19 September 2020
root@9a694adb6f25 / 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.115s
2020-09-19 23:14:42 |

2020-09-19 23:14:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:42 | ------------------------------------

2020-09-19 23:14:42 | [Mutex] waiting for: [configured:node:node-dd43e511-f479-4d40-830e-4d9eaeecaff0:node-3323e44f-f010-42ac-811c-32f8f982fcf4]

2020-09-19 23:14:43 | [Mutex] received everything.

2020-09-19 23:14:43 | [Mutex] isItemNotified: configured:node:node-dd43e511-f479-4d40-830e-4d9eaeecaff0:node-3323e44f-f010-42ac-811c-32f8f982fcf4 :: true

2020-09-19 23:14:44 | [Mutex] waiting for: [received:nodes:50ec12c9-8b40-4f4b-8f99-cce0eeacefa3:localhost]

2020-09-19 23:14:44 | [Mutex] received everything.

2020-09-19 23:14:44 | [Mutex] isItemNotified: received:node:50ec12c9-8b40-4f4b-8f99-cce0eeacefa3:localhost:node-dd43e511-f479-4d40-830e-4d9eaeecaff0:Node dd43e511-f479-4d40-830e-4d9eaeecaff0 :: true

2020-09-19 23:14:44 | [Mutex] waiting for: [received:nodes:f77a7a8a-93e7-479a-a604-71f5be037675:localhost]

2020-09-19 23:14:44 | [Mutex] received everything.

2020-09-19 23:14:44 | [Mutex] isItemNotified: received:node:f77a7a8a-93e7-479a-a604-71f5be037675:localhost:node-dd43e511-f479-4d40-830e-4d9eaeecaff0:Node dd43e511-f479-4d40-830e-4d9eaeecaff0 :: false

createNodes 1.467s
2020-09-19 23:14:40 |

2020-09-19 23:14:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:40 | ------------------------------------

2020-09-19 23:14:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dd43e511-f479-4d40-830e-4d9eaeecaff0</title></pubsub></data>

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

2020-09-19 23:14:41 | [Mutex] waiting for: [received:nodes:dd562ae7-d3c3-4753-83d0-08968e8db7c9:localhost]

2020-09-19 23:14:41 | [Mutex] received everything.

2020-09-19 23:14:41 | [Mutex] isItemNotified: received:node:dd562ae7-d3c3-4753-83d0-08968e8db7c9:localhost:node-dd43e511-f479-4d40-830e-4d9eaeecaff0:Node dd43e511-f479-4d40-830e-4d9eaeecaff0 :: true

createSubnodes 1.030s
2020-09-19 23:14:41 |

2020-09-19 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:41 | ------------------------------------

2020-09-19 23:14:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3323e44f-f010-42ac-811c-32f8f982fcf4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3323e44f-f010-42ac-811c-32f8f982fcf4</title></pubsub></data>

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

2020-09-19 23:14:42 | [Mutex] waiting for: [received:nodes:9a3e2618-b028-4995-9f63-9d64954c5cde:localhost]

2020-09-19 23:14:42 | [Mutex] received everything.

2020-09-19 23:14:42 | [Mutex] isItemNotified: received:node:9a3e2618-b028-4995-9f63-9d64954c5cde:localhost:node-3323e44f-f010-42ac-811c-32f8f982fcf4:Node 3323e44f-f010-42ac-811c-32f8f982fcf4 :: true

deleteNodes 1.018s
2020-09-19 23:14:48 |

2020-09-19 23:14:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:48 | ------------------------------------

2020-09-19 23:14:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3323e44f-f010-42ac-811c-32f8f982fcf4</node></data>

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

2020-09-19 23:14:49 | [Mutex] waiting for: [received:nodes:135b5084-8961-44e1-81e1-e0bc5f9c5908:localhost]

2020-09-19 23:14:49 | [Mutex] received everything.

2020-09-19 23:14:49 | [Mutex] isItemNotified: received:node:135b5084-8961-44e1-81e1-e0bc5f9c5908:localhost:node-3323e44f-f010-42ac-811c-32f8f982fcf4:Node 3323e44f-f010-42ac-811c-32f8f982fcf4 :: false

deleteSubnodes 1.119s
2020-09-19 23:14:47 |

2020-09-19 23:14:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:47 | ------------------------------------

2020-09-19 23:14:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</node></data>

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

2020-09-19 23:14:48 | [Mutex] waiting for: [received:nodes:27a0c3af-cb3e-4436-b04a-d1a930283b74:localhost]

2020-09-19 23:14:48 | [Mutex] waiting for: [received:nodes:27a0c3af-cb3e-4436-b04a-d1a930283b74:localhost]

2020-09-19 23:14:48 | [Mutex] waiting for: [received:nodes:27a0c3af-cb3e-4436-b04a-d1a930283b74:localhost]

2020-09-19 23:14:48 | [Mutex] received everything.

2020-09-19 23:14:48 | [Mutex] isItemNotified: received:node:27a0c3af-cb3e-4436-b04a-d1a930283b74:localhost:node-dd43e511-f479-4d40-830e-4d9eaeecaff0:Node dd43e511-f479-4d40-830e-4d9eaeecaff0 :: false

2020-09-19 23:14:48 | [Mutex] waiting for: [received:nodes:f5e44635-b536-4666-9e4a-aebd2ee92e27:localhost]

2020-09-19 23:14:48 | [Mutex] received everything.

2020-09-19 23:14:48 | [Mutex] isItemNotified: received:node:f5e44635-b536-4666-9e4a-aebd2ee92e27:localhost:node-dd43e511-f479-4d40-830e-4d9eaeecaff0:Node dd43e511-f479-4d40-830e-4d9eaeecaff0 :: false

publishItemsToNodes 0.262s
2020-09-19 23:14:45 |

2020-09-19 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:45 | ------------------------------------

2020-09-19 23:14:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</node><item-id>item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</item-id><entry><test>item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</test></entry></data>

2020-09-19 23:14:45 | 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-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</value></item-id></result>

2020-09-19 23:14:45 | [Mutex] waiting for: [published:item:notifieditem-2146e4ec-8dd4-4355-a50c-2ccd90d3e081:admin@test-domain.com]

2020-09-19 23:14:45 | [Mutex] received everything.

2020-09-19 23:14:45 | [Mutex] isItemNotified: published:item:notifieditem-2146e4ec-8dd4-4355-a50c-2ccd90d3e081:admin@test-domain.com :: true

retractItemsFromNodes 0.179s
2020-09-19 23:14:45 |

2020-09-19 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:45 | ------------------------------------

2020-09-19 23:14:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</node><item-id>item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</item-id></data>

2020-09-19 23:14:45 | 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-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</value></item-id></result>

2020-09-19 23:14:45 | [Mutex] received everything.

2020-09-19 23:14:45 | [Mutex] isItemNotified: retracted:item:notifieditem-2146e4ec-8dd4-4355-a50c-2ccd90d3e081:admin@test-domain.com :: true

retrieveItemsFromNodes 0.235s
2020-09-19 23:14:45 |

2020-09-19 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:45 | ------------------------------------

2020-09-19 23:14:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</node><item-id>item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</item-id></data>

2020-09-19 23:14:45 | 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-dd43e511-f479-4d40-830e-4d9eaeecaff0</value></node><item-id type="text-single" label="Item ID"><value>item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</value></item-id><item type="text-multi" label="Item"><value><item id="item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081"><test>item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081</test></item></value></item></result>

2020-09-19 23:14:45 | [Mutex] notify: [retrieved:item:item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081:payload-matches:true:localhost]

2020-09-19 23:14:45 | [Mutex] received everything.

2020-09-19 23:14:45 | [Mutex] isItemNotified: retrieved:item:item-2146e4ec-8dd4-4355-a50c-2ccd90d3e081:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-19 23:14:45 |

2020-09-19 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:45 | ------------------------------------

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

2020-09-19 23:14:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</value><value>test</value><value>node-3323e44f-f010-42ac-811c-32f8f982fcf4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-19 23:14:45 |

2020-09-19 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:45 | ------------------------------------

2020-09-19 23:14:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dd43e511-f479-4d40-830e-4d9eaeecaff0)</node-pattern></data>

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

subscribeNodes 1.146s
2020-09-19 23:14:44 |

2020-09-19 23:14:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:44 | ------------------------------------

2020-09-19 23:14:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.316s
2020-09-19 23:14:45 |

2020-09-19 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:14:45 | ------------------------------------

2020-09-19 23:14:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dd43e511-f479-4d40-830e-4d9eaeecaff0</node><jids><value>admin@test-domain.com</value></jids></data>

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