Generated by TestNG with ReportNG at 22:54 PDT on Thursday 08 September 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.621s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2022-09-08 23:17:25 |

2022-09-08 23:17:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:25 | ------------------------------------

2022-09-08 23:17:25 | [Mutex] waiting for: [configured:node:node-f941d0de-da81-4f68-ae53-735112cc5da0:node-00658424-d2e5-40de-9a3e-1c2b3537ae1b]

2022-09-08 23:17:25 | [Mutex] received everything.

2022-09-08 23:17:25 | [Mutex] isItemNotified: configured:node:node-f941d0de-da81-4f68-ae53-735112cc5da0:node-00658424-d2e5-40de-9a3e-1c2b3537ae1b :: true

2022-09-08 23:17:26 | [Mutex] waiting for: [received:nodes:1ff00781-07e4-4a15-b362-f467082de7a4:localhost]

2022-09-08 23:17:26 | [Mutex] received everything.

2022-09-08 23:17:26 | [Mutex] isItemNotified: received:node:1ff00781-07e4-4a15-b362-f467082de7a4:localhost:node-f941d0de-da81-4f68-ae53-735112cc5da0:Node f941d0de-da81-4f68-ae53-735112cc5da0 :: true

2022-09-08 23:17:26 | [Mutex] waiting for: [received:nodes:0ebd323a-1a97-4a6a-90ef-0cab62a5fe04:localhost]

2022-09-08 23:17:26 | [Mutex] received everything.

2022-09-08 23:17:26 | [Mutex] isItemNotified: received:node:0ebd323a-1a97-4a6a-90ef-0cab62a5fe04:localhost:node-f941d0de-da81-4f68-ae53-735112cc5da0:Node f941d0de-da81-4f68-ae53-735112cc5da0 :: false

createNodes 1.435s
2022-09-08 23:17:23 |

2022-09-08 23:17:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:23 | ------------------------------------

2022-09-08 23:17:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f941d0de-da81-4f68-ae53-735112cc5da0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f941d0de-da81-4f68-ae53-735112cc5da0</title></pubsub></data>

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

2022-09-08 23:17:24 | [Mutex] waiting for: [received:nodes:6e814a37-06b8-493e-8b99-e6fa86f00b95:localhost]

2022-09-08 23:17:24 | [Mutex] waiting for: [received:nodes:6e814a37-06b8-493e-8b99-e6fa86f00b95:localhost]

2022-09-08 23:17:24 | [Mutex] received everything.

2022-09-08 23:17:24 | [Mutex] isItemNotified: received:node:6e814a37-06b8-493e-8b99-e6fa86f00b95:localhost:node-f941d0de-da81-4f68-ae53-735112cc5da0:Node f941d0de-da81-4f68-ae53-735112cc5da0 :: true

createSubnodes 1.021s
2022-09-08 23:17:24 |

2022-09-08 23:17:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:24 | ------------------------------------

2022-09-08 23:17:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-00658424-d2e5-40de-9a3e-1c2b3537ae1b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 00658424-d2e5-40de-9a3e-1c2b3537ae1b</title></pubsub></data>

2022-09-08 23:17:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-08 23:17:25 | [Mutex] waiting for: [received:nodes:2b46db3f-09d8-40f7-a0a4-54ec251e3652:localhost]

2022-09-08 23:17:25 | [Mutex] waiting for: [received:nodes:2b46db3f-09d8-40f7-a0a4-54ec251e3652:localhost]

2022-09-08 23:17:25 | [Mutex] received everything.

2022-09-08 23:17:25 | [Mutex] isItemNotified: received:node:2b46db3f-09d8-40f7-a0a4-54ec251e3652:localhost:node-00658424-d2e5-40de-9a3e-1c2b3537ae1b:Node 00658424-d2e5-40de-9a3e-1c2b3537ae1b :: true

deleteNodes 1.021s
2022-09-08 23:17:31 |

2022-09-08 23:17:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:31 | ------------------------------------

2022-09-08 23:17:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-00658424-d2e5-40de-9a3e-1c2b3537ae1b</node></data>

2022-09-08 23:17:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-08 23:17:32 | [Mutex] waiting for: [received:nodes:9232ae1a-7201-467e-809c-43c721525afc:localhost]

2022-09-08 23:17:32 | [Mutex] waiting for: [received:nodes:9232ae1a-7201-467e-809c-43c721525afc:localhost]

2022-09-08 23:17:32 | [Mutex] waiting for: [received:nodes:9232ae1a-7201-467e-809c-43c721525afc:localhost]

2022-09-08 23:17:32 | [Mutex] received everything.

2022-09-08 23:17:32 | [Mutex] isItemNotified: received:node:9232ae1a-7201-467e-809c-43c721525afc:localhost:node-00658424-d2e5-40de-9a3e-1c2b3537ae1b:Node 00658424-d2e5-40de-9a3e-1c2b3537ae1b :: false

deleteSubnodes 1.135s
2022-09-08 23:17:30 |

2022-09-08 23:17:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:30 | ------------------------------------

2022-09-08 23:17:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f941d0de-da81-4f68-ae53-735112cc5da0</node></data>

