Generated by TestNG with ReportNG at 23:00 PDT on Tuesday 28 September 2021
root@f29ef40080b5 / 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.064s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2021-09-28 23:14:53 |

2021-09-28 23:14:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:53 | ------------------------------------

2021-09-28 23:14:53 | [Mutex] waiting for: [configured:node:node-a1595ea1-e49f-46c4-8e47-2160ec45f86b:node-4d5a77ec-91d0-40b8-91c3-9eabc4057b82]

2021-09-28 23:14:54 | [Mutex] received everything.

2021-09-28 23:14:54 | [Mutex] isItemNotified: configured:node:node-a1595ea1-e49f-46c4-8e47-2160ec45f86b:node-4d5a77ec-91d0-40b8-91c3-9eabc4057b82 :: true

2021-09-28 23:14:55 | [Mutex] waiting for: [received:nodes:2676996d-3018-4255-bd0b-f925eeb3b891:localhost]

2021-09-28 23:14:55 | [Mutex] received everything.

2021-09-28 23:14:55 | [Mutex] isItemNotified: received:node:2676996d-3018-4255-bd0b-f925eeb3b891:localhost:node-a1595ea1-e49f-46c4-8e47-2160ec45f86b:Node a1595ea1-e49f-46c4-8e47-2160ec45f86b :: true

2021-09-28 23:14:55 | [Mutex] waiting for: [received:nodes:4b9cfaea-5b6e-42f4-9af3-a0a646bb2409:localhost]

2021-09-28 23:14:55 | [Mutex] received everything.

2021-09-28 23:14:55 | [Mutex] isItemNotified: received:node:4b9cfaea-5b6e-42f4-9af3-a0a646bb2409:localhost:node-a1595ea1-e49f-46c4-8e47-2160ec45f86b:Node a1595ea1-e49f-46c4-8e47-2160ec45f86b :: false

createNodes 1.457s
2021-09-28 23:14:51 |

2021-09-28 23:14:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:51 | ------------------------------------

2021-09-28 23:14:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1595ea1-e49f-46c4-8e47-2160ec45f86b</title></pubsub></data>

2021-09-28 23:14:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 23:14:52 | [Mutex] waiting for: [received:nodes:3b71d744-bf75-41a9-853b-5f45f1ad990e:localhost]

2021-09-28 23:14:52 | [Mutex] received everything.

2021-09-28 23:14:52 | [Mutex] isItemNotified: received:node:3b71d744-bf75-41a9-853b-5f45f1ad990e:localhost:node-a1595ea1-e49f-46c4-8e47-2160ec45f86b:Node a1595ea1-e49f-46c4-8e47-2160ec45f86b :: true

createSubnodes 1.037s
2021-09-28 23:14:52 |

2021-09-28 23:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:52 | ------------------------------------

2021-09-28 23:14:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4d5a77ec-91d0-40b8-91c3-9eabc4057b82</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4d5a77ec-91d0-40b8-91c3-9eabc4057b82</title></pubsub></data>

2021-09-28 23:14:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 23:14:53 | [Mutex] waiting for: [received:nodes:9539297d-68c7-435e-8457-774892091882:localhost]

2021-09-28 23:14:53 | [Mutex] received everything.

2021-09-28 23:14:53 | [Mutex] isItemNotified: received:node:9539297d-68c7-435e-8457-774892091882:localhost:node-4d5a77ec-91d0-40b8-91c3-9eabc4057b82:Node 4d5a77ec-91d0-40b8-91c3-9eabc4057b82 :: true

deleteNodes 1.019s
2021-09-28 23:14:59 |

2021-09-28 23:14:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:59 | ------------------------------------

2021-09-28 23:14:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4d5a77ec-91d0-40b8-91c3-9eabc4057b82</node></data>

2021-09-28 23:14:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 23:15:00 | [Mutex] waiting for: [received:nodes:5f150ba5-e651-4664-b4fa-821e08a7db0b:localhost]

2021-09-28 23:15:00 | [Mutex] received everything.

2021-09-28 23:15:00 | [Mutex] isItemNotified: received:node:5f150ba5-e651-4664-b4fa-821e08a7db0b:localhost:node-4d5a77ec-91d0-40b8-91c3-9eabc4057b82:Node 4d5a77ec-91d0-40b8-91c3-9eabc4057b82 :: false

deleteSubnodes 1.131s
2021-09-28 23:14:58 |

2021-09-28 23:14:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:58 | ------------------------------------

2021-09-28 23:14:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</node></data>

