Generated by TestNG with ReportNG at 21:55 PST on Tuesday 09 November 2021
root@785cf647a4ab / 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.543s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-11-09 22:18:35 |

2021-11-09 22:18:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:35 | ------------------------------------

2021-11-09 22:18:35 | [Mutex] waiting for: [configured:node:node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5:node-11505972-af84-4461-ba31-64e07f4d1865]

2021-11-09 22:18:35 | [Mutex] received everything.

2021-11-09 22:18:35 | [Mutex] isItemNotified: configured:node:node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5:node-11505972-af84-4461-ba31-64e07f4d1865 :: true

2021-11-09 22:18:36 | [Mutex] waiting for: [received:nodes:d6ecacdb-bf0d-484f-9be7-4781c4a09a06:localhost]

2021-11-09 22:18:36 | [Mutex] received everything.

2021-11-09 22:18:36 | [Mutex] isItemNotified: received:node:d6ecacdb-bf0d-484f-9be7-4781c4a09a06:localhost:node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5:Node d33deaed-8abf-4e82-bcb9-038ed1f2adc5 :: true

2021-11-09 22:18:36 | [Mutex] waiting for: [received:nodes:c3f0ee36-fe91-4421-a027-cf62fad5fe01:localhost]

2021-11-09 22:18:36 | [Mutex] waiting for: [received:nodes:c3f0ee36-fe91-4421-a027-cf62fad5fe01:localhost]

2021-11-09 22:18:36 | [Mutex] waiting for: [received:nodes:c3f0ee36-fe91-4421-a027-cf62fad5fe01:localhost]

2021-11-09 22:18:36 | [Mutex] received everything.

2021-11-09 22:18:36 | [Mutex] isItemNotified: received:node:c3f0ee36-fe91-4421-a027-cf62fad5fe01:localhost:node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5:Node d33deaed-8abf-4e82-bcb9-038ed1f2adc5 :: false

createNodes 1.760s
2021-11-09 22:18:32 |

2021-11-09 22:18:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:32 | ------------------------------------

2021-11-09 22:18:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d33deaed-8abf-4e82-bcb9-038ed1f2adc5</title></pubsub></data>

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

2021-11-09 22:18:34 | [Mutex] waiting for: [received:nodes:a118e362-24c0-483a-b540-58b41a9eb986:localhost]

2021-11-09 22:18:34 | [Mutex] received everything.

2021-11-09 22:18:34 | [Mutex] isItemNotified: received:node:a118e362-24c0-483a-b540-58b41a9eb986:localhost:node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5:Node d33deaed-8abf-4e82-bcb9-038ed1f2adc5 :: true

createSubnodes 1.028s
2021-11-09 22:18:34 |

2021-11-09 22:18:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:34 | ------------------------------------

2021-11-09 22:18:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-11505972-af84-4461-ba31-64e07f4d1865</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 11505972-af84-4461-ba31-64e07f4d1865</title></pubsub></data>

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

2021-11-09 22:18:35 | [Mutex] waiting for: [received:nodes:1e0a7ee7-aab2-47e4-880c-8f50793acfb3:localhost]

2021-11-09 22:18:35 | [Mutex] waiting for: [received:nodes:1e0a7ee7-aab2-47e4-880c-8f50793acfb3:localhost]

2021-11-09 22:18:35 | [Mutex] received everything.

2021-11-09 22:18:35 | [Mutex] isItemNotified: received:node:1e0a7ee7-aab2-47e4-880c-8f50793acfb3:localhost:node-11505972-af84-4461-ba31-64e07f4d1865:Node 11505972-af84-4461-ba31-64e07f4d1865 :: true

deleteNodes 1.024s
2021-11-09 22:18:41 |

2021-11-09 22:18:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:41 | ------------------------------------

2021-11-09 22:18:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-11505972-af84-4461-ba31-64e07f4d1865</node></data>

2021-11-09 22:18:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 22:18:42 | [Mutex] waiting for: [received:nodes:b740d209-7023-403b-ac3f-bc96a58ce917:localhost]

2021-11-09 22:18:42 | [Mutex] received everything.

