Generated by TestNG with ReportNG at 21:14 PST on Sunday 03 January 2021
root@eaa73862192b / 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.155s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2021-01-03 21:35:31 |

2021-01-03 21:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:31 | ------------------------------------

2021-01-03 21:35:31 | [Mutex] waiting for: [configured:node:node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842:node-d4373bd6-d3a6-492b-a58f-f08b5aca3cbf]

2021-01-03 21:35:31 | [Mutex] received everything.

2021-01-03 21:35:31 | [Mutex] isItemNotified: configured:node:node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842:node-d4373bd6-d3a6-492b-a58f-f08b5aca3cbf :: true

2021-01-03 21:35:32 | [Mutex] waiting for: [received:nodes:cbaef7f6-720e-44d1-8be0-843ec788822d:localhost]

2021-01-03 21:35:32 | [Mutex] received everything.

2021-01-03 21:35:32 | [Mutex] isItemNotified: received:node:cbaef7f6-720e-44d1-8be0-843ec788822d:localhost:node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842:Node e79ee6aa-6080-4b1f-87cc-45b65d9e8842 :: true

2021-01-03 21:35:32 | [Mutex] waiting for: [received:nodes:d27be4dd-03ac-4684-9969-f78db60269a0:localhost]

2021-01-03 21:35:32 | [Mutex] received everything.

2021-01-03 21:35:32 | [Mutex] isItemNotified: received:node:d27be4dd-03ac-4684-9969-f78db60269a0:localhost:node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842:Node e79ee6aa-6080-4b1f-87cc-45b65d9e8842 :: false

createNodes 1.442s
2021-01-03 21:35:29 |

2021-01-03 21:35:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:29 | ------------------------------------

2021-01-03 21:35:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e79ee6aa-6080-4b1f-87cc-45b65d9e8842</title></pubsub></data>

2021-01-03 21:35:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:35:30 | [Mutex] waiting for: [received:nodes:c7f527ce-7c3e-492a-b37a-02032beca0dc:localhost]

2021-01-03 21:35:30 | [Mutex] received everything.

2021-01-03 21:35:30 | [Mutex] isItemNotified: received:node:c7f527ce-7c3e-492a-b37a-02032beca0dc:localhost:node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842:Node e79ee6aa-6080-4b1f-87cc-45b65d9e8842 :: true

createSubnodes 1.023s
2021-01-03 21:35:30 |

2021-01-03 21:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:30 | ------------------------------------

2021-01-03 21:35:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d4373bd6-d3a6-492b-a58f-f08b5aca3cbf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d4373bd6-d3a6-492b-a58f-f08b5aca3cbf</title></pubsub></data>

2021-01-03 21:35:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:35:31 | [Mutex] waiting for: [received:nodes:3e7fa1a2-8cf3-4e7a-bedc-6add15c4dca3:localhost]

2021-01-03 21:35:31 | [Mutex] received everything.

2021-01-03 21:35:31 | [Mutex] isItemNotified: received:node:3e7fa1a2-8cf3-4e7a-bedc-6add15c4dca3:localhost:node-d4373bd6-d3a6-492b-a58f-f08b5aca3cbf:Node d4373bd6-d3a6-492b-a58f-f08b5aca3cbf :: true

deleteNodes 1.021s
2021-01-03 21:35:37 |

2021-01-03 21:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:37 | ------------------------------------

2021-01-03 21:35:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d4373bd6-d3a6-492b-a58f-f08b5aca3cbf</node></data>

2021-01-03 21:35:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:35:38 | [Mutex] waiting for: [received:nodes:3827a226-30cd-4661-a3b6-a3b24b145711:localhost]

2021-01-03 21:35:38 | [Mutex] received everything.

2021-01-03 21:35:38 | [Mutex] isItemNotified: received:node:3827a226-30cd-4661-a3b6-a3b24b145711:localhost:node-d4373bd6-d3a6-492b-a58f-f08b5aca3cbf:Node d4373bd6-d3a6-492b-a58f-f08b5aca3cbf :: false

deleteSubnodes 1.106s
2021-01-03 21:35:36 |

2021-01-03 21:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:36 | ------------------------------------

2021-01-03 21:35:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</node></data>

