Generated by TestNG with ReportNG at 22:06 PST on Tuesday 09 November 2021
root@b2c2a8eba6e6 / 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.934s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2021-11-09 22:23:44 |

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

2021-11-09 22:23:44 | ------------------------------------

2021-11-09 22:23:44 | [Mutex] waiting for: [configured:node:node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5:node-c28f1a67-5771-4bd7-bace-f7d799028e62]

2021-11-09 22:23:44 | [Mutex] received everything.

2021-11-09 22:23:44 | [Mutex] isItemNotified: configured:node:node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5:node-c28f1a67-5771-4bd7-bace-f7d799028e62 :: true

2021-11-09 22:23:45 | [Mutex] waiting for: [received:nodes:42a7df3e-64ed-40a4-b813-475fe9ac2c03:localhost]

2021-11-09 22:23:45 | [Mutex] received everything.

2021-11-09 22:23:45 | [Mutex] isItemNotified: received:node:42a7df3e-64ed-40a4-b813-475fe9ac2c03:localhost:node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5:Node b4cc0100-7dad-460a-88b7-cb4b57be3cb5 :: true

2021-11-09 22:23:45 | [Mutex] waiting for: [received:nodes:5e6d6828-5b3b-4e25-9ab2-0d9f66db891d:localhost]

2021-11-09 22:23:45 | [Mutex] waiting for: [received:nodes:5e6d6828-5b3b-4e25-9ab2-0d9f66db891d:localhost]

2021-11-09 22:23:45 | [Mutex] waiting for: [received:nodes:5e6d6828-5b3b-4e25-9ab2-0d9f66db891d:localhost]

2021-11-09 22:23:45 | [Mutex] received everything.

2021-11-09 22:23:45 | [Mutex] isItemNotified: received:node:5e6d6828-5b3b-4e25-9ab2-0d9f66db891d:localhost:node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5:Node b4cc0100-7dad-460a-88b7-cb4b57be3cb5 :: false

createNodes 1.457s
2021-11-09 22:23:41 |

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

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

2021-11-09 22:23:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b4cc0100-7dad-460a-88b7-cb4b57be3cb5</title></pubsub></data>

2021-11-09 22:23:42 | 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:23:43 | [Mutex] waiting for: [received:nodes:2cac0250-0693-4d77-b835-531bd9700921:localhost]

2021-11-09 22:23:43 | [Mutex] received everything.

2021-11-09 22:23:43 | [Mutex] isItemNotified: received:node:2cac0250-0693-4d77-b835-531bd9700921:localhost:node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5:Node b4cc0100-7dad-460a-88b7-cb4b57be3cb5 :: true

createSubnodes 1.043s
2021-11-09 22:23:43 |

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

2021-11-09 22:23:43 | ------------------------------------

2021-11-09 22:23:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c28f1a67-5771-4bd7-bace-f7d799028e62</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c28f1a67-5771-4bd7-bace-f7d799028e62</title></pubsub></data>

2021-11-09 22:23:43 | 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:23:44 | [Mutex] waiting for: [received:nodes:849861da-488f-4c6c-9759-37ee0db36b06:localhost]

2021-11-09 22:23:44 | [Mutex] received everything.

2021-11-09 22:23:44 | [Mutex] isItemNotified: received:node:849861da-488f-4c6c-9759-37ee0db36b06:localhost:node-c28f1a67-5771-4bd7-bace-f7d799028e62:Node c28f1a67-5771-4bd7-bace-f7d799028e62 :: true

deleteNodes 1.032s
2021-11-09 22:23:49 |

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

2021-11-09 22:23:49 | ------------------------------------

2021-11-09 22:23:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c28f1a67-5771-4bd7-bace-f7d799028e62</node></data>

2021-11-09 22:23:49 | 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:23:50 | [Mutex] waiting for: [received:nodes:f658b469-ef1d-4f4c-864b-0f5c1e424672:localhost]

2021-11-09 22:23:50 | [Mutex] waiting for: [received:nodes:f658b469-ef1d-4f4c-864b-0f5c1e424672:localhost]

2021-11-09 22:23:50 | [Mutex] received everything.

2021-11-09 22:23:50 | [Mutex] isItemNotified: received:node:f658b469-ef1d-4f4c-864b-0f5c1e424672:localhost:node-c28f1a67-5771-4bd7-bace-f7d799028e62:Node c28f1a67-5771-4bd7-bace-f7d799028e62 :: false

deleteSubnodes 1.188s
2021-11-09 22:23:48 |

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

