Generated by TestNG with ReportNG at 23:13 PDT on Tuesday 25 August 2020
root@f09c7b422724 / 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.832s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2020-08-25 23:27:45 |

2020-08-25 23:27:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:45 | ------------------------------------

2020-08-25 23:27:45 | [Mutex] waiting for: [configured:node:node-aa17b004-dca6-4a42-a289-2ac43e38d16a:node-b62dae50-7df3-423b-aade-5e74e613f10f]

2020-08-25 23:27:45 | [Mutex] received everything.

2020-08-25 23:27:45 | [Mutex] isItemNotified: configured:node:node-aa17b004-dca6-4a42-a289-2ac43e38d16a:node-b62dae50-7df3-423b-aade-5e74e613f10f :: true

2020-08-25 23:27:46 | [Mutex] waiting for: [received:nodes:1c54b9bd-c143-4080-9c7e-c5aef801aa08:localhost]

2020-08-25 23:27:46 | [Mutex] received everything.

2020-08-25 23:27:46 | [Mutex] isItemNotified: received:node:1c54b9bd-c143-4080-9c7e-c5aef801aa08:localhost:node-aa17b004-dca6-4a42-a289-2ac43e38d16a:Node aa17b004-dca6-4a42-a289-2ac43e38d16a :: true

2020-08-25 23:27:46 | [Mutex] waiting for: [received:nodes:39c372bf-1d55-4b1c-9504-555b126dbf3f:localhost]

2020-08-25 23:27:46 | [Mutex] received everything.

2020-08-25 23:27:46 | [Mutex] isItemNotified: received:node:39c372bf-1d55-4b1c-9504-555b126dbf3f:localhost:node-aa17b004-dca6-4a42-a289-2ac43e38d16a:Node aa17b004-dca6-4a42-a289-2ac43e38d16a :: false

createNodes 1.337s
2020-08-25 23:27:43 |

2020-08-25 23:27:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:43 | ------------------------------------

2020-08-25 23:27:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aa17b004-dca6-4a42-a289-2ac43e38d16a</title></pubsub></data>

2020-08-25 23:27:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 23:27:44 | [Mutex] waiting for: [received:nodes:0328e940-a6e3-48ab-8735-611a2f8a161a:localhost]

2020-08-25 23:27:44 | [Mutex] received everything.

2020-08-25 23:27:44 | [Mutex] isItemNotified: received:node:0328e940-a6e3-48ab-8735-611a2f8a161a:localhost:node-aa17b004-dca6-4a42-a289-2ac43e38d16a:Node aa17b004-dca6-4a42-a289-2ac43e38d16a :: true

createSubnodes 1.023s
2020-08-25 23:27:44 |

2020-08-25 23:27:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:44 | ------------------------------------

2020-08-25 23:27:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b62dae50-7df3-423b-aade-5e74e613f10f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b62dae50-7df3-423b-aade-5e74e613f10f</title></pubsub></data>

2020-08-25 23:27:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 23:27:45 | [Mutex] waiting for: [received:nodes:ddba03f1-645c-4059-b34d-8b7aafd17f4b:localhost]

2020-08-25 23:27:45 | [Mutex] received everything.

2020-08-25 23:27:45 | [Mutex] isItemNotified: received:node:ddba03f1-645c-4059-b34d-8b7aafd17f4b:localhost:node-b62dae50-7df3-423b-aade-5e74e613f10f:Node b62dae50-7df3-423b-aade-5e74e613f10f :: true

deleteNodes 1.025s
2020-08-25 23:27:50 |

2020-08-25 23:27:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:50 | ------------------------------------

2020-08-25 23:27:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b62dae50-7df3-423b-aade-5e74e613f10f</node></data>

2020-08-25 23:27:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 23:27:51 | [Mutex] waiting for: [received:nodes:608cc5a9-58c5-4fd5-8da9-69d981d8aa09:localhost]

2020-08-25 23:27:51 | [Mutex] received everything.

2020-08-25 23:27:51 | [Mutex] isItemNotified: received:node:608cc5a9-58c5-4fd5-8da9-69d981d8aa09:localhost:node-b62dae50-7df3-423b-aade-5e74e613f10f:Node b62dae50-7df3-423b-aade-5e74e613f10f :: false

deleteSubnodes 1.132s
2020-08-25 23:27:49 |

2020-08-25 23:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:49 | ------------------------------------

2020-08-25 23:27:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</node></data>

2020-08-25 23:27:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 23:27:50 | [Mutex] waiting for: [received:nodes:37545681-5fd3-4e87-9492-27f8ac37ffaa:localhost]

2020-08-25 23:27:50 | [Mutex] waiting for: [received:nodes:37545681-5fd3-4e87-9492-27f8ac37ffaa:localhost]

