Generated by TestNG with ReportNG at 19:05 PDT on Tuesday 01 September 2020
root@45eef7750236 / 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.893s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2020-09-01 19:20:35 |

2020-09-01 19:20:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:35 | ------------------------------------

2020-09-01 19:20:35 | [Mutex] waiting for: [configured:node:node-4cf082a4-bac3-4e96-982a-c50f52ddbb85:node-f859c39d-e771-40dc-a9a8-ce6a16a6c520]

2020-09-01 19:20:35 | [Mutex] received everything.

2020-09-01 19:20:35 | [Mutex] isItemNotified: configured:node:node-4cf082a4-bac3-4e96-982a-c50f52ddbb85:node-f859c39d-e771-40dc-a9a8-ce6a16a6c520 :: true

2020-09-01 19:20:36 | [Mutex] waiting for: [received:nodes:8cc0115b-f7c7-4faf-a0bf-c3430c8aa7e9:localhost]

2020-09-01 19:20:36 | [Mutex] received everything.

2020-09-01 19:20:36 | [Mutex] isItemNotified: received:node:8cc0115b-f7c7-4faf-a0bf-c3430c8aa7e9:localhost:node-4cf082a4-bac3-4e96-982a-c50f52ddbb85:Node 4cf082a4-bac3-4e96-982a-c50f52ddbb85 :: true

2020-09-01 19:20:36 | [Mutex] waiting for: [received:nodes:445ef1b2-c02b-41c0-a2bb-c567e657ff8e:localhost]

2020-09-01 19:20:36 | [Mutex] received everything.

2020-09-01 19:20:36 | [Mutex] isItemNotified: received:node:445ef1b2-c02b-41c0-a2bb-c567e657ff8e:localhost:node-4cf082a4-bac3-4e96-982a-c50f52ddbb85:Node 4cf082a4-bac3-4e96-982a-c50f52ddbb85 :: false

createNodes 1.406s
2020-09-01 19:20:33 |

2020-09-01 19:20:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:33 | ------------------------------------

2020-09-01 19:20:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4cf082a4-bac3-4e96-982a-c50f52ddbb85</title></pubsub></data>

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

2020-09-01 19:20:34 | [Mutex] waiting for: [received:nodes:d1d0d124-db86-487d-b218-b50b7050f2ea:localhost]

2020-09-01 19:20:34 | [Mutex] received everything.

2020-09-01 19:20:34 | [Mutex] isItemNotified: received:node:d1d0d124-db86-487d-b218-b50b7050f2ea:localhost:node-4cf082a4-bac3-4e96-982a-c50f52ddbb85:Node 4cf082a4-bac3-4e96-982a-c50f52ddbb85 :: true

createSubnodes 1.035s
2020-09-01 19:20:34 |

2020-09-01 19:20:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:34 | ------------------------------------

2020-09-01 19:20:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f859c39d-e771-40dc-a9a8-ce6a16a6c520</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f859c39d-e771-40dc-a9a8-ce6a16a6c520</title></pubsub></data>

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

2020-09-01 19:20:35 | [Mutex] waiting for: [received:nodes:1cfa1975-898b-48f1-8f9e-96961b89d07e:localhost]

2020-09-01 19:20:35 | [Mutex] received everything.

2020-09-01 19:20:35 | [Mutex] isItemNotified: received:node:1cfa1975-898b-48f1-8f9e-96961b89d07e:localhost:node-f859c39d-e771-40dc-a9a8-ce6a16a6c520:Node f859c39d-e771-40dc-a9a8-ce6a16a6c520 :: true

deleteNodes 1.017s
2020-09-01 19:20:41 |

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

2020-09-01 19:20:41 | ------------------------------------

2020-09-01 19:20:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f859c39d-e771-40dc-a9a8-ce6a16a6c520</node></data>

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

2020-09-01 19:20:42 | [Mutex] waiting for: [received:nodes:034d463f-69ba-4b64-ac9a-67778334057b:localhost]

2020-09-01 19:20:42 | [Mutex] received everything.

2020-09-01 19:20:42 | [Mutex] isItemNotified: received:node:034d463f-69ba-4b64-ac9a-67778334057b:localhost:node-f859c39d-e771-40dc-a9a8-ce6a16a6c520:Node f859c39d-e771-40dc-a9a8-ce6a16a6c520 :: false

deleteSubnodes 1.155s
2020-09-01 19:20:40 |

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

2020-09-01 19:20:40 | ------------------------------------

2020-09-01 19:20:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</node></data>

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

