Generated by TestNG with ReportNG at 22:01 PST on Sunday 05 December 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.585s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-12-05 22:16:34 |

2021-12-05 22:16:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:34 | ------------------------------------

2021-12-05 22:16:34 | [Mutex] waiting for: [configured:node:node-4f737bb7-d522-41b8-98a1-052617d3e1ae:node-33c124b1-b288-43bc-9dc9-edf26b2977a4]

2021-12-05 22:16:35 | [Mutex] received everything.

2021-12-05 22:16:35 | [Mutex] isItemNotified: configured:node:node-4f737bb7-d522-41b8-98a1-052617d3e1ae:node-33c124b1-b288-43bc-9dc9-edf26b2977a4 :: true

2021-12-05 22:16:36 | [Mutex] waiting for: [received:nodes:cd7ee8c0-5f5d-4423-8b96-7d03833902cf:localhost]

2021-12-05 22:16:36 | [Mutex] received everything.

2021-12-05 22:16:36 | [Mutex] isItemNotified: received:node:cd7ee8c0-5f5d-4423-8b96-7d03833902cf:localhost:node-4f737bb7-d522-41b8-98a1-052617d3e1ae:Node 4f737bb7-d522-41b8-98a1-052617d3e1ae :: true

2021-12-05 22:16:36 | [Mutex] waiting for: [received:nodes:d42a5507-a8ae-4767-9dd1-17245e4ee9bd:localhost]

2021-12-05 22:16:36 | [Mutex] waiting for: [received:nodes:d42a5507-a8ae-4767-9dd1-17245e4ee9bd:localhost]

2021-12-05 22:16:36 | [Mutex] waiting for: [received:nodes:d42a5507-a8ae-4767-9dd1-17245e4ee9bd:localhost]

2021-12-05 22:16:36 | [Mutex] waiting for: [received:nodes:d42a5507-a8ae-4767-9dd1-17245e4ee9bd:localhost]

2021-12-05 22:16:36 | [Mutex] received everything.

2021-12-05 22:16:36 | [Mutex] isItemNotified: received:node:d42a5507-a8ae-4767-9dd1-17245e4ee9bd:localhost:node-4f737bb7-d522-41b8-98a1-052617d3e1ae:Node 4f737bb7-d522-41b8-98a1-052617d3e1ae :: false

createNodes 1.730s
2021-12-05 22:16:32 |

2021-12-05 22:16:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:32 | ------------------------------------

2021-12-05 22:16:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4f737bb7-d522-41b8-98a1-052617d3e1ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4f737bb7-d522-41b8-98a1-052617d3e1ae</title></pubsub></data>

2021-12-05 22:16:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 22:16:33 | [Mutex] waiting for: [received:nodes:cea18b30-d1cb-417e-9be8-9d97fa93b55f:localhost]

2021-12-05 22:16:33 | [Mutex] received everything.

2021-12-05 22:16:33 | [Mutex] isItemNotified: received:node:cea18b30-d1cb-417e-9be8-9d97fa93b55f:localhost:node-4f737bb7-d522-41b8-98a1-052617d3e1ae:Node 4f737bb7-d522-41b8-98a1-052617d3e1ae :: true

createSubnodes 1.036s
2021-12-05 22:16:33 |

2021-12-05 22:16:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:33 | ------------------------------------

2021-12-05 22:16:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-33c124b1-b288-43bc-9dc9-edf26b2977a4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 33c124b1-b288-43bc-9dc9-edf26b2977a4</title></pubsub></data>

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

2021-12-05 22:16:34 | [Mutex] waiting for: [received:nodes:771f9850-e9c0-4ec1-b371-9b5c954028eb:localhost]

2021-12-05 22:16:34 | [Mutex] waiting for: [received:nodes:771f9850-e9c0-4ec1-b371-9b5c954028eb:localhost]

2021-12-05 22:16:34 | [Mutex] waiting for: [received:nodes:771f9850-e9c0-4ec1-b371-9b5c954028eb:localhost]

2021-12-05 22:16:34 | [Mutex] received everything.

2021-12-05 22:16:34 | [Mutex] isItemNotified: received:node:771f9850-e9c0-4ec1-b371-9b5c954028eb:localhost:node-33c124b1-b288-43bc-9dc9-edf26b2977a4:Node 33c124b1-b288-43bc-9dc9-edf26b2977a4 :: true

deleteNodes 1.019s
2021-12-05 22:16:40 |

2021-12-05 22:16:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:40 | ------------------------------------

2021-12-05 22:16:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-33c124b1-b288-43bc-9dc9-edf26b2977a4</node></data>

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

2021-12-05 22:16:41 | [Mutex] waiting for: [received:nodes:32899d28-7856-4cea-a397-952fd6fe8ead:localhost]

2021-12-05 22:16:41 | [Mutex] received everything.

2021-12-05 22:16:41 | [Mutex] isItemNotified: received:node:32899d28-7856-4cea-a397-952fd6fe8ead:localhost:node-33c124b1-b288-43bc-9dc9-edf26b2977a4:Node 33c124b1-b288-43bc-9dc9-edf26b2977a4 :: false

deleteSubnodes 1.154s
2021-12-05 22:16:39 |

2021-12-05 22:16:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:39 | ------------------------------------

