Generated by TestNG with ReportNG at 22:26 PDT on Sunday 13 June 2021
root@f29ef40080b5 / 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.025s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2021-06-13 22:40:42 |

2021-06-13 22:40:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:42 | ------------------------------------

2021-06-13 22:40:42 | [Mutex] waiting for: [configured:node:node-b82c8a47-c995-4eac-ae00-94fb1a4900dc:node-e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f]

2021-06-13 22:40:43 | [Mutex] received everything.

2021-06-13 22:40:43 | [Mutex] isItemNotified: configured:node:node-b82c8a47-c995-4eac-ae00-94fb1a4900dc:node-e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f :: true

2021-06-13 22:40:44 | [Mutex] waiting for: [received:nodes:25165af2-c220-41e5-93f3-9ba154f25339:localhost]

2021-06-13 22:40:44 | [Mutex] received everything.

2021-06-13 22:40:44 | [Mutex] isItemNotified: received:node:25165af2-c220-41e5-93f3-9ba154f25339:localhost:node-b82c8a47-c995-4eac-ae00-94fb1a4900dc:Node b82c8a47-c995-4eac-ae00-94fb1a4900dc :: true

2021-06-13 22:40:44 | [Mutex] waiting for: [received:nodes:ecceaeb6-d629-4c4a-aa7d-78cd138b9b84:localhost]

2021-06-13 22:40:44 | [Mutex] waiting for: [received:nodes:ecceaeb6-d629-4c4a-aa7d-78cd138b9b84:localhost]

2021-06-13 22:40:44 | [Mutex] waiting for: [received:nodes:ecceaeb6-d629-4c4a-aa7d-78cd138b9b84:localhost]

2021-06-13 22:40:44 | [Mutex] received everything.

2021-06-13 22:40:44 | [Mutex] isItemNotified: received:node:ecceaeb6-d629-4c4a-aa7d-78cd138b9b84:localhost:node-b82c8a47-c995-4eac-ae00-94fb1a4900dc:Node b82c8a47-c995-4eac-ae00-94fb1a4900dc :: false

createNodes 1.446s
2021-06-13 22:40:40 |

2021-06-13 22:40:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:40 | ------------------------------------

2021-06-13 22:40:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b82c8a47-c995-4eac-ae00-94fb1a4900dc</title></pubsub></data>

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

2021-06-13 22:40:41 | [Mutex] waiting for: [received:nodes:076771cb-6661-4196-adf3-1b09de360176:localhost]

2021-06-13 22:40:41 | [Mutex] received everything.

2021-06-13 22:40:41 | [Mutex] isItemNotified: received:node:076771cb-6661-4196-adf3-1b09de360176:localhost:node-b82c8a47-c995-4eac-ae00-94fb1a4900dc:Node b82c8a47-c995-4eac-ae00-94fb1a4900dc :: true

createSubnodes 1.029s
2021-06-13 22:40:41 |

2021-06-13 22:40:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:41 | ------------------------------------

2021-06-13 22:40:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f</title></pubsub></data>

2021-06-13 22:40:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:40:42 | [Mutex] waiting for: [received:nodes:dc966178-6e8c-48c4-84ac-3c23125345c6:localhost]

2021-06-13 22:40:42 | [Mutex] received everything.

2021-06-13 22:40:42 | [Mutex] isItemNotified: received:node:dc966178-6e8c-48c4-84ac-3c23125345c6:localhost:node-e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f:Node e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f :: true

deleteNodes 1.024s
2021-06-13 22:40:48 |

2021-06-13 22:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:48 | ------------------------------------

2021-06-13 22:40:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f</node></data>

2021-06-13 22:40:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:40:49 | [Mutex] waiting for: [received:nodes:885620ea-c8bf-4f4a-ab34-75f58146b83c:localhost]

2021-06-13 22:40:49 | [Mutex] waiting for: [received:nodes:885620ea-c8bf-4f4a-ab34-75f58146b83c:localhost]

2021-06-13 22:40:49 | [Mutex] received everything.

2021-06-13 22:40:49 | [Mutex] isItemNotified: received:node:885620ea-c8bf-4f4a-ab34-75f58146b83c:localhost:node-e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f:Node e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f :: false

deleteSubnodes 1.131s
2021-06-13 22:40:47 |

2021-06-13 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:47 | ------------------------------------

2021-06-13 22:40:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</node></data>

2021-06-13 22:40:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:40:48 | [Mutex] waiting for: [received:nodes:2ac5efef-fb2e-491c-b653-cb4275daa549:localhost]

