Generated by TestNG with ReportNG at 21:13 PST on Monday 21 December 2020
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.091s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2020-12-21 21:29:27 |

2020-12-21 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:27 | ------------------------------------

2020-12-21 21:29:27 | [Mutex] waiting for: [configured:node:node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e:node-d5b76fe9-9d7f-432d-987d-7b3386398f86]

2020-12-21 21:29:28 | [Mutex] received everything.

2020-12-21 21:29:28 | [Mutex] isItemNotified: configured:node:node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e:node-d5b76fe9-9d7f-432d-987d-7b3386398f86 :: true

2020-12-21 21:29:29 | [Mutex] waiting for: [received:nodes:f50a4ed6-f22e-4a58-b9d6-d5a74b7a6fed:localhost]

2020-12-21 21:29:29 | [Mutex] received everything.

2020-12-21 21:29:29 | [Mutex] isItemNotified: received:node:f50a4ed6-f22e-4a58-b9d6-d5a74b7a6fed:localhost:node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e:Node 6c1deb38-1bfd-4260-9baa-1d67a0bbe07e :: true

2020-12-21 21:29:29 | [Mutex] waiting for: [received:nodes:c7360f29-5930-40c0-aab9-658c0673592e:localhost]

2020-12-21 21:29:29 | [Mutex] received everything.

2020-12-21 21:29:29 | [Mutex] isItemNotified: received:node:c7360f29-5930-40c0-aab9-658c0673592e:localhost:node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e:Node 6c1deb38-1bfd-4260-9baa-1d67a0bbe07e :: false

createNodes 1.540s
2020-12-21 21:29:25 |

2020-12-21 21:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:25 | ------------------------------------

2020-12-21 21:29:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</title></pubsub></data>

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

2020-12-21 21:29:26 | [Mutex] waiting for: [received:nodes:13489dfe-a3ec-43d8-b1b0-4e4ec6211ffa:localhost]

2020-12-21 21:29:26 | [Mutex] received everything.

2020-12-21 21:29:26 | [Mutex] isItemNotified: received:node:13489dfe-a3ec-43d8-b1b0-4e4ec6211ffa:localhost:node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e:Node 6c1deb38-1bfd-4260-9baa-1d67a0bbe07e :: true

createSubnodes 1.029s
2020-12-21 21:29:26 |

2020-12-21 21:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:26 | ------------------------------------

2020-12-21 21:29:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d5b76fe9-9d7f-432d-987d-7b3386398f86</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5b76fe9-9d7f-432d-987d-7b3386398f86</title></pubsub></data>

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

2020-12-21 21:29:27 | [Mutex] waiting for: [received:nodes:9ccc1bba-d17c-42f8-af0c-5df79e3c5e58:localhost]

2020-12-21 21:29:27 | [Mutex] received everything.

2020-12-21 21:29:27 | [Mutex] isItemNotified: received:node:9ccc1bba-d17c-42f8-af0c-5df79e3c5e58:localhost:node-d5b76fe9-9d7f-432d-987d-7b3386398f86:Node d5b76fe9-9d7f-432d-987d-7b3386398f86 :: true

deleteNodes 1.017s
2020-12-21 21:29:33 |

2020-12-21 21:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:33 | ------------------------------------

2020-12-21 21:29:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d5b76fe9-9d7f-432d-987d-7b3386398f86</node></data>

2020-12-21 21:29:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-21 21:29:34 | [Mutex] waiting for: [received:nodes:8a25f594-91f8-41ab-bd04-9139e468f03d:localhost]

2020-12-21 21:29:34 | [Mutex] received everything.

2020-12-21 21:29:34 | [Mutex] isItemNotified: received:node:8a25f594-91f8-41ab-bd04-9139e468f03d:localhost:node-d5b76fe9-9d7f-432d-987d-7b3386398f86:Node d5b76fe9-9d7f-432d-987d-7b3386398f86 :: false

deleteSubnodes 1.137s
2020-12-21 21:29:32 |

2020-12-21 21:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:32 | ------------------------------------

2020-12-21 21:29:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</node></data>

2020-12-21 21:29:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-21 21:29:33 | [Mutex] waiting for: [received:nodes:ee57b04c-1113-4da1-8c28-d08ca846ae03:localhost]

2020-12-21 21:29:33 | [Mutex] received everything.

2020-12-21 21:29:33 | [Mutex] isItemNotified: received:node:ee57b04c-1113-4da1-8c28-d08ca846ae03:localhost:node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e:Node 6c1deb38-1bfd-4260-9baa-1d67a0bbe07e :: false

2020-12-21 21:29:33 | [Mutex] waiting for: [received:nodes:48477adb-4900-4f4d-b53b-10c156cecaed:localhost]

2020-12-21 21:29:33 | [Mutex] received everything.

2020-12-21 21:29:33 | [Mutex] isItemNotified: received:node:48477adb-4900-4f4d-b53b-10c156cecaed:localhost:node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e:Node 6c1deb38-1bfd-4260-9baa-1d67a0bbe07e :: false

publishItemsToNodes 0.197s
2020-12-21 21:29:30 |

2020-12-21 21:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:30 | ------------------------------------

2020-12-21 21:29:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</node><item-id>item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</item-id><entry><test>item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</test></entry></data>

2020-12-21 21:29:30 | 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-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</value></item-id></result>

2020-12-21 21:29:30 | [Mutex] waiting for: [published:item:notifieditem-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41:admin@test-domain.com]

2020-12-21 21:29:30 | [Mutex] received everything.

2020-12-21 21:29:30 | [Mutex] isItemNotified: published:item:notifieditem-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41:admin@test-domain.com :: true

retractItemsFromNodes 0.226s
2020-12-21 21:29:30 |

2020-12-21 21:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:30 | ------------------------------------

2020-12-21 21:29:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</node><item-id>item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</item-id></data>

2020-12-21 21:29:31 | 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-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</value></item-id></result>

2020-12-21 21:29:31 | [Mutex] received everything.

2020-12-21 21:29:31 | [Mutex] isItemNotified: retracted:item:notifieditem-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2020-12-21 21:29:30 |

2020-12-21 21:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:30 | ------------------------------------

2020-12-21 21:29:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</node><item-id>item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</item-id></data>

2020-12-21 21:29:30 | 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-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</value></node><item-id label="Item ID" type="text-single"><value>item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</value></item-id><item label="Item" type="text-multi"><value><item id="item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41"><test>item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41</test></item></value></item></result>

2020-12-21 21:29:30 | [Mutex] notify: [retrieved:item:item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41:payload-matches:true:localhost]

2020-12-21 21:29:30 | [Mutex] received everything.

2020-12-21 21:29:30 | [Mutex] isItemNotified: retrieved:item:item-d21ac82a-2bc5-4a38-9c76-b3e3dcd28b41:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-12-21 21:29:30 |

2020-12-21 21:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:30 | ------------------------------------

2020-12-21 21:29:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-21 21:29:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</value><value>test</value><value>node-d5b76fe9-9d7f-432d-987d-7b3386398f86</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-12-21 21:29:30 |

2020-12-21 21:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:30 | ------------------------------------

2020-12-21 21:29:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e)</node-pattern></data>

2020-12-21 21:29:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.128s
2020-12-21 21:29:29 |

2020-12-21 21:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:29 | ------------------------------------

2020-12-21 21:29:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-21 21:29:29 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.314s
2020-12-21 21:29:31 |

2020-12-21 21:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:31 | ------------------------------------

2020-12-21 21:29:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6c1deb38-1bfd-4260-9baa-1d67a0bbe07e</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-21 21:29:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>