2022-09-08 23:17:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-08 23:17:31 | [Mutex] waiting for: [received:nodes:4a63bcf6-eead-4250-bfe0-306ad6ff027c:localhost]

2022-09-08 23:17:31 | [Mutex] received everything.

2022-09-08 23:17:31 | [Mutex] isItemNotified: received:node:4a63bcf6-eead-4250-bfe0-306ad6ff027c:localhost:node-f941d0de-da81-4f68-ae53-735112cc5da0:Node f941d0de-da81-4f68-ae53-735112cc5da0 :: false

2022-09-08 23:17:31 | [Mutex] waiting for: [received:nodes:c01234df-5e5e-44cf-af3c-7ade16fc4bf5:localhost]

2022-09-08 23:17:31 | [Mutex] received everything.

2022-09-08 23:17:31 | [Mutex] isItemNotified: received:node:c01234df-5e5e-44cf-af3c-7ade16fc4bf5:localhost:node-f941d0de-da81-4f68-ae53-735112cc5da0:Node f941d0de-da81-4f68-ae53-735112cc5da0 :: false

publishItemsToNodes 0.245s
2022-09-08 23:17:27 |

2022-09-08 23:17:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:27 | ------------------------------------

2022-09-08 23:17:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f941d0de-da81-4f68-ae53-735112cc5da0</node><item-id>item-12b933f9-01d8-4602-85aa-239f4015cc21</item-id><entry><test>item-12b933f9-01d8-4602-85aa-239f4015cc21</test></entry></data>

2022-09-08 23:17:28 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-12b933f9-01d8-4602-85aa-239f4015cc21</value></item-id></result>

2022-09-08 23:17:28 | [Mutex] waiting for: [published:item:notifieditem-12b933f9-01d8-4602-85aa-239f4015cc21:admin@test-domain.com]

2022-09-08 23:17:28 | [Mutex] received everything.

2022-09-08 23:17:28 | [Mutex] isItemNotified: published:item:notifieditem-12b933f9-01d8-4602-85aa-239f4015cc21:admin@test-domain.com :: true

retractItemsFromNodes 0.313s
2022-09-08 23:17:28 |

2022-09-08 23:17:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:28 | ------------------------------------

2022-09-08 23:17:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f941d0de-da81-4f68-ae53-735112cc5da0</node><item-id>item-12b933f9-01d8-4602-85aa-239f4015cc21</item-id></data>

2022-09-08 23:17:28 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-12b933f9-01d8-4602-85aa-239f4015cc21</value></item-id></result>

2022-09-08 23:17:28 | [Mutex] waiting for: [retracted:item:notifieditem-12b933f9-01d8-4602-85aa-239f4015cc21:admin@test-domain.com]

2022-09-08 23:17:28 | [Mutex] received everything.

2022-09-08 23:17:28 | [Mutex] isItemNotified: retracted:item:notifieditem-12b933f9-01d8-4602-85aa-239f4015cc21:admin@test-domain.com :: true

retrieveItemsFromNodes 0.205s
2022-09-08 23:17:28 |

2022-09-08 23:17:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:28 | ------------------------------------

2022-09-08 23:17:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f941d0de-da81-4f68-ae53-735112cc5da0</node><item-id>item-12b933f9-01d8-4602-85aa-239f4015cc21</item-id></data>

2022-09-08 23:17:28 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-f941d0de-da81-4f68-ae53-735112cc5da0</value></node><item-id type="text-single" label="Item ID"><value>item-12b933f9-01d8-4602-85aa-239f4015cc21</value></item-id><item type="text-multi" label="Item"><value><item id="item-12b933f9-01d8-4602-85aa-239f4015cc21"><test>item-12b933f9-01d8-4602-85aa-239f4015cc21</test></item></value></item></result>

2022-09-08 23:17:28 | [Mutex] notify: [retrieved:item:item-12b933f9-01d8-4602-85aa-239f4015cc21:payload-matches:true:localhost]

2022-09-08 23:17:28 | [Mutex] received everything.

2022-09-08 23:17:28 | [Mutex] isItemNotified: retrieved:item:item-12b933f9-01d8-4602-85aa-239f4015cc21:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-09-08 23:17:28 |

2022-09-08 23:17:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:28 | ------------------------------------

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

2022-09-08 23:17:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-00658424-d2e5-40de-9a3e-1c2b3537ae1b</value><value>node-f941d0de-da81-4f68-ae53-735112cc5da0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-08 23:17:28 |

2022-09-08 23:17:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:28 | ------------------------------------

2022-09-08 23:17:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f941d0de-da81-4f68-ae53-735112cc5da0)</node-pattern></data>

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

subscribeNodes 1.182s
2022-09-08 23:17:26 |

2022-09-08 23:17:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:26 | ------------------------------------

2022-09-08 23:17:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f941d0de-da81-4f68-ae53-735112cc5da0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-08 23:17:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.237s
2022-09-08 23:17:28 |

2022-09-08 23:17:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-08 23:17:28 | ------------------------------------

2022-09-08 23:17:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f941d0de-da81-4f68-ae53-735112cc5da0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-08 23:17:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>