Generated by TestNG with ReportNG at 22:42 PDT on Wednesday 06 October 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.453s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-10-06 22:57:50 |

2021-10-06 22:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:50 | ------------------------------------

2021-10-06 22:57:50 | [Mutex] waiting for: [configured:node:node-63586ce1-bc83-4a4e-be5c-f96c93cf6520:node-62123ee2-f973-40f6-accb-665de0982e99]

2021-10-06 22:57:50 | [Mutex] received everything.

2021-10-06 22:57:50 | [Mutex] isItemNotified: configured:node:node-63586ce1-bc83-4a4e-be5c-f96c93cf6520:node-62123ee2-f973-40f6-accb-665de0982e99 :: true

2021-10-06 22:57:51 | [Mutex] waiting for: [received:nodes:30fb207c-7752-4bbe-866c-f6e06d6d90d8:localhost]

2021-10-06 22:57:51 | [Mutex] received everything.

2021-10-06 22:57:51 | [Mutex] isItemNotified: received:node:30fb207c-7752-4bbe-866c-f6e06d6d90d8:localhost:node-63586ce1-bc83-4a4e-be5c-f96c93cf6520:Node 63586ce1-bc83-4a4e-be5c-f96c93cf6520 :: true

2021-10-06 22:57:51 | [Mutex] waiting for: [received:nodes:7d33ba08-7644-4631-a03a-a23574139418:localhost]

2021-10-06 22:57:51 | [Mutex] received everything.

2021-10-06 22:57:51 | [Mutex] isItemNotified: received:node:7d33ba08-7644-4631-a03a-a23574139418:localhost:node-63586ce1-bc83-4a4e-be5c-f96c93cf6520:Node 63586ce1-bc83-4a4e-be5c-f96c93cf6520 :: false

createNodes 1.469s
2021-10-06 22:57:47 |

2021-10-06 22:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:47 | ------------------------------------

2021-10-06 22:57:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 63586ce1-bc83-4a4e-be5c-f96c93cf6520</title></pubsub></data>

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

2021-10-06 22:57:49 | [Mutex] waiting for: [received:nodes:52592d96-992c-4899-914f-8ae6ed3ac582:localhost]

2021-10-06 22:57:49 | [Mutex] received everything.

2021-10-06 22:57:49 | [Mutex] isItemNotified: received:node:52592d96-992c-4899-914f-8ae6ed3ac582:localhost:node-63586ce1-bc83-4a4e-be5c-f96c93cf6520:Node 63586ce1-bc83-4a4e-be5c-f96c93cf6520 :: true

createSubnodes 1.031s
2021-10-06 22:57:49 |

2021-10-06 22:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:49 | ------------------------------------

2021-10-06 22:57:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-62123ee2-f973-40f6-accb-665de0982e99</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62123ee2-f973-40f6-accb-665de0982e99</title></pubsub></data>

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

2021-10-06 22:57:50 | [Mutex] waiting for: [received:nodes:2b2fb7cc-143c-4bad-b979-f0111dd33a66:localhost]

2021-10-06 22:57:50 | [Mutex] received everything.

2021-10-06 22:57:50 | [Mutex] isItemNotified: received:node:2b2fb7cc-143c-4bad-b979-f0111dd33a66:localhost:node-62123ee2-f973-40f6-accb-665de0982e99:Node 62123ee2-f973-40f6-accb-665de0982e99 :: true

deleteNodes 1.021s
2021-10-06 22:57:56 |

2021-10-06 22:57:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:56 | ------------------------------------

2021-10-06 22:57:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-62123ee2-f973-40f6-accb-665de0982e99</node></data>

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

2021-10-06 22:57:57 | [Mutex] waiting for: [received:nodes:61a8ce52-31ba-4e46-80d4-4f4257c02ad6:localhost]

2021-10-06 22:57:57 | [Mutex] received everything.

2021-10-06 22:57:57 | [Mutex] isItemNotified: received:node:61a8ce52-31ba-4e46-80d4-4f4257c02ad6:localhost:node-62123ee2-f973-40f6-accb-665de0982e99:Node 62123ee2-f973-40f6-accb-665de0982e99 :: false

