Generated by TestNG with ReportNG at 22:32 PDT on Sunday 03 October 2021
root@b2c2a8eba6e6 / 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.232s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2021-10-03 22:48:22 |

2021-10-03 22:48:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:22 | ------------------------------------

2021-10-03 22:48:22 | [Mutex] waiting for: [configured:node:node-6408cb74-9cf4-441b-944f-6bc74224a064:node-4a355051-56d8-4b46-b101-50bb91de5c36]

2021-10-03 22:48:23 | [Mutex] received everything.

2021-10-03 22:48:23 | [Mutex] isItemNotified: configured:node:node-6408cb74-9cf4-441b-944f-6bc74224a064:node-4a355051-56d8-4b46-b101-50bb91de5c36 :: true

2021-10-03 22:48:24 | [Mutex] waiting for: [received:nodes:99aa4d4f-f9c8-4ce4-8fc7-31cfce7c0ee2:localhost]

2021-10-03 22:48:24 | [Mutex] received everything.

2021-10-03 22:48:24 | [Mutex] isItemNotified: received:node:99aa4d4f-f9c8-4ce4-8fc7-31cfce7c0ee2:localhost:node-6408cb74-9cf4-441b-944f-6bc74224a064:Node 6408cb74-9cf4-441b-944f-6bc74224a064 :: true

2021-10-03 22:48:24 | [Mutex] waiting for: [received:nodes:51afc991-689a-4579-b273-4c7ea80fa9a1:localhost]

2021-10-03 22:48:24 | [Mutex] waiting for: [received:nodes:51afc991-689a-4579-b273-4c7ea80fa9a1:localhost]

2021-10-03 22:48:24 | [Mutex] received everything.

2021-10-03 22:48:24 | [Mutex] isItemNotified: received:node:51afc991-689a-4579-b273-4c7ea80fa9a1:localhost:node-6408cb74-9cf4-441b-944f-6bc74224a064:Node 6408cb74-9cf4-441b-944f-6bc74224a064 :: false

createNodes 1.593s
2021-10-03 22:48:20 |

2021-10-03 22:48:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:20 | ------------------------------------

2021-10-03 22:48:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6408cb74-9cf4-441b-944f-6bc74224a064</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6408cb74-9cf4-441b-944f-6bc74224a064</title></pubsub></data>

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

2021-10-03 22:48:21 | [Mutex] waiting for: [received:nodes:6b8f72e0-0951-48ba-a7d2-21aaac298d26:localhost]

2021-10-03 22:48:21 | [Mutex] received everything.

2021-10-03 22:48:21 | [Mutex] isItemNotified: received:node:6b8f72e0-0951-48ba-a7d2-21aaac298d26:localhost:node-6408cb74-9cf4-441b-944f-6bc74224a064:Node 6408cb74-9cf4-441b-944f-6bc74224a064 :: true

createSubnodes 1.032s
2021-10-03 22:48:21 |

2021-10-03 22:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:21 | ------------------------------------

2021-10-03 22:48:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a355051-56d8-4b46-b101-50bb91de5c36</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a355051-56d8-4b46-b101-50bb91de5c36</title></pubsub></data>

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

2021-10-03 22:48:22 | [Mutex] waiting for: [received:nodes:a5d9bda3-26bd-4524-b8cd-578047764813:localhost]

2021-10-03 22:48:22 | [Mutex] waiting for: [received:nodes:a5d9bda3-26bd-4524-b8cd-578047764813:localhost]

2021-10-03 22:48:22 | [Mutex] received everything.

2021-10-03 22:48:22 | [Mutex] isItemNotified: received:node:a5d9bda3-26bd-4524-b8cd-578047764813:localhost:node-4a355051-56d8-4b46-b101-50bb91de5c36:Node 4a355051-56d8-4b46-b101-50bb91de5c36 :: true

deleteNodes 1.024s
2021-10-03 22:48:28 |

2021-10-03 22:48:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:28 | ------------------------------------

2021-10-03 22:48:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a355051-56d8-4b46-b101-50bb91de5c36</node></data>

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

2021-10-03 22:48:29 | [Mutex] waiting for: [received:nodes:361abc18-87d2-41bd-97e6-c39cfc79efe9:localhost]

2021-10-03 22:48:29 | [Mutex] received everything.

2021-10-03 22:48:29 | [Mutex] isItemNotified: received:node:361abc18-87d2-41bd-97e6-c39cfc79efe9:localhost:node-4a355051-56d8-4b46-b101-50bb91de5c36:Node 4a355051-56d8-4b46-b101-50bb91de5c36 :: false

deleteSubnodes 1.131s
2021-10-03 22:48:27 |

2021-10-03 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:27 | ------------------------------------

2021-10-03 22:48:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6408cb74-9cf4-441b-944f-6bc74224a064</node></data>

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

2021-10-03 22:48:28 | [Mutex] waiting for: [received:nodes:009e6ddf-3bb7-4baa-bcf3-4b1d1a315533:localhost]

