Generated by TestNG with ReportNG at 22:20 PDT on Tuesday 21 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 9.555s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2022-06-21 22:35:19 |

2022-06-21 22:35:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:19 | ------------------------------------

2022-06-21 22:35:19 | [Mutex] waiting for: [configured:node:node-b72643e5-52ff-4cd0-92df-2a55f27f4906:node-39660349-42c9-4992-bb84-7dd7a0beb203]

2022-06-21 22:35:19 | [Mutex] received everything.

2022-06-21 22:35:19 | [Mutex] isItemNotified: configured:node:node-b72643e5-52ff-4cd0-92df-2a55f27f4906:node-39660349-42c9-4992-bb84-7dd7a0beb203 :: true

2022-06-21 22:35:20 | [Mutex] waiting for: [received:nodes:8d5a03f7-d0bb-499a-8f41-ca448e0de6ba:localhost]

2022-06-21 22:35:20 | [Mutex] received everything.

2022-06-21 22:35:20 | [Mutex] isItemNotified: received:node:8d5a03f7-d0bb-499a-8f41-ca448e0de6ba:localhost:node-b72643e5-52ff-4cd0-92df-2a55f27f4906:Node b72643e5-52ff-4cd0-92df-2a55f27f4906 :: true

2022-06-21 22:35:20 | [Mutex] waiting for: [received:nodes:76ee2309-6e45-4465-86f0-6bfc4fd0ff25:localhost]

2022-06-21 22:35:20 | [Mutex] received everything.

2022-06-21 22:35:20 | [Mutex] isItemNotified: received:node:76ee2309-6e45-4465-86f0-6bfc4fd0ff25:localhost:node-b72643e5-52ff-4cd0-92df-2a55f27f4906:Node b72643e5-52ff-4cd0-92df-2a55f27f4906 :: false

createNodes 1.397s
2022-06-21 22:35:17 |

2022-06-21 22:35:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:17 | ------------------------------------

2022-06-21 22:35:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b72643e5-52ff-4cd0-92df-2a55f27f4906</title></pubsub></data>

2022-06-21 22:35:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-21 22:35:18 | [Mutex] waiting for: [received:nodes:1ca45980-b55b-4a2f-8db3-a598985bf625:localhost]

2022-06-21 22:35:18 | [Mutex] received everything.

2022-06-21 22:35:18 | [Mutex] isItemNotified: received:node:1ca45980-b55b-4a2f-8db3-a598985bf625:localhost:node-b72643e5-52ff-4cd0-92df-2a55f27f4906:Node b72643e5-52ff-4cd0-92df-2a55f27f4906 :: true

createSubnodes 1.036s
2022-06-21 22:35:18 |

2022-06-21 22:35:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:18 | ------------------------------------

2022-06-21 22:35:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-39660349-42c9-4992-bb84-7dd7a0beb203</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 39660349-42c9-4992-bb84-7dd7a0beb203</title></pubsub></data>

2022-06-21 22:35:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-21 22:35:19 | [Mutex] waiting for: [received:nodes:29cec48e-e74e-4eed-b8a6-89cb088ca936:localhost]

2022-06-21 22:35:19 | [Mutex] received everything.

2022-06-21 22:35:19 | [Mutex] isItemNotified: received:node:29cec48e-e74e-4eed-b8a6-89cb088ca936:localhost:node-39660349-42c9-4992-bb84-7dd7a0beb203:Node 39660349-42c9-4992-bb84-7dd7a0beb203 :: true

deleteNodes 1.027s
2022-06-21 22:35:25 |

2022-06-21 22:35:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:25 | ------------------------------------

2022-06-21 22:35:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-39660349-42c9-4992-bb84-7dd7a0beb203</node></data>

2022-06-21 22:35:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-21 22:35:26 | [Mutex] waiting for: [received:nodes:21655773-7f4c-4cf6-afdb-c9691be8f48e:localhost]

2022-06-21 22:35:26 | [Mutex] waiting for: [received:nodes:21655773-7f4c-4cf6-afdb-c9691be8f48e:localhost]

2022-06-21 22:35:26 | [Mutex] received everything.

2022-06-21 22:35:26 | [Mutex] isItemNotified: received:node:21655773-7f4c-4cf6-afdb-c9691be8f48e:localhost:node-39660349-42c9-4992-bb84-7dd7a0beb203:Node 39660349-42c9-4992-bb84-7dd7a0beb203 :: false