2021-11-09 22:23:48 | ------------------------------------

2021-11-09 22:23:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</node></data>

2021-11-09 22:23:48 | 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:23:49 | [Mutex] waiting for: [received:nodes:20d0f3e8-dc9b-4135-a9e8-e599cce855f0:localhost]

2021-11-09 22:23:49 | [Mutex] waiting for: [received:nodes:20d0f3e8-dc9b-4135-a9e8-e599cce855f0:localhost]

2021-11-09 22:23:49 | [Mutex] received everything.

2021-11-09 22:23:49 | [Mutex] isItemNotified: received:node:20d0f3e8-dc9b-4135-a9e8-e599cce855f0:localhost:node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5:Node b4cc0100-7dad-460a-88b7-cb4b57be3cb5 :: false

2021-11-09 22:23:49 | [Mutex] waiting for: [received:nodes:45ee7b4d-aaa1-4988-a27f-81241b42021b:localhost]

2021-11-09 22:23:49 | [Mutex] received everything.

2021-11-09 22:23:49 | [Mutex] isItemNotified: received:node:45ee7b4d-aaa1-4988-a27f-81241b42021b:localhost:node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5:Node b4cc0100-7dad-460a-88b7-cb4b57be3cb5 :: false

publishItemsToNodes 0.278s
2021-11-09 22:23:46 |

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

2021-11-09 22:23:46 | ------------------------------------

2021-11-09 22:23:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</node><item-id>item-8646fbea-da33-40b9-b6e7-70b99a612f56</item-id><entry><test>item-8646fbea-da33-40b9-b6e7-70b99a612f56</test></entry></data>

2021-11-09 22:23:46 | 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-8646fbea-da33-40b9-b6e7-70b99a612f56</value></item-id></result>

2021-11-09 22:23:46 | [Mutex] received everything.

2021-11-09 22:23:46 | [Mutex] isItemNotified: published:item:notifieditem-8646fbea-da33-40b9-b6e7-70b99a612f56:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2021-11-09 22:23:47 |

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

2021-11-09 22:23:47 | ------------------------------------

2021-11-09 22:23:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</node><item-id>item-8646fbea-da33-40b9-b6e7-70b99a612f56</item-id></data>

2021-11-09 22:23:47 | 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-8646fbea-da33-40b9-b6e7-70b99a612f56</value></item-id></result>

2021-11-09 22:23:47 | [Mutex] received everything.

2021-11-09 22:23:47 | [Mutex] isItemNotified: retracted:item:notifieditem-8646fbea-da33-40b9-b6e7-70b99a612f56:admin@test-domain.com :: true

retrieveItemsFromNodes 0.238s
2021-11-09 22:23:46 |

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

2021-11-09 22:23:46 | ------------------------------------

2021-11-09 22:23:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</node><item-id>item-8646fbea-da33-40b9-b6e7-70b99a612f56</item-id></data>

2021-11-09 22:23:47 | 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-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</value></node><item-id type="text-single" label="Item ID"><value>item-8646fbea-da33-40b9-b6e7-70b99a612f56</value></item-id><item type="text-multi" label="Item"><value><item id="item-8646fbea-da33-40b9-b6e7-70b99a612f56"><test>item-8646fbea-da33-40b9-b6e7-70b99a612f56</test></item></value></item></result>

2021-11-09 22:23:47 | [Mutex] notify: [retrieved:item:item-8646fbea-da33-40b9-b6e7-70b99a612f56:payload-matches:true:localhost]

2021-11-09 22:23:47 | [Mutex] received everything.

2021-11-09 22:23:47 | [Mutex] isItemNotified: retrieved:item:item-8646fbea-da33-40b9-b6e7-70b99a612f56:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-11-09 22:23:47 |

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

2021-11-09 22:23:47 | ------------------------------------

2021-11-09 22:23:47 | 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:23:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</value><value>node-c28f1a67-5771-4bd7-bace-f7d799028e62</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-11-09 22:23:47 |

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

2021-11-09 22:23:47 | ------------------------------------

2021-11-09 22:23:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5)</node-pattern></data>

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

subscribeNodes 1.175s
2021-11-09 22:23:45 |

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

2021-11-09 22:23:45 | ------------------------------------

2021-11-09 22:23:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.247s
2021-11-09 22:23:47 |

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

2021-11-09 22:23:47 | ------------------------------------

2021-11-09 22:23:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b4cc0100-7dad-460a-88b7-cb4b57be3cb5</node><jids><value>admin@test-domain.com</value></jids></data>

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