2021-10-03 22:48:28 | [Mutex] waiting for: [received:nodes:009e6ddf-3bb7-4baa-bcf3-4b1d1a315533:localhost]

2021-10-03 22:48:28 | [Mutex] received everything.

2021-10-03 22:48:28 | [Mutex] isItemNotified: received:node:009e6ddf-3bb7-4baa-bcf3-4b1d1a315533:localhost:node-6408cb74-9cf4-441b-944f-6bc74224a064:Node 6408cb74-9cf4-441b-944f-6bc74224a064 :: false

2021-10-03 22:48:28 | [Mutex] waiting for: [received:nodes:b099acf3-183a-45e1-a802-9832db9373c8:localhost]

2021-10-03 22:48:28 | [Mutex] received everything.

2021-10-03 22:48:28 | [Mutex] isItemNotified: received:node:b099acf3-183a-45e1-a802-9832db9373c8:localhost:node-6408cb74-9cf4-441b-944f-6bc74224a064:Node 6408cb74-9cf4-441b-944f-6bc74224a064 :: false

publishItemsToNodes 0.267s
2021-10-03 22:48:25 |

2021-10-03 22:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:25 | ------------------------------------

2021-10-03 22:48:25 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6408cb74-9cf4-441b-944f-6bc74224a064</node><item-id>item-7945edb8-aebe-4e01-b46f-8cd920c2f959</item-id><entry><test>item-7945edb8-aebe-4e01-b46f-8cd920c2f959</test></entry></data>

2021-10-03 22:48:25 | 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-7945edb8-aebe-4e01-b46f-8cd920c2f959</value></item-id></result>

2021-10-03 22:48:25 | [Mutex] waiting for: [published:item:notifieditem-7945edb8-aebe-4e01-b46f-8cd920c2f959:admin@test-domain.com]

2021-10-03 22:48:25 | [Mutex] received everything.

2021-10-03 22:48:25 | [Mutex] isItemNotified: published:item:notifieditem-7945edb8-aebe-4e01-b46f-8cd920c2f959:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2021-10-03 22:48:25 |

2021-10-03 22:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:25 | ------------------------------------

2021-10-03 22:48:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6408cb74-9cf4-441b-944f-6bc74224a064</node><item-id>item-7945edb8-aebe-4e01-b46f-8cd920c2f959</item-id></data>

2021-10-03 22:48:26 | 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-7945edb8-aebe-4e01-b46f-8cd920c2f959</value></item-id></result>

2021-10-03 22:48:26 | [Mutex] received everything.

2021-10-03 22:48:26 | [Mutex] isItemNotified: retracted:item:notifieditem-7945edb8-aebe-4e01-b46f-8cd920c2f959:admin@test-domain.com :: true

retrieveItemsFromNodes 0.219s
2021-10-03 22:48:25 |

2021-10-03 22:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:25 | ------------------------------------

2021-10-03 22:48:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6408cb74-9cf4-441b-944f-6bc74224a064</node><item-id>item-7945edb8-aebe-4e01-b46f-8cd920c2f959</item-id></data>

2021-10-03 22:48:25 | 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-6408cb74-9cf4-441b-944f-6bc74224a064</value></node><item-id label="Item ID" type="text-single"><value>item-7945edb8-aebe-4e01-b46f-8cd920c2f959</value></item-id><item label="Item" type="text-multi"><value><item id="item-7945edb8-aebe-4e01-b46f-8cd920c2f959"><test>item-7945edb8-aebe-4e01-b46f-8cd920c2f959</test></item></value></item></result>

2021-10-03 22:48:25 | [Mutex] notify: [retrieved:item:item-7945edb8-aebe-4e01-b46f-8cd920c2f959:payload-matches:true:localhost]

2021-10-03 22:48:25 | [Mutex] received everything.

2021-10-03 22:48:25 | [Mutex] isItemNotified: retrieved:item:item-7945edb8-aebe-4e01-b46f-8cd920c2f959:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-10-03 22:48:25 |

2021-10-03 22:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:25 | ------------------------------------

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

2021-10-03 22:48:25 | 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-6408cb74-9cf4-441b-944f-6bc74224a064</value><value>node-4a355051-56d8-4b46-b101-50bb91de5c36</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-10-03 22:48:25 |

2021-10-03 22:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:25 | ------------------------------------

2021-10-03 22:48:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6408cb74-9cf4-441b-944f-6bc74224a064)</node-pattern></data>

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

subscribeNodes 1.209s
2021-10-03 22:48:24 |

2021-10-03 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:24 | ------------------------------------

2021-10-03 22:48:24 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6408cb74-9cf4-441b-944f-6bc74224a064</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.333s
2021-10-03 22:48:26 |

2021-10-03 22:48:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-03 22:48:26 | ------------------------------------

2021-10-03 22:48:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6408cb74-9cf4-441b-944f-6bc74224a064</node><jids><value>admin@test-domain.com</value></jids></data>

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