deleteSubnodes 1.188s
2022-06-21 22:35:24 |

2022-06-21 22:35:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:24 | ------------------------------------

2022-06-21 22:35:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</node></data>

2022-06-21 22:35:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-21 22:35:25 | [Mutex] waiting for: [received:nodes:3cb9b482-a75b-4d74-b5a5-cf00813ea25e:localhost]

2022-06-21 22:35:25 | [Mutex] waiting for: [received:nodes:3cb9b482-a75b-4d74-b5a5-cf00813ea25e:localhost]

2022-06-21 22:35:25 | [Mutex] waiting for: [received:nodes:3cb9b482-a75b-4d74-b5a5-cf00813ea25e:localhost]

2022-06-21 22:35:25 | [Mutex] received everything.

2022-06-21 22:35:25 | [Mutex] isItemNotified: received:node:3cb9b482-a75b-4d74-b5a5-cf00813ea25e:localhost:node-b72643e5-52ff-4cd0-92df-2a55f27f4906:Node b72643e5-52ff-4cd0-92df-2a55f27f4906 :: false

2022-06-21 22:35:25 | [Mutex] waiting for: [received:nodes:82cc6859-7f5e-4932-83b2-073908e223a2:localhost]

2022-06-21 22:35:25 | [Mutex] received everything.

2022-06-21 22:35:25 | [Mutex] isItemNotified: received:node:82cc6859-7f5e-4932-83b2-073908e223a2:localhost:node-b72643e5-52ff-4cd0-92df-2a55f27f4906:Node b72643e5-52ff-4cd0-92df-2a55f27f4906 :: false

publishItemsToNodes 0.198s
2022-06-21 22:35:21 |

2022-06-21 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:22 | ------------------------------------

2022-06-21 22:35:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</node><item-id>item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</item-id><entry><test>item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</test></entry></data>

2022-06-21 22:35:22 | 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-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</value></item-id></result>

2022-06-21 22:35:22 | [Mutex] received everything.

2022-06-21 22:35:22 | [Mutex] isItemNotified: published:item:notifieditem-67b51596-cbe1-4a13-a485-7ee5c1eb8acf:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2022-06-21 22:35:22 |

2022-06-21 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:22 | ------------------------------------

2022-06-21 22:35:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</node><item-id>item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</item-id></data>

2022-06-21 22:35:22 | 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-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</value></item-id></result>

2022-06-21 22:35:22 | [Mutex] received everything.

2022-06-21 22:35:22 | [Mutex] isItemNotified: retracted:item:notifieditem-67b51596-cbe1-4a13-a485-7ee5c1eb8acf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.195s
2022-06-21 22:35:22 |

2022-06-21 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:22 | ------------------------------------

2022-06-21 22:35:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</node><item-id>item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</item-id></data>

2022-06-21 22:35:22 | 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-b72643e5-52ff-4cd0-92df-2a55f27f4906</value></node><item-id label="Item ID" type="text-single"><value>item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</value></item-id><item label="Item" type="text-multi"><value><item id="item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf"><test>item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf</test></item></value></item></result>

2022-06-21 22:35:22 | [Mutex] notify: [retrieved:item:item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf:payload-matches:true:localhost]

2022-06-21 22:35:22 | [Mutex] received everything.

2022-06-21 22:35:22 | [Mutex] isItemNotified: retrieved:item:item-67b51596-cbe1-4a13-a485-7ee5c1eb8acf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-21 22:35:22 |

2022-06-21 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:22 | ------------------------------------

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

2022-06-21 22:35:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</value><value>node-39660349-42c9-4992-bb84-7dd7a0beb203</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-06-21 22:35:22 |

2022-06-21 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:22 | ------------------------------------

2022-06-21 22:35:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b72643e5-52ff-4cd0-92df-2a55f27f4906)</node-pattern></data>

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

subscribeNodes 1.123s
2022-06-21 22:35:20 |

2022-06-21 22:35:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:20 | ------------------------------------

2022-06-21 22:35:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-21 22:35:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.227s
2022-06-21 22:35:22 |

2022-06-21 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:35:22 | ------------------------------------

2022-06-21 22:35:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b72643e5-52ff-4cd0-92df-2a55f27f4906</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-21 22:35:23 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>