Generated by TestNG with ReportNG at 21:39 PST on Tuesday 23 February 2021
root@87f6aca6b6f2 / 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.077s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2021-02-23 21:55:30 |

2021-02-23 21:55:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:30 | ------------------------------------

2021-02-23 21:55:30 | [Mutex] waiting for: [configured:node:node-aff06ee3-06ea-49e3-bca1-3b10551abf96:node-df453c01-5a31-4109-a400-afa052c1e295]

2021-02-23 21:55:30 | [Mutex] received everything.

2021-02-23 21:55:30 | [Mutex] isItemNotified: configured:node:node-aff06ee3-06ea-49e3-bca1-3b10551abf96:node-df453c01-5a31-4109-a400-afa052c1e295 :: true

2021-02-23 21:55:31 | [Mutex] waiting for: [received:nodes:be8ec0ed-fda0-4684-9668-af2a0cbd0ae3:localhost]

2021-02-23 21:55:31 | [Mutex] received everything.

2021-02-23 21:55:31 | [Mutex] isItemNotified: received:node:be8ec0ed-fda0-4684-9668-af2a0cbd0ae3:localhost:node-aff06ee3-06ea-49e3-bca1-3b10551abf96:Node aff06ee3-06ea-49e3-bca1-3b10551abf96 :: true

2021-02-23 21:55:31 | [Mutex] waiting for: [received:nodes:8756b547-68fd-470d-8075-21f6902a6015:localhost]

2021-02-23 21:55:31 | [Mutex] received everything.

2021-02-23 21:55:31 | [Mutex] isItemNotified: received:node:8756b547-68fd-470d-8075-21f6902a6015:localhost:node-aff06ee3-06ea-49e3-bca1-3b10551abf96:Node aff06ee3-06ea-49e3-bca1-3b10551abf96 :: false

createNodes 1.487s
2021-02-23 21:55:28 |

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

2021-02-23 21:55:28 | ------------------------------------

2021-02-23 21:55:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aff06ee3-06ea-49e3-bca1-3b10551abf96</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aff06ee3-06ea-49e3-bca1-3b10551abf96</title></pubsub></data>

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

2021-02-23 21:55:29 | [Mutex] waiting for: [received:nodes:cee3fa7f-c273-4e03-8fb2-a93ffa5e347c:localhost]

2021-02-23 21:55:29 | [Mutex] received everything.

2021-02-23 21:55:29 | [Mutex] isItemNotified: received:node:cee3fa7f-c273-4e03-8fb2-a93ffa5e347c:localhost:node-aff06ee3-06ea-49e3-bca1-3b10551abf96:Node aff06ee3-06ea-49e3-bca1-3b10551abf96 :: true

createSubnodes 1.025s
2021-02-23 21:55:29 |

2021-02-23 21:55:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:29 | ------------------------------------

2021-02-23 21:55:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-df453c01-5a31-4109-a400-afa052c1e295</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node df453c01-5a31-4109-a400-afa052c1e295</title></pubsub></data>

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

2021-02-23 21:55:30 | [Mutex] waiting for: [received:nodes:537404d4-86a0-428a-bd53-11eb0fee8923:localhost]

2021-02-23 21:55:30 | [Mutex] received everything.

2021-02-23 21:55:30 | [Mutex] isItemNotified: received:node:537404d4-86a0-428a-bd53-11eb0fee8923:localhost:node-df453c01-5a31-4109-a400-afa052c1e295:Node df453c01-5a31-4109-a400-afa052c1e295 :: true

deleteNodes 1.016s
2021-02-23 21:55:36 |

2021-02-23 21:55:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:36 | ------------------------------------

2021-02-23 21:55:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-df453c01-5a31-4109-a400-afa052c1e295</node></data>

2021-02-23 21:55:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:55:37 | [Mutex] waiting for: [received:nodes:97d75069-d62e-40c8-a26c-289d8c4a0159:localhost]

2021-02-23 21:55:37 | [Mutex] received everything.

2021-02-23 21:55:37 | [Mutex] isItemNotified: received:node:97d75069-d62e-40c8-a26c-289d8c4a0159:localhost:node-df453c01-5a31-4109-a400-afa052c1e295:Node df453c01-5a31-4109-a400-afa052c1e295 :: false

deleteSubnodes 1.129s
2021-02-23 21:55:35 |

2021-02-23 21:55:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:35 | ------------------------------------

2021-02-23 21:55:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aff06ee3-06ea-49e3-bca1-3b10551abf96</node></data>

