Generated by TestNG with ReportNG at 23:01 PDT on Tuesday 17 May 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.522s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-05-17 23:15:34 |

2022-05-17 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:34 | ------------------------------------

2022-05-17 23:15:34 | [Mutex] waiting for: [configured:node:node-60c70379-cb38-42c9-aa0b-8487b04a3df9:node-72d10aa2-03b4-4805-8be6-d62b2d9a6089]

2022-05-17 23:15:34 | [Mutex] received everything.

2022-05-17 23:15:34 | [Mutex] isItemNotified: configured:node:node-60c70379-cb38-42c9-aa0b-8487b04a3df9:node-72d10aa2-03b4-4805-8be6-d62b2d9a6089 :: true

2022-05-17 23:15:35 | [Mutex] waiting for: [received:nodes:525775c2-3210-4b06-91a1-1fe18fac6431:localhost]

2022-05-17 23:15:35 | [Mutex] received everything.

2022-05-17 23:15:35 | [Mutex] isItemNotified: received:node:525775c2-3210-4b06-91a1-1fe18fac6431:localhost:node-60c70379-cb38-42c9-aa0b-8487b04a3df9:Node 60c70379-cb38-42c9-aa0b-8487b04a3df9 :: true

2022-05-17 23:15:35 | [Mutex] waiting for: [received:nodes:b4c376c4-1437-46a6-b0fc-43cb2aca4447:localhost]

2022-05-17 23:15:35 | [Mutex] received everything.

2022-05-17 23:15:35 | [Mutex] isItemNotified: received:node:b4c376c4-1437-46a6-b0fc-43cb2aca4447:localhost:node-60c70379-cb38-42c9-aa0b-8487b04a3df9:Node 60c70379-cb38-42c9-aa0b-8487b04a3df9 :: false

createNodes 1.427s
2022-05-17 23:15:32 |

2022-05-17 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:32 | ------------------------------------

2022-05-17 23:15:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-60c70379-cb38-42c9-aa0b-8487b04a3df9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 60c70379-cb38-42c9-aa0b-8487b04a3df9</title></pubsub></data>

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

2022-05-17 23:15:33 | [Mutex] waiting for: [received:nodes:ed2fc7ef-9969-4eec-8960-cce36cbd5eab:localhost]

2022-05-17 23:15:33 | [Mutex] received everything.

2022-05-17 23:15:33 | [Mutex] isItemNotified: received:node:ed2fc7ef-9969-4eec-8960-cce36cbd5eab:localhost:node-60c70379-cb38-42c9-aa0b-8487b04a3df9:Node 60c70379-cb38-42c9-aa0b-8487b04a3df9 :: true

createSubnodes 1.025s
2022-05-17 23:15:33 |

2022-05-17 23:15:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:33 | ------------------------------------

2022-05-17 23:15:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-72d10aa2-03b4-4805-8be6-d62b2d9a6089</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 72d10aa2-03b4-4805-8be6-d62b2d9a6089</title></pubsub></data>

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

2022-05-17 23:15:34 | [Mutex] waiting for: [received:nodes:1cbcc21a-31f7-4b06-8afa-cc28362c9c5d:localhost]

2022-05-17 23:15:34 | [Mutex] waiting for: [received:nodes:1cbcc21a-31f7-4b06-8afa-cc28362c9c5d:localhost]

2022-05-17 23:15:34 | [Mutex] received everything.

2022-05-17 23:15:34 | [Mutex] isItemNotified: received:node:1cbcc21a-31f7-4b06-8afa-cc28362c9c5d:localhost:node-72d10aa2-03b4-4805-8be6-d62b2d9a6089:Node 72d10aa2-03b4-4805-8be6-d62b2d9a6089 :: true

deleteNodes 1.015s
2022-05-17 23:15:40 |

2022-05-17 23:15:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:40 | ------------------------------------

2022-05-17 23:15:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-72d10aa2-03b4-4805-8be6-d62b2d9a6089</node></data>

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

2022-05-17 23:15:41 | [Mutex] waiting for: [received:nodes:0be3ab11-3600-4121-8e44-2b5dfb3c6498:localhost]

2022-05-17 23:15:41 | [Mutex] waiting for: [received:nodes:0be3ab11-3600-4121-8e44-2b5dfb3c6498:localhost]

2022-05-17 23:15:41 | [Mutex] received everything.

2022-05-17 23:15:41 | [Mutex] isItemNotified: received:node:0be3ab11-3600-4121-8e44-2b5dfb3c6498:localhost:node-72d10aa2-03b4-4805-8be6-d62b2d9a6089:Node 72d10aa2-03b4-4805-8be6-d62b2d9a6089 :: false

deleteSubnodes 1.115s
2022-05-17 23:15:38 |

2022-05-17 23:15:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:38 | ------------------------------------