deleteSubnodes 1.124s
2021-10-06 22:57:55 |

2021-10-06 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:55 | ------------------------------------

2021-10-06 22:57:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</node></data>

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

2021-10-06 22:57:56 | [Mutex] waiting for: [received:nodes:a7a2bd37-e598-487d-8aed-e74eebabbbe8:localhost]

2021-10-06 22:57:56 | [Mutex] waiting for: [received:nodes:a7a2bd37-e598-487d-8aed-e74eebabbbe8:localhost]

2021-10-06 22:57:56 | [Mutex] received everything.

2021-10-06 22:57:56 | [Mutex] isItemNotified: received:node:a7a2bd37-e598-487d-8aed-e74eebabbbe8:localhost:node-63586ce1-bc83-4a4e-be5c-f96c93cf6520:Node 63586ce1-bc83-4a4e-be5c-f96c93cf6520 :: false

2021-10-06 22:57:56 | [Mutex] waiting for: [received:nodes:a928e8b7-eb71-46b4-a281-20e41f696583:localhost]

2021-10-06 22:57:56 | [Mutex] received everything.

2021-10-06 22:57:56 | [Mutex] isItemNotified: received:node:a928e8b7-eb71-46b4-a281-20e41f696583:localhost:node-63586ce1-bc83-4a4e-be5c-f96c93cf6520:Node 63586ce1-bc83-4a4e-be5c-f96c93cf6520 :: false

publishItemsToNodes 0.335s
2021-10-06 22:57:52 |

2021-10-06 22:57:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:52 | ------------------------------------

2021-10-06 22:57:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</node><item-id>item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</item-id><entry><test>item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</test></entry></data>

2021-10-06 22:57:52 | 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-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</value></item-id></result>

2021-10-06 22:57:52 | [Mutex] received everything.

2021-10-06 22:57:52 | [Mutex] isItemNotified: published:item:notifieditem-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f:admin@test-domain.com :: true

retractItemsFromNodes 0.339s
2021-10-06 22:57:53 |

2021-10-06 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:53 | ------------------------------------

2021-10-06 22:57:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</node><item-id>item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</item-id></data>

2021-10-06 22:57:53 | 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-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</value></item-id></result>

2021-10-06 22:57:53 | [Mutex] received everything.

2021-10-06 22:57:53 | [Mutex] isItemNotified: retracted:item:notifieditem-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.410s
2021-10-06 22:57:52 |

2021-10-06 22:57:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:52 | ------------------------------------

2021-10-06 22:57:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</node><item-id>item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</item-id></data>

2021-10-06 22:57:53 | 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-63586ce1-bc83-4a4e-be5c-f96c93cf6520</value></node><item-id label="Item ID" type="text-single"><value>item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</value></item-id><item label="Item" type="text-multi"><value><item id="item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f"><test>item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f</test></item></value></item></result>

2021-10-06 22:57:53 | [Mutex] notify: [retrieved:item:item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f:payload-matches:true:localhost]

2021-10-06 22:57:53 | [Mutex] received everything.

2021-10-06 22:57:53 | [Mutex] isItemNotified: retrieved:item:item-a61c37d4-f2d0-4e6f-a857-ff8da5e05c9f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2021-10-06 22:57:53 |

2021-10-06 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:53 | ------------------------------------

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

2021-10-06 22:57:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</value><value>node-62123ee2-f973-40f6-accb-665de0982e99</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2021-10-06 22:57:53 |

2021-10-06 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:53 | ------------------------------------

2021-10-06 22:57:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-63586ce1-bc83-4a4e-be5c-f96c93cf6520)</node-pattern></data>

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

subscribeNodes 1.199s
2021-10-06 22:57:51 |

2021-10-06 22:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:51 | ------------------------------------

2021-10-06 22:57:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2021-10-06 22:57:53 |

2021-10-06 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:57:53 | ------------------------------------

2021-10-06 22:57:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-63586ce1-bc83-4a4e-be5c-f96c93cf6520</node><jids><value>admin@test-domain.com</value></jids></data>

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