2021-12-05 22:16:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4f737bb7-d522-41b8-98a1-052617d3e1ae</node></data>

2021-12-05 22:16:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 22:16:40 | [Mutex] waiting for: [received:nodes:cc2e4f64-9ef8-40e5-a960-f3f9340b3079:localhost]

2021-12-05 22:16:40 | [Mutex] received everything.

2021-12-05 22:16:40 | [Mutex] isItemNotified: received:node:cc2e4f64-9ef8-40e5-a960-f3f9340b3079:localhost:node-4f737bb7-d522-41b8-98a1-052617d3e1ae:Node 4f737bb7-d522-41b8-98a1-052617d3e1ae :: false

2021-12-05 22:16:40 | [Mutex] waiting for: [received:nodes:1069d7a5-da79-4f5f-9f79-3174b0714056:localhost]

2021-12-05 22:16:40 | [Mutex] received everything.

2021-12-05 22:16:40 | [Mutex] isItemNotified: received:node:1069d7a5-da79-4f5f-9f79-3174b0714056:localhost:node-4f737bb7-d522-41b8-98a1-052617d3e1ae:Node 4f737bb7-d522-41b8-98a1-052617d3e1ae :: false

publishItemsToNodes 0.252s
2021-12-05 22:16:37 |

2021-12-05 22:16:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:37 | ------------------------------------

2021-12-05 22:16:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4f737bb7-d522-41b8-98a1-052617d3e1ae</node><item-id>item-d851a972-62d9-420a-a156-115df77e06f2</item-id><entry><test>item-d851a972-62d9-420a-a156-115df77e06f2</test></entry></data>

2021-12-05 22:16:37 | 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-d851a972-62d9-420a-a156-115df77e06f2</value></item-id></result>

2021-12-05 22:16:37 | [Mutex] waiting for: [published:item:notifieditem-d851a972-62d9-420a-a156-115df77e06f2:admin@test-domain.com]

2021-12-05 22:16:37 | [Mutex] received everything.

2021-12-05 22:16:37 | [Mutex] isItemNotified: published:item:notifieditem-d851a972-62d9-420a-a156-115df77e06f2:admin@test-domain.com :: true

retractItemsFromNodes 0.334s
2021-12-05 22:16:37 |

2021-12-05 22:16:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:37 | ------------------------------------

2021-12-05 22:16:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4f737bb7-d522-41b8-98a1-052617d3e1ae</node><item-id>item-d851a972-62d9-420a-a156-115df77e06f2</item-id></data>

2021-12-05 22:16: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-d851a972-62d9-420a-a156-115df77e06f2</value></item-id></result>

2021-12-05 22:16:38 | [Mutex] waiting for: [retracted:item:notifieditem-d851a972-62d9-420a-a156-115df77e06f2:admin@test-domain.com]

2021-12-05 22:16:38 | [Mutex] received everything.

2021-12-05 22:16:38 | [Mutex] isItemNotified: retracted:item:notifieditem-d851a972-62d9-420a-a156-115df77e06f2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2021-12-05 22:16:37 |

2021-12-05 22:16:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:37 | ------------------------------------

2021-12-05 22:16:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4f737bb7-d522-41b8-98a1-052617d3e1ae</node><item-id>item-d851a972-62d9-420a-a156-115df77e06f2</item-id></data>

2021-12-05 22:16:37 | 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-4f737bb7-d522-41b8-98a1-052617d3e1ae</value></node><item-id label="Item ID" type="text-single"><value>item-d851a972-62d9-420a-a156-115df77e06f2</value></item-id><item label="Item" type="text-multi"><value><item id="item-d851a972-62d9-420a-a156-115df77e06f2"><test>item-d851a972-62d9-420a-a156-115df77e06f2</test></item></value></item></result>

2021-12-05 22:16:37 | [Mutex] notify: [retrieved:item:item-d851a972-62d9-420a-a156-115df77e06f2:payload-matches:true:localhost]

2021-12-05 22:16:37 | [Mutex] received everything.

2021-12-05 22:16:37 | [Mutex] isItemNotified: retrieved:item:item-d851a972-62d9-420a-a156-115df77e06f2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-12-05 22:16:37 |

2021-12-05 22:16:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:37 | ------------------------------------

2021-12-05 22:16:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-12-05 22:16:37 | 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-4f737bb7-d522-41b8-98a1-052617d3e1ae</value><value>node-33c124b1-b288-43bc-9dc9-edf26b2977a4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-12-05 22:16:37 |

2021-12-05 22:16:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:37 | ------------------------------------

2021-12-05 22:16:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4f737bb7-d522-41b8-98a1-052617d3e1ae)</node-pattern></data>

2021-12-05 22:16:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.195s
2021-12-05 22:16:36 |

2021-12-05 22:16:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:36 | ------------------------------------

2021-12-05 22:16:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4f737bb7-d522-41b8-98a1-052617d3e1ae</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-05 22:16: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.388s
2021-12-05 22:16:38 |

2021-12-05 22:16:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:16:38 | ------------------------------------

2021-12-05 22:16:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4f737bb7-d522-41b8-98a1-052617d3e1ae</node><jids><value>admin@test-domain.com</value></jids></data>

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