Generated by TestNG with ReportNG at 21:47 PST on Saturday 06 February 2021
root@43fec6d4badf / 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.254s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2021-02-06 22:03:41 |

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

2021-02-06 22:03:41 | ------------------------------------

2021-02-06 22:03:41 | [Mutex] waiting for: [configured:node:node-d66b2170-9534-4fd9-94fd-dd707f62dc60:node-4cd0858b-33b0-4208-82d3-2428ce17ef16]

2021-02-06 22:03:41 | [Mutex] received everything.

2021-02-06 22:03:41 | [Mutex] isItemNotified: configured:node:node-d66b2170-9534-4fd9-94fd-dd707f62dc60:node-4cd0858b-33b0-4208-82d3-2428ce17ef16 :: true

2021-02-06 22:03:42 | [Mutex] waiting for: [received:nodes:22e8a638-aae9-4c15-9961-8f60249b9625:localhost]

2021-02-06 22:03:42 | [Mutex] received everything.

2021-02-06 22:03:42 | [Mutex] isItemNotified: received:node:22e8a638-aae9-4c15-9961-8f60249b9625:localhost:node-d66b2170-9534-4fd9-94fd-dd707f62dc60:Node d66b2170-9534-4fd9-94fd-dd707f62dc60 :: true

2021-02-06 22:03:42 | [Mutex] waiting for: [received:nodes:a3687994-1912-41c2-ae9f-c1f9692eb9ab:localhost]

2021-02-06 22:03:42 | [Mutex] received everything.

2021-02-06 22:03:42 | [Mutex] isItemNotified: received:node:a3687994-1912-41c2-ae9f-c1f9692eb9ab:localhost:node-d66b2170-9534-4fd9-94fd-dd707f62dc60:Node d66b2170-9534-4fd9-94fd-dd707f62dc60 :: false

createNodes 1.521s
2021-02-06 22:03:38 |

2021-02-06 22:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:03:38 | ------------------------------------

2021-02-06 22:03:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d66b2170-9534-4fd9-94fd-dd707f62dc60</title></pubsub></data>

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

2021-02-06 22:03:39 | [Mutex] waiting for: [received:nodes:4f293726-fa0e-465e-bf4b-ee3d9bff4b11:localhost]

2021-02-06 22:03:39 | [Mutex] waiting for: [received:nodes:4f293726-fa0e-465e-bf4b-ee3d9bff4b11:localhost]

2021-02-06 22:03:39 | [Mutex] received everything.

2021-02-06 22:03:39 | [Mutex] isItemNotified: received:node:4f293726-fa0e-465e-bf4b-ee3d9bff4b11:localhost:node-d66b2170-9534-4fd9-94fd-dd707f62dc60:Node d66b2170-9534-4fd9-94fd-dd707f62dc60 :: true

createSubnodes 1.030s
2021-02-06 22:03:39 |

2021-02-06 22:03:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:03:39 | ------------------------------------

2021-02-06 22:03:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4cd0858b-33b0-4208-82d3-2428ce17ef16</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4cd0858b-33b0-4208-82d3-2428ce17ef16</title></pubsub></data>

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

2021-02-06 22:03:41 | [Mutex] waiting for: [received:nodes:5dc80e47-c68a-4234-af2f-e01602d50a5e:localhost]

2021-02-06 22:03:41 | [Mutex] received everything.

2021-02-06 22:03:41 | [Mutex] isItemNotified: received:node:5dc80e47-c68a-4234-af2f-e01602d50a5e:localhost:node-4cd0858b-33b0-4208-82d3-2428ce17ef16:Node 4cd0858b-33b0-4208-82d3-2428ce17ef16 :: true

deleteNodes 1.024s
2021-02-06 22:03:46 |

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

2021-02-06 22:03:46 | ------------------------------------

2021-02-06 22:03:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4cd0858b-33b0-4208-82d3-2428ce17ef16</node></data>

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

2021-02-06 22:03:47 | [Mutex] waiting for: [received:nodes:af31cf52-dfda-4df0-9c77-0bc9bac7ccb4:localhost]

2021-02-06 22:03:47 | [Mutex] received everything.

2021-02-06 22:03:47 | [Mutex] isItemNotified: received:node:af31cf52-dfda-4df0-9c77-0bc9bac7ccb4:localhost:node-4cd0858b-33b0-4208-82d3-2428ce17ef16:Node 4cd0858b-33b0-4208-82d3-2428ce17ef16 :: false

deleteSubnodes 1.139s
2021-02-06 22:03:45 |

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

