Generated by TestNG with ReportNG at 22:00 PST on Thursday 17 February 2022
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.142s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2022-02-17 22:16:26 |

2022-02-17 22:16:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:26 | ------------------------------------

2022-02-17 22:16:26 | [Mutex] waiting for: [configured:node:node-7c20759d-b7b8-4631-a08a-948f385a2d1e:node-1feeb5cd-453d-485c-befa-e9d4594f1c1b]

2022-02-17 22:16:26 | [Mutex] received everything.

2022-02-17 22:16:26 | [Mutex] isItemNotified: configured:node:node-7c20759d-b7b8-4631-a08a-948f385a2d1e:node-1feeb5cd-453d-485c-befa-e9d4594f1c1b :: true

2022-02-17 22:16:27 | [Mutex] waiting for: [received:nodes:6ed90a91-1595-4f78-a8d7-fb7c175959df:localhost]

2022-02-17 22:16:27 | [Mutex] received everything.

2022-02-17 22:16:27 | [Mutex] isItemNotified: received:node:6ed90a91-1595-4f78-a8d7-fb7c175959df:localhost:node-7c20759d-b7b8-4631-a08a-948f385a2d1e:Node 7c20759d-b7b8-4631-a08a-948f385a2d1e :: true

2022-02-17 22:16:27 | [Mutex] waiting for: [received:nodes:95bca9bd-ce36-458d-9ba8-08381a07e0a5:localhost]

2022-02-17 22:16:27 | [Mutex] waiting for: [received:nodes:95bca9bd-ce36-458d-9ba8-08381a07e0a5:localhost]

2022-02-17 22:16:27 | [Mutex] received everything.

2022-02-17 22:16:27 | [Mutex] isItemNotified: received:node:95bca9bd-ce36-458d-9ba8-08381a07e0a5:localhost:node-7c20759d-b7b8-4631-a08a-948f385a2d1e:Node 7c20759d-b7b8-4631-a08a-948f385a2d1e :: false

createNodes 1.399s
2022-02-17 22:16:23 |

2022-02-17 22:16:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:23 | ------------------------------------

2022-02-17 22:16:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7c20759d-b7b8-4631-a08a-948f385a2d1e</title></pubsub></data>

2022-02-17 22:16:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 22:16:25 | [Mutex] waiting for: [received:nodes:a2147225-59a9-4cc9-8fe7-e61a30a20aab:localhost]

2022-02-17 22:16:25 | [Mutex] received everything.

2022-02-17 22:16:25 | [Mutex] isItemNotified: received:node:a2147225-59a9-4cc9-8fe7-e61a30a20aab:localhost:node-7c20759d-b7b8-4631-a08a-948f385a2d1e:Node 7c20759d-b7b8-4631-a08a-948f385a2d1e :: true

createSubnodes 1.025s
2022-02-17 22:16:25 |

2022-02-17 22:16:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:25 | ------------------------------------

2022-02-17 22:16:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1feeb5cd-453d-485c-befa-e9d4594f1c1b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1feeb5cd-453d-485c-befa-e9d4594f1c1b</title></pubsub></data>

2022-02-17 22:16:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 22:16:26 | [Mutex] waiting for: [received:nodes:40f709d8-5da4-472a-abf3-dca7d4ecf612:localhost]

2022-02-17 22:16:26 | [Mutex] received everything.

2022-02-17 22:16:26 | [Mutex] isItemNotified: received:node:40f709d8-5da4-472a-abf3-dca7d4ecf612:localhost:node-1feeb5cd-453d-485c-befa-e9d4594f1c1b:Node 1feeb5cd-453d-485c-befa-e9d4594f1c1b :: true

deleteNodes 1.026s
2022-02-17 22:16:32 |

2022-02-17 22:16:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:32 | ------------------------------------

2022-02-17 22:16:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1feeb5cd-453d-485c-befa-e9d4594f1c1b</node></data>

2022-02-17 22:16:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 22:16:33 | [Mutex] waiting for: [received:nodes:0e795fd2-40c7-4995-83fa-828875ff4ffe:localhost]

2022-02-17 22:16:33 | [Mutex] waiting for: [received:nodes:0e795fd2-40c7-4995-83fa-828875ff4ffe:localhost]

2022-02-17 22:16:33 | [Mutex] received everything.

2022-02-17 22:16:33 | [Mutex] isItemNotified: received:node:0e795fd2-40c7-4995-83fa-828875ff4ffe:localhost:node-1feeb5cd-453d-485c-befa-e9d4594f1c1b:Node 1feeb5cd-453d-485c-befa-e9d4594f1c1b :: false