2020-09-01 19:20:41 | [Mutex] waiting for: [received:nodes:a6197de5-6c2b-4858-96fb-0be802876895:localhost]

2020-09-01 19:20:41 | [Mutex] received everything.

2020-09-01 19:20:41 | [Mutex] isItemNotified: received:node:a6197de5-6c2b-4858-96fb-0be802876895:localhost:node-4cf082a4-bac3-4e96-982a-c50f52ddbb85:Node 4cf082a4-bac3-4e96-982a-c50f52ddbb85 :: false

2020-09-01 19:20:41 | [Mutex] waiting for: [received:nodes:844c7318-107a-464f-8896-8c2e0aba3a95:localhost]

2020-09-01 19:20:41 | [Mutex] received everything.

2020-09-01 19:20:41 | [Mutex] isItemNotified: received:node:844c7318-107a-464f-8896-8c2e0aba3a95:localhost:node-4cf082a4-bac3-4e96-982a-c50f52ddbb85:Node 4cf082a4-bac3-4e96-982a-c50f52ddbb85 :: false

publishItemsToNodes 0.164s
2020-09-01 19:20:37 |

2020-09-01 19:20:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:37 | ------------------------------------

2020-09-01 19:20:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</node><item-id>item-bef0971f-ba74-4972-ba16-23c7a7e38ef4</item-id><entry><test>item-bef0971f-ba74-4972-ba16-23c7a7e38ef4</test></entry></data>

2020-09-01 19:20:38 | 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-bef0971f-ba74-4972-ba16-23c7a7e38ef4</value></item-id></result>

2020-09-01 19:20:38 | [Mutex] waiting for: [published:item:notifieditem-bef0971f-ba74-4972-ba16-23c7a7e38ef4:admin@test-domain.com]

2020-09-01 19:20:38 | [Mutex] received everything.

2020-09-01 19:20:38 | [Mutex] isItemNotified: published:item:notifieditem-bef0971f-ba74-4972-ba16-23c7a7e38ef4:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2020-09-01 19:20:38 |

2020-09-01 19:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:38 | ------------------------------------

2020-09-01 19:20:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</node><item-id>item-bef0971f-ba74-4972-ba16-23c7a7e38ef4</item-id></data>

2020-09-01 19:20:38 | 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-bef0971f-ba74-4972-ba16-23c7a7e38ef4</value></item-id></result>

2020-09-01 19:20:38 | [Mutex] received everything.

2020-09-01 19:20:38 | [Mutex] isItemNotified: retracted:item:notifieditem-bef0971f-ba74-4972-ba16-23c7a7e38ef4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.284s
2020-09-01 19:20:38 |

2020-09-01 19:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:38 | ------------------------------------

2020-09-01 19:20:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</node><item-id>item-bef0971f-ba74-4972-ba16-23c7a7e38ef4</item-id></data>

2020-09-01 19:20:38 | 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-4cf082a4-bac3-4e96-982a-c50f52ddbb85</value></node><item-id label="Item ID" type="text-single"><value>item-bef0971f-ba74-4972-ba16-23c7a7e38ef4</value></item-id><item label="Item" type="text-multi"><value><item id="item-bef0971f-ba74-4972-ba16-23c7a7e38ef4"><test>item-bef0971f-ba74-4972-ba16-23c7a7e38ef4</test></item></value></item></result>

2020-09-01 19:20:38 | [Mutex] notify: [retrieved:item:item-bef0971f-ba74-4972-ba16-23c7a7e38ef4:payload-matches:true:localhost]

2020-09-01 19:20:38 | [Mutex] received everything.

2020-09-01 19:20:38 | [Mutex] isItemNotified: retrieved:item:item-bef0971f-ba74-4972-ba16-23c7a7e38ef4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-01 19:20:38 |

2020-09-01 19:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:38 | ------------------------------------

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

2020-09-01 19:20:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</value><value>node-f859c39d-e771-40dc-a9a8-ce6a16a6c520</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-01 19:20:38 |

2020-09-01 19:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:38 | ------------------------------------

2020-09-01 19:20: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-4cf082a4-bac3-4e96-982a-c50f52ddbb85)</node-pattern></data>

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

subscribeNodes 1.100s
2020-09-01 19:20:36 |

2020-09-01 19:20:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:36 | ------------------------------------

2020-09-01 19:20:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-01 19:20: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.307s
2020-09-01 19:20:38 |

2020-09-01 19:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:20:38 | ------------------------------------

2020-09-01 19:20:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4cf082a4-bac3-4e96-982a-c50f52ddbb85</node><jids><value>admin@test-domain.com</value></jids></data>

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