2021-02-06 22:03:45 | ------------------------------------

2021-02-06 22:03:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</node></data>

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

2021-02-06 22:03:46 | [Mutex] waiting for: [received:nodes:1a70fe2e-6ae9-4097-8b67-01cb89499051:localhost]

2021-02-06 22:03:46 | [Mutex] received everything.

2021-02-06 22:03:46 | [Mutex] isItemNotified: received:node:1a70fe2e-6ae9-4097-8b67-01cb89499051:localhost:node-d66b2170-9534-4fd9-94fd-dd707f62dc60:Node d66b2170-9534-4fd9-94fd-dd707f62dc60 :: false

2021-02-06 22:03:46 | [Mutex] waiting for: [received:nodes:cf6ac5b8-c59c-4fcc-8c3b-499efef032ea:localhost]

2021-02-06 22:03:46 | [Mutex] received everything.

2021-02-06 22:03:46 | [Mutex] isItemNotified: received:node:cf6ac5b8-c59c-4fcc-8c3b-499efef032ea:localhost:node-d66b2170-9534-4fd9-94fd-dd707f62dc60:Node d66b2170-9534-4fd9-94fd-dd707f62dc60 :: false

publishItemsToNodes 0.257s
2021-02-06 22:03:43 |

2021-02-06 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:03:43 | ------------------------------------

2021-02-06 22:03:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</node><item-id>item-5bef4ab8-4837-4722-be4e-d3319175e2c5</item-id><entry><test>item-5bef4ab8-4837-4722-be4e-d3319175e2c5</test></entry></data>

2021-02-06 22:03:43 | 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-5bef4ab8-4837-4722-be4e-d3319175e2c5</value></item-id></result>

2021-02-06 22:03:43 | [Mutex] received everything.

2021-02-06 22:03:43 | [Mutex] isItemNotified: published:item:notifieditem-5bef4ab8-4837-4722-be4e-d3319175e2c5:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2021-02-06 22:03:43 |

2021-02-06 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:03:43 | ------------------------------------

2021-02-06 22:03:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</node><item-id>item-5bef4ab8-4837-4722-be4e-d3319175e2c5</item-id></data>

2021-02-06 22:03:44 | 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-5bef4ab8-4837-4722-be4e-d3319175e2c5</value></item-id></result>

2021-02-06 22:03:44 | [Mutex] received everything.

2021-02-06 22:03:44 | [Mutex] isItemNotified: retracted:item:notifieditem-5bef4ab8-4837-4722-be4e-d3319175e2c5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.281s
2021-02-06 22:03:43 |

2021-02-06 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:03:43 | ------------------------------------

2021-02-06 22:03:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</node><item-id>item-5bef4ab8-4837-4722-be4e-d3319175e2c5</item-id></data>

2021-02-06 22:03:43 | 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-d66b2170-9534-4fd9-94fd-dd707f62dc60</value></node><item-id label="Item ID" type="text-single"><value>item-5bef4ab8-4837-4722-be4e-d3319175e2c5</value></item-id><item label="Item" type="text-multi"><value><item id="item-5bef4ab8-4837-4722-be4e-d3319175e2c5"><test>item-5bef4ab8-4837-4722-be4e-d3319175e2c5</test></item></value></item></result>

2021-02-06 22:03:43 | [Mutex] notify: [retrieved:item:item-5bef4ab8-4837-4722-be4e-d3319175e2c5:payload-matches:true:localhost]

2021-02-06 22:03:43 | [Mutex] received everything.

2021-02-06 22:03:43 | [Mutex] isItemNotified: retrieved:item:item-5bef4ab8-4837-4722-be4e-d3319175e2c5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-06 22:03:43 |

2021-02-06 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:03:43 | ------------------------------------

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

2021-02-06 22:03:43 | 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-4cd0858b-33b0-4208-82d3-2428ce17ef16</value><value>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-02-06 22:03:43 |

2021-02-06 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:03:43 | ------------------------------------

2021-02-06 22:03:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d66b2170-9534-4fd9-94fd-dd707f62dc60)</node-pattern></data>

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

subscribeNodes 1.108s
2021-02-06 22:03:42 |

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

2021-02-06 22:03:42 | ------------------------------------

2021-02-06 22:03:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.287s
2021-02-06 22:03:44 |

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

2021-02-06 22:03:44 | ------------------------------------

2021-02-06 22:03:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d66b2170-9534-4fd9-94fd-dd707f62dc60</node><jids><value>admin@test-domain.com</value></jids></data>

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