2021-09-28 23:14:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 23:14:59 | [Mutex] waiting for: [received:nodes:6ccda47e-68a9-42cb-bd72-7e935d5763bf:localhost]

2021-09-28 23:14:59 | [Mutex] received everything.

2021-09-28 23:14:59 | [Mutex] isItemNotified: received:node:6ccda47e-68a9-42cb-bd72-7e935d5763bf:localhost:node-a1595ea1-e49f-46c4-8e47-2160ec45f86b:Node a1595ea1-e49f-46c4-8e47-2160ec45f86b :: false

2021-09-28 23:14:59 | [Mutex] waiting for: [received:nodes:dd5d5ee6-78c1-48e1-a1e7-2b323ecad3d6:localhost]

2021-09-28 23:14:59 | [Mutex] received everything.

2021-09-28 23:14:59 | [Mutex] isItemNotified: received:node:dd5d5ee6-78c1-48e1-a1e7-2b323ecad3d6:localhost:node-a1595ea1-e49f-46c4-8e47-2160ec45f86b:Node a1595ea1-e49f-46c4-8e47-2160ec45f86b :: false

publishItemsToNodes 0.221s
2021-09-28 23:14:56 |

2021-09-28 23:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:56 | ------------------------------------

2021-09-28 23:14:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</node><item-id>item-e41ada71-cc9f-405c-8914-d8375c7a7519</item-id><entry><test>item-e41ada71-cc9f-405c-8914-d8375c7a7519</test></entry></data>

2021-09-28 23:14:56 | 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-e41ada71-cc9f-405c-8914-d8375c7a7519</value></item-id></result>

2021-09-28 23:14:56 | [Mutex] waiting for: [published:item:notifieditem-e41ada71-cc9f-405c-8914-d8375c7a7519:admin@test-domain.com]

2021-09-28 23:14:56 | [Mutex] received everything.

2021-09-28 23:14:56 | [Mutex] isItemNotified: published:item:notifieditem-e41ada71-cc9f-405c-8914-d8375c7a7519:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2021-09-28 23:14:56 |

2021-09-28 23:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:56 | ------------------------------------

2021-09-28 23:14:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</node><item-id>item-e41ada71-cc9f-405c-8914-d8375c7a7519</item-id></data>

2021-09-28 23:14:57 | 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-e41ada71-cc9f-405c-8914-d8375c7a7519</value></item-id></result>

2021-09-28 23:14:57 | [Mutex] received everything.

2021-09-28 23:14:57 | [Mutex] isItemNotified: retracted:item:notifieditem-e41ada71-cc9f-405c-8914-d8375c7a7519:admin@test-domain.com :: true

retrieveItemsFromNodes 0.337s
2021-09-28 23:14:56 |

2021-09-28 23:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:56 | ------------------------------------

2021-09-28 23:14:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</node><item-id>item-e41ada71-cc9f-405c-8914-d8375c7a7519</item-id></data>

2021-09-28 23:14:56 | 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-a1595ea1-e49f-46c4-8e47-2160ec45f86b</value></node><item-id label="Item ID" type="text-single"><value>item-e41ada71-cc9f-405c-8914-d8375c7a7519</value></item-id><item label="Item" type="text-multi"><value><item id="item-e41ada71-cc9f-405c-8914-d8375c7a7519"><test>item-e41ada71-cc9f-405c-8914-d8375c7a7519</test></item></value></item></result>

2021-09-28 23:14:56 | [Mutex] notify: [retrieved:item:item-e41ada71-cc9f-405c-8914-d8375c7a7519:payload-matches:true:localhost]

2021-09-28 23:14:56 | [Mutex] received everything.

2021-09-28 23:14:56 | [Mutex] isItemNotified: retrieved:item:item-e41ada71-cc9f-405c-8914-d8375c7a7519:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-09-28 23:14:56 |

2021-09-28 23:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:56 | ------------------------------------

2021-09-28 23:14:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-28 23:14:56 | 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-4d5a77ec-91d0-40b8-91c3-9eabc4057b82</value><value>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-09-28 23:14:56 |

2021-09-28 23:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:56 | ------------------------------------

2021-09-28 23:14:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a1595ea1-e49f-46c4-8e47-2160ec45f86b)</node-pattern></data>

2021-09-28 23:14:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.160s
2021-09-28 23:14:55 |

2021-09-28 23:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:55 | ------------------------------------

2021-09-28 23:14:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-28 23:14:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2021-09-28 23:14:57 |

2021-09-28 23:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 23:14:57 | ------------------------------------

2021-09-28 23:14:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a1595ea1-e49f-46c4-8e47-2160ec45f86b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-28 23:14:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>