deleteSubnodes 1.147s
2022-02-17 22:16:31 |

2022-02-17 22:16:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:31 | ------------------------------------

2022-02-17 22:16:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</node></data>

2022-02-17 22:16:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 22:16:32 | [Mutex] waiting for: [received:nodes:f8866815-37e3-4ec8-b290-86caa07532c8:localhost]

2022-02-17 22:16:32 | [Mutex] waiting for: [received:nodes:f8866815-37e3-4ec8-b290-86caa07532c8:localhost]

2022-02-17 22:16:32 | [Mutex] waiting for: [received:nodes:f8866815-37e3-4ec8-b290-86caa07532c8:localhost]

2022-02-17 22:16:32 | [Mutex] received everything.

2022-02-17 22:16:32 | [Mutex] isItemNotified: received:node:f8866815-37e3-4ec8-b290-86caa07532c8:localhost:node-7c20759d-b7b8-4631-a08a-948f385a2d1e:Node 7c20759d-b7b8-4631-a08a-948f385a2d1e :: false

2022-02-17 22:16:32 | [Mutex] waiting for: [received:nodes:9622ea94-238a-41df-8da8-c77ac837abc9:localhost]

2022-02-17 22:16:32 | [Mutex] received everything.

2022-02-17 22:16:32 | [Mutex] isItemNotified: received:node:9622ea94-238a-41df-8da8-c77ac837abc9:localhost:node-7c20759d-b7b8-4631-a08a-948f385a2d1e:Node 7c20759d-b7b8-4631-a08a-948f385a2d1e :: false

publishItemsToNodes 0.280s
2022-02-17 22:16:28 |

2022-02-17 22:16:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:28 | ------------------------------------

2022-02-17 22:16:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</node><item-id>item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</item-id><entry><test>item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</test></entry></data>

2022-02-17 22:16:28 | 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-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</value></item-id></result>

2022-02-17 22:16:28 | [Mutex] received everything.

2022-02-17 22:16:28 | [Mutex] isItemNotified: published:item:notifieditem-5b417ec4-0f88-434d-8c13-41c3a8df3bc3:admin@test-domain.com :: true

retractItemsFromNodes 0.328s
2022-02-17 22:16:29 |

2022-02-17 22:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:29 | ------------------------------------

2022-02-17 22:16:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</node><item-id>item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</item-id></data>

2022-02-17 22:16:29 | 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-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</value></item-id></result>

2022-02-17 22:16:29 | [Mutex] received everything.

2022-02-17 22:16:29 | [Mutex] isItemNotified: retracted:item:notifieditem-5b417ec4-0f88-434d-8c13-41c3a8df3bc3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2022-02-17 22:16:28 |

2022-02-17 22:16:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:28 | ------------------------------------

2022-02-17 22:16:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</node><item-id>item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</item-id></data>

2022-02-17 22:16:29 | 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-7c20759d-b7b8-4631-a08a-948f385a2d1e</value></node><item-id label="Item ID" type="text-single"><value>item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</value></item-id><item label="Item" type="text-multi"><value><item id="item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3"><test>item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3</test></item></value></item></result>

2022-02-17 22:16:29 | [Mutex] notify: [retrieved:item:item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3:payload-matches:true:localhost]

2022-02-17 22:16:29 | [Mutex] received everything.

2022-02-17 22:16:29 | [Mutex] isItemNotified: retrieved:item:item-5b417ec4-0f88-434d-8c13-41c3a8df3bc3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-17 22:16:29 |

2022-02-17 22:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:29 | ------------------------------------

2022-02-17 22:16:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-17 22:16:29 | 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-1feeb5cd-453d-485c-befa-e9d4594f1c1b</value><value>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-17 22:16:29 |

2022-02-17 22:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:29 | ------------------------------------

2022-02-17 22:16:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7c20759d-b7b8-4631-a08a-948f385a2d1e)</node-pattern></data>

2022-02-17 22:16:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.184s
2022-02-17 22:16:27 |

2022-02-17 22:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:27 | ------------------------------------

2022-02-17 22:16:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-17 22:16:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.403s
2022-02-17 22:16:29 |

2022-02-17 22:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 22:16:29 | ------------------------------------

2022-02-17 22:16:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7c20759d-b7b8-4631-a08a-948f385a2d1e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-17 22:16:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>