2022-05-17 23:15:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-60c70379-cb38-42c9-aa0b-8487b04a3df9</node></data>

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

2022-05-17 23:15:39 | [Mutex] waiting for: [received:nodes:a424b593-ee43-4b99-b72b-f46cca600021:localhost]

2022-05-17 23:15:40 | [Mutex] received everything.

2022-05-17 23:15:40 | [Mutex] isItemNotified: received:node:a424b593-ee43-4b99-b72b-f46cca600021:localhost:node-60c70379-cb38-42c9-aa0b-8487b04a3df9:Node 60c70379-cb38-42c9-aa0b-8487b04a3df9 :: false

2022-05-17 23:15:40 | [Mutex] waiting for: [received:nodes:1da4a61f-391d-4eb5-b4de-7b6f2bb84847:localhost]

2022-05-17 23:15:40 | [Mutex] received everything.

2022-05-17 23:15:40 | [Mutex] isItemNotified: received:node:1da4a61f-391d-4eb5-b4de-7b6f2bb84847:localhost:node-60c70379-cb38-42c9-aa0b-8487b04a3df9:Node 60c70379-cb38-42c9-aa0b-8487b04a3df9 :: false

publishItemsToNodes 0.211s
2022-05-17 23:15:36 |

2022-05-17 23:15:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:36 | ------------------------------------

2022-05-17 23:15:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-60c70379-cb38-42c9-aa0b-8487b04a3df9</node><item-id>item-ba0b03dc-93dc-4c30-a499-90d160219f1e</item-id><entry><test>item-ba0b03dc-93dc-4c30-a499-90d160219f1e</test></entry></data>

2022-05-17 23:15:37 | 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-ba0b03dc-93dc-4c30-a499-90d160219f1e</value></item-id></result>

2022-05-17 23:15:37 | [Mutex] received everything.

2022-05-17 23:15:37 | [Mutex] isItemNotified: published:item:notifieditem-ba0b03dc-93dc-4c30-a499-90d160219f1e:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2022-05-17 23:15:37 |

2022-05-17 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:37 | ------------------------------------

2022-05-17 23:15:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-60c70379-cb38-42c9-aa0b-8487b04a3df9</node><item-id>item-ba0b03dc-93dc-4c30-a499-90d160219f1e</item-id></data>

2022-05-17 23:15:37 | 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-ba0b03dc-93dc-4c30-a499-90d160219f1e</value></item-id></result>

2022-05-17 23:15:37 | [Mutex] received everything.

2022-05-17 23:15:37 | [Mutex] isItemNotified: retracted:item:notifieditem-ba0b03dc-93dc-4c30-a499-90d160219f1e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2022-05-17 23:15:37 |

2022-05-17 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:37 | ------------------------------------

2022-05-17 23:15:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-60c70379-cb38-42c9-aa0b-8487b04a3df9</node><item-id>item-ba0b03dc-93dc-4c30-a499-90d160219f1e</item-id></data>

2022-05-17 23:15:37 | 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-60c70379-cb38-42c9-aa0b-8487b04a3df9</value></node><item-id label="Item ID" type="text-single"><value>item-ba0b03dc-93dc-4c30-a499-90d160219f1e</value></item-id><item label="Item" type="text-multi"><value><item id="item-ba0b03dc-93dc-4c30-a499-90d160219f1e"><test>item-ba0b03dc-93dc-4c30-a499-90d160219f1e</test></item></value></item></result>

2022-05-17 23:15:37 | [Mutex] notify: [retrieved:item:item-ba0b03dc-93dc-4c30-a499-90d160219f1e:payload-matches:true:localhost]

2022-05-17 23:15:37 | [Mutex] received everything.

2022-05-17 23:15:37 | [Mutex] isItemNotified: retrieved:item:item-ba0b03dc-93dc-4c30-a499-90d160219f1e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-05-17 23:15:37 |

2022-05-17 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:37 | ------------------------------------

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

2022-05-17 23:15:37 | 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-60c70379-cb38-42c9-aa0b-8487b04a3df9</value><value>node-72d10aa2-03b4-4805-8be6-d62b2d9a6089</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-17 23:15:37 |

2022-05-17 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:37 | ------------------------------------

2022-05-17 23:15:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-60c70379-cb38-42c9-aa0b-8487b04a3df9)</node-pattern></data>

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

subscribeNodes 1.116s
2022-05-17 23:15:35 |

2022-05-17 23:15:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:35 | ------------------------------------

2022-05-17 23:15:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-60c70379-cb38-42c9-aa0b-8487b04a3df9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.271s
2022-05-17 23:15:37 |

2022-05-17 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 23:15:37 | ------------------------------------

2022-05-17 23:15:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-60c70379-cb38-42c9-aa0b-8487b04a3df9</node><jids><value>admin@test-domain.com</value></jids></data>

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