2021-01-03 21:35:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:35:37 | [Mutex] waiting for: [received:nodes:5b7190a0-5c6e-4592-92b1-b649183ecdd0:localhost]

2021-01-03 21:35:37 | [Mutex] received everything.

2021-01-03 21:35:37 | [Mutex] isItemNotified: received:node:5b7190a0-5c6e-4592-92b1-b649183ecdd0:localhost:node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842:Node e79ee6aa-6080-4b1f-87cc-45b65d9e8842 :: false

2021-01-03 21:35:37 | [Mutex] waiting for: [received:nodes:e7b9d385-cf54-4d63-9bd0-778a6238507e:localhost]

2021-01-03 21:35:37 | [Mutex] received everything.

2021-01-03 21:35:37 | [Mutex] isItemNotified: received:node:e7b9d385-cf54-4d63-9bd0-778a6238507e:localhost:node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842:Node e79ee6aa-6080-4b1f-87cc-45b65d9e8842 :: false

publishItemsToNodes 0.250s
2021-01-03 21:35:34 |

2021-01-03 21:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:34 | ------------------------------------

2021-01-03 21:35:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</node><item-id>item-4b81991d-16c2-47ba-ab79-127346b142e3</item-id><entry><test>item-4b81991d-16c2-47ba-ab79-127346b142e3</test></entry></data>

2021-01-03 21:35:34 | 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-4b81991d-16c2-47ba-ab79-127346b142e3</value></item-id></result>

2021-01-03 21:35:34 | [Mutex] received everything.

2021-01-03 21:35:34 | [Mutex] isItemNotified: published:item:notifieditem-4b81991d-16c2-47ba-ab79-127346b142e3:admin@test-domain.com :: true

retractItemsFromNodes 0.292s
2021-01-03 21:35:34 |

2021-01-03 21:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:34 | ------------------------------------

2021-01-03 21:35:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</node><item-id>item-4b81991d-16c2-47ba-ab79-127346b142e3</item-id></data>

2021-01-03 21:35:35 | 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-4b81991d-16c2-47ba-ab79-127346b142e3</value></item-id></result>

2021-01-03 21:35:35 | [Mutex] received everything.

2021-01-03 21:35:35 | [Mutex] isItemNotified: retracted:item:notifieditem-4b81991d-16c2-47ba-ab79-127346b142e3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.342s
2021-01-03 21:35:34 |

2021-01-03 21:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:34 | ------------------------------------

2021-01-03 21:35:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</node><item-id>item-4b81991d-16c2-47ba-ab79-127346b142e3</item-id></data>

2021-01-03 21:35:34 | 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-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</value></node><item-id label="Item ID" type="text-single"><value>item-4b81991d-16c2-47ba-ab79-127346b142e3</value></item-id><item label="Item" type="text-multi"><value><item id="item-4b81991d-16c2-47ba-ab79-127346b142e3"><test>item-4b81991d-16c2-47ba-ab79-127346b142e3</test></item></value></item></result>

2021-01-03 21:35:34 | [Mutex] notify: [retrieved:item:item-4b81991d-16c2-47ba-ab79-127346b142e3:payload-matches:true:localhost]

2021-01-03 21:35:34 | [Mutex] received everything.

2021-01-03 21:35:34 | [Mutex] isItemNotified: retrieved:item:item-4b81991d-16c2-47ba-ab79-127346b142e3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-03 21:35:34 |

2021-01-03 21:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:34 | ------------------------------------

2021-01-03 21:35:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-03 21:35:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d4373bd6-d3a6-492b-a58f-f08b5aca3cbf</value><value>test</value><value>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-01-03 21:35:34 |

2021-01-03 21:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:34 | ------------------------------------

2021-01-03 21:35:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842)</node-pattern></data>

2021-01-03 21:35:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.146s
2021-01-03 21:35:32 |

2021-01-03 21:35:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:32 | ------------------------------------

2021-01-03 21:35:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-03 21:35:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.344s
2021-01-03 21:35:35 |

2021-01-03 21:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:35:35 | ------------------------------------

2021-01-03 21:35:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e79ee6aa-6080-4b1f-87cc-45b65d9e8842</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-03 21:35:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>