2021-02-23 21:55:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:55:36 | [Mutex] waiting for: [received:nodes:985ff0f8-04ba-427f-b358-859281dd4a8c:localhost]

2021-02-23 21:55:36 | [Mutex] received everything.

2021-02-23 21:55:36 | [Mutex] isItemNotified: received:node:985ff0f8-04ba-427f-b358-859281dd4a8c:localhost:node-aff06ee3-06ea-49e3-bca1-3b10551abf96:Node aff06ee3-06ea-49e3-bca1-3b10551abf96 :: false

2021-02-23 21:55:36 | [Mutex] waiting for: [received:nodes:37a776bf-aedc-4cad-a605-393de4b28428:localhost]

2021-02-23 21:55:36 | [Mutex] received everything.

2021-02-23 21:55:36 | [Mutex] isItemNotified: received:node:37a776bf-aedc-4cad-a605-393de4b28428:localhost:node-aff06ee3-06ea-49e3-bca1-3b10551abf96:Node aff06ee3-06ea-49e3-bca1-3b10551abf96 :: false

publishItemsToNodes 0.241s
2021-02-23 21:55:33 |

2021-02-23 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:33 | ------------------------------------

2021-02-23 21:55:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-aff06ee3-06ea-49e3-bca1-3b10551abf96</node><item-id>item-d0bad377-44bc-498c-9008-b17c5667be26</item-id><entry><test>item-d0bad377-44bc-498c-9008-b17c5667be26</test></entry></data>

2021-02-23 21:55:33 | 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-d0bad377-44bc-498c-9008-b17c5667be26</value></item-id></result>

2021-02-23 21:55:33 | [Mutex] received everything.

2021-02-23 21:55:33 | [Mutex] isItemNotified: published:item:notifieditem-d0bad377-44bc-498c-9008-b17c5667be26:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2021-02-23 21:55:33 |

2021-02-23 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:33 | ------------------------------------

2021-02-23 21:55:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-aff06ee3-06ea-49e3-bca1-3b10551abf96</node><item-id>item-d0bad377-44bc-498c-9008-b17c5667be26</item-id></data>

2021-02-23 21:55:33 | 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-d0bad377-44bc-498c-9008-b17c5667be26</value></item-id></result>

2021-02-23 21:55:33 | [Mutex] received everything.

2021-02-23 21:55:33 | [Mutex] isItemNotified: retracted:item:notifieditem-d0bad377-44bc-498c-9008-b17c5667be26:admin@test-domain.com :: true

retrieveItemsFromNodes 0.263s
2021-02-23 21:55:33 |

2021-02-23 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:33 | ------------------------------------

2021-02-23 21:55:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-aff06ee3-06ea-49e3-bca1-3b10551abf96</node><item-id>item-d0bad377-44bc-498c-9008-b17c5667be26</item-id></data>

2021-02-23 21:55:33 | 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-aff06ee3-06ea-49e3-bca1-3b10551abf96</value></node><item-id label="Item ID" type="text-single"><value>item-d0bad377-44bc-498c-9008-b17c5667be26</value></item-id><item label="Item" type="text-multi"><value><item id="item-d0bad377-44bc-498c-9008-b17c5667be26"><test>item-d0bad377-44bc-498c-9008-b17c5667be26</test></item></value></item></result>

2021-02-23 21:55:33 | [Mutex] notify: [retrieved:item:item-d0bad377-44bc-498c-9008-b17c5667be26:payload-matches:true:localhost]

2021-02-23 21:55:33 | [Mutex] received everything.

2021-02-23 21:55:33 | [Mutex] isItemNotified: retrieved:item:item-d0bad377-44bc-498c-9008-b17c5667be26:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-23 21:55:33 |

2021-02-23 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:33 | ------------------------------------

2021-02-23 21:55:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-23 21:55:33 | 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-aff06ee3-06ea-49e3-bca1-3b10551abf96</value><value>node-df453c01-5a31-4109-a400-afa052c1e295</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-02-23 21:55:33 |

2021-02-23 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:33 | ------------------------------------

2021-02-23 21:55:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aff06ee3-06ea-49e3-bca1-3b10551abf96)</node-pattern></data>

2021-02-23 21:55:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.171s
2021-02-23 21:55:31 |

2021-02-23 21:55:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:31 | ------------------------------------

2021-02-23 21:55:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-aff06ee3-06ea-49e3-bca1-3b10551abf96</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.275s
2021-02-23 21:55:33 |

2021-02-23 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:33 | ------------------------------------

2021-02-23 21:55:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-aff06ee3-06ea-49e3-bca1-3b10551abf96</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-23 21:55:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>