2021-11-09 22:18:42 | [Mutex] isItemNotified: received:node:b740d209-7023-403b-ac3f-bc96a58ce917:localhost:node-11505972-af84-4461-ba31-64e07f4d1865:Node 11505972-af84-4461-ba31-64e07f4d1865 :: false

deleteSubnodes 1.163s
2021-11-09 22:18:39 |

2021-11-09 22:18:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:39 | ------------------------------------

2021-11-09 22:18:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</node></data>

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

2021-11-09 22:18:41 | [Mutex] waiting for: [received:nodes:dadf98d4-7292-494d-9a82-a92ce4bb2d79:localhost]

2021-11-09 22:18:41 | [Mutex] waiting for: [received:nodes:dadf98d4-7292-494d-9a82-a92ce4bb2d79:localhost]

2021-11-09 22:18:41 | [Mutex] received everything.

2021-11-09 22:18:41 | [Mutex] isItemNotified: received:node:dadf98d4-7292-494d-9a82-a92ce4bb2d79:localhost:node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5:Node d33deaed-8abf-4e82-bcb9-038ed1f2adc5 :: false

2021-11-09 22:18:41 | [Mutex] waiting for: [received:nodes:ebe2a09b-98e4-4b34-a30c-52aad609c81a:localhost]

2021-11-09 22:18:41 | [Mutex] received everything.

2021-11-09 22:18:41 | [Mutex] isItemNotified: received:node:ebe2a09b-98e4-4b34-a30c-52aad609c81a:localhost:node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5:Node d33deaed-8abf-4e82-bcb9-038ed1f2adc5 :: false

publishItemsToNodes 0.205s
2021-11-09 22:18:37 |

2021-11-09 22:18:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:37 | ------------------------------------

2021-11-09 22:18:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</node><item-id>item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</item-id><entry><test>item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</test></entry></data>

2021-11-09 22:18:37 | 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-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</value></item-id></result>

2021-11-09 22:18:37 | [Mutex] waiting for: [published:item:notifieditem-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f:admin@test-domain.com]

2021-11-09 22:18:37 | [Mutex] received everything.

2021-11-09 22:18:37 | [Mutex] isItemNotified: published:item:notifieditem-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2021-11-09 22:18:38 |

2021-11-09 22:18:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:38 | ------------------------------------

2021-11-09 22:18:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</node><item-id>item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</item-id></data>

2021-11-09 22:18:38 | 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-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</value></item-id></result>

2021-11-09 22:18:38 | [Mutex] waiting for: [retracted:item:notifieditem-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f:admin@test-domain.com]

2021-11-09 22:18:38 | [Mutex] received everything.

2021-11-09 22:18:38 | [Mutex] isItemNotified: retracted:item:notifieditem-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.424s
2021-11-09 22:18:37 |

2021-11-09 22:18:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:37 | ------------------------------------

2021-11-09 22:18:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</node><item-id>item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</item-id></data>

2021-11-09 22:18:38 | 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-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</value></node><item-id type="text-single" label="Item ID"><value>item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</value></item-id><item type="text-multi" label="Item"><value><item id="item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f"><test>item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f</test></item></value></item></result>

2021-11-09 22:18:38 | [Mutex] notify: [retrieved:item:item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f:payload-matches:true:localhost]

2021-11-09 22:18:38 | [Mutex] received everything.

2021-11-09 22:18:38 | [Mutex] isItemNotified: retrieved:item:item-9f30fd8e-f0b4-43be-926b-ebbcb4d4810f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-11-09 22:18:38 |

2021-11-09 22:18:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:38 | ------------------------------------

2021-11-09 22:18:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-11-09 22:18:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</value><value>test</value><value>node-11505972-af84-4461-ba31-64e07f4d1865</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-11-09 22:18:38 |

2021-11-09 22:18:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:38 | ------------------------------------

2021-11-09 22:18:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5)</node-pattern></data>

2021-11-09 22:18:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.232s
2021-11-09 22:18:36 |

2021-11-09 22:18:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:36 | ------------------------------------

2021-11-09 22:18:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 22:18:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.311s
2021-11-09 22:18:38 |

2021-11-09 22:18:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 22:18:38 | ------------------------------------

2021-11-09 22:18:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d33deaed-8abf-4e82-bcb9-038ed1f2adc5</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 22:18:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>