2021-06-13 22:40:48 | [Mutex] received everything.

2021-06-13 22:40:48 | [Mutex] isItemNotified: received:node:2ac5efef-fb2e-491c-b653-cb4275daa549:localhost:node-b82c8a47-c995-4eac-ae00-94fb1a4900dc:Node b82c8a47-c995-4eac-ae00-94fb1a4900dc :: false

2021-06-13 22:40:48 | [Mutex] waiting for: [received:nodes:455fcf9b-6904-440a-a34b-55b52ffd02ff:localhost]

2021-06-13 22:40:48 | [Mutex] received everything.

2021-06-13 22:40:48 | [Mutex] isItemNotified: received:node:455fcf9b-6904-440a-a34b-55b52ffd02ff:localhost:node-b82c8a47-c995-4eac-ae00-94fb1a4900dc:Node b82c8a47-c995-4eac-ae00-94fb1a4900dc :: false

publishItemsToNodes 0.178s
2021-06-13 22:40:45 |

2021-06-13 22:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:45 | ------------------------------------

2021-06-13 22:40:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</node><item-id>item-62c40a85-b85d-4585-bb84-5a7fad994202</item-id><entry><test>item-62c40a85-b85d-4585-bb84-5a7fad994202</test></entry></data>

2021-06-13 22:40:45 | 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-62c40a85-b85d-4585-bb84-5a7fad994202</value></item-id></result>

2021-06-13 22:40:45 | [Mutex] waiting for: [published:item:notifieditem-62c40a85-b85d-4585-bb84-5a7fad994202:admin@test-domain.com]

2021-06-13 22:40:45 | [Mutex] received everything.

2021-06-13 22:40:45 | [Mutex] isItemNotified: published:item:notifieditem-62c40a85-b85d-4585-bb84-5a7fad994202:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-06-13 22:40:45 |

2021-06-13 22:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:45 | ------------------------------------

2021-06-13 22:40:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</node><item-id>item-62c40a85-b85d-4585-bb84-5a7fad994202</item-id></data>

2021-06-13 22:40:46 | 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-62c40a85-b85d-4585-bb84-5a7fad994202</value></item-id></result>

2021-06-13 22:40:46 | [Mutex] received everything.

2021-06-13 22:40:46 | [Mutex] isItemNotified: retracted:item:notifieditem-62c40a85-b85d-4585-bb84-5a7fad994202:admin@test-domain.com :: true

retrieveItemsFromNodes 0.380s
2021-06-13 22:40:45 |

2021-06-13 22:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:45 | ------------------------------------

2021-06-13 22:40:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</node><item-id>item-62c40a85-b85d-4585-bb84-5a7fad994202</item-id></data>

2021-06-13 22:40:45 | 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-b82c8a47-c995-4eac-ae00-94fb1a4900dc</value></node><item-id label="Item ID" type="text-single"><value>item-62c40a85-b85d-4585-bb84-5a7fad994202</value></item-id><item label="Item" type="text-multi"><value><item id="item-62c40a85-b85d-4585-bb84-5a7fad994202"><test>item-62c40a85-b85d-4585-bb84-5a7fad994202</test></item></value></item></result>

2021-06-13 22:40:45 | [Mutex] notify: [retrieved:item:item-62c40a85-b85d-4585-bb84-5a7fad994202:payload-matches:true:localhost]

2021-06-13 22:40:45 | [Mutex] received everything.

2021-06-13 22:40:45 | [Mutex] isItemNotified: retrieved:item:item-62c40a85-b85d-4585-bb84-5a7fad994202:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-13 22:40:45 |

2021-06-13 22:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:45 | ------------------------------------

2021-06-13 22:40:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-13 22:40:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-e0e4c5e6-3cbf-46c5-956c-f4a9d29d424f</value><value>test</value><value>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-06-13 22:40:45 |

2021-06-13 22:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:45 | ------------------------------------

2021-06-13 22:40: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-b82c8a47-c995-4eac-ae00-94fb1a4900dc)</node-pattern></data>

2021-06-13 22:40:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.169s
2021-06-13 22:40:44 |

2021-06-13 22:40:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:44 | ------------------------------------

2021-06-13 22:40:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-13 22:40: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.259s
2021-06-13 22:40:46 |

2021-06-13 22:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:40:46 | ------------------------------------

2021-06-13 22:40:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b82c8a47-c995-4eac-ae00-94fb1a4900dc</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-13 22:40:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>