2020-08-25 23:27:50 | [Mutex] received everything.

2020-08-25 23:27:50 | [Mutex] isItemNotified: received:node:37545681-5fd3-4e87-9492-27f8ac37ffaa:localhost:node-aa17b004-dca6-4a42-a289-2ac43e38d16a:Node aa17b004-dca6-4a42-a289-2ac43e38d16a :: false

2020-08-25 23:27:50 | [Mutex] waiting for: [received:nodes:00a4c09c-c277-4623-b728-6aa6d88f68b2:localhost]

2020-08-25 23:27:50 | [Mutex] received everything.

2020-08-25 23:27:50 | [Mutex] isItemNotified: received:node:00a4c09c-c277-4623-b728-6aa6d88f68b2:localhost:node-aa17b004-dca6-4a42-a289-2ac43e38d16a:Node aa17b004-dca6-4a42-a289-2ac43e38d16a :: false

publishItemsToNodes 0.205s
2020-08-25 23:27:47 |

2020-08-25 23:27:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:47 | ------------------------------------

2020-08-25 23:27:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</node><item-id>item-b800e6bc-046f-4ab1-90e6-c6850d14239b</item-id><entry><test>item-b800e6bc-046f-4ab1-90e6-c6850d14239b</test></entry></data>

2020-08-25 23:27:47 | 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-b800e6bc-046f-4ab1-90e6-c6850d14239b</value></item-id></result>

2020-08-25 23:27:47 | [Mutex] waiting for: [published:item:notifieditem-b800e6bc-046f-4ab1-90e6-c6850d14239b:admin@test-domain.com]

2020-08-25 23:27:47 | [Mutex] received everything.

2020-08-25 23:27:47 | [Mutex] isItemNotified: published:item:notifieditem-b800e6bc-046f-4ab1-90e6-c6850d14239b:admin@test-domain.com :: true

retractItemsFromNodes 0.265s
2020-08-25 23:27:48 |

2020-08-25 23:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:48 | ------------------------------------

2020-08-25 23:27:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</node><item-id>item-b800e6bc-046f-4ab1-90e6-c6850d14239b</item-id></data>

2020-08-25 23:27:48 | 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-b800e6bc-046f-4ab1-90e6-c6850d14239b</value></item-id></result>

2020-08-25 23:27:48 | [Mutex] waiting for: [retracted:item:notifieditem-b800e6bc-046f-4ab1-90e6-c6850d14239b:admin@test-domain.com]

2020-08-25 23:27:48 | [Mutex] received everything.

2020-08-25 23:27:48 | [Mutex] isItemNotified: retracted:item:notifieditem-b800e6bc-046f-4ab1-90e6-c6850d14239b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.256s
2020-08-25 23:27:47 |

2020-08-25 23:27:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:47 | ------------------------------------

2020-08-25 23:27:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</node><item-id>item-b800e6bc-046f-4ab1-90e6-c6850d14239b</item-id></data>

2020-08-25 23:27:48 | 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-aa17b004-dca6-4a42-a289-2ac43e38d16a</value></node><item-id type="text-single" label="Item ID"><value>item-b800e6bc-046f-4ab1-90e6-c6850d14239b</value></item-id><item type="text-multi" label="Item"><value><item id="item-b800e6bc-046f-4ab1-90e6-c6850d14239b"><test>item-b800e6bc-046f-4ab1-90e6-c6850d14239b</test></item></value></item></result>

2020-08-25 23:27:48 | [Mutex] notify: [retrieved:item:item-b800e6bc-046f-4ab1-90e6-c6850d14239b:payload-matches:true:localhost]

2020-08-25 23:27:48 | [Mutex] received everything.

2020-08-25 23:27:48 | [Mutex] isItemNotified: retrieved:item:item-b800e6bc-046f-4ab1-90e6-c6850d14239b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-08-25 23:27:48 |

2020-08-25 23:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:48 | ------------------------------------

2020-08-25 23:27:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-25 23:27:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b62dae50-7df3-423b-aade-5e74e613f10f</value><value>test</value><value>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-08-25 23:27:48 |

2020-08-25 23:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:48 | ------------------------------------

2020-08-25 23:27:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aa17b004-dca6-4a42-a289-2ac43e38d16a)</node-pattern></data>

2020-08-25 23:27:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.090s
2020-08-25 23:27:46 |

2020-08-25 23:27:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:46 | ------------------------------------

2020-08-25 23:27:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-25 23:27:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.321s
2020-08-25 23:27:48 |

2020-08-25 23:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 23:27:48 | ------------------------------------

2020-08-25 23:27:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-aa17b004-dca6-4a42-a289-2ac43e38d16a</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-25 23:27:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>