Generated by TestNG with ReportNG at 22:13 PDT on Wednesday 31 March 2021
root@eaa73862192b / 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.216s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2021-03-31 22:30:19 |

2021-03-31 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:30:19 | ------------------------------------

2021-03-31 22:30:19 | [Mutex] waiting for: [configured:node:node-d0f24ad8-429f-44de-a5ee-60c154d01412:node-863579bf-5f8f-4968-993d-589e40608440]

2021-03-31 22:30:19 | [Mutex] received everything.

2021-03-31 22:30:19 | [Mutex] isItemNotified: configured:node:node-d0f24ad8-429f-44de-a5ee-60c154d01412:node-863579bf-5f8f-4968-993d-589e40608440 :: true

2021-03-31 22:30:20 | [Mutex] waiting for: [received:nodes:49720ffa-e95f-41ad-af66-6d45f1902e4e:localhost]

2021-03-31 22:30:20 | [Mutex] received everything.

2021-03-31 22:30:20 | [Mutex] isItemNotified: received:node:49720ffa-e95f-41ad-af66-6d45f1902e4e:localhost:node-d0f24ad8-429f-44de-a5ee-60c154d01412:Node d0f24ad8-429f-44de-a5ee-60c154d01412 :: true

2021-03-31 22:30:20 | [Mutex] waiting for: [received:nodes:7f391893-ba8c-47ba-99bd-7bf3e237f0c6:localhost]

2021-03-31 22:30:20 | [Mutex] received everything.

2021-03-31 22:30:20 | [Mutex] isItemNotified: received:node:7f391893-ba8c-47ba-99bd-7bf3e237f0c6:localhost:node-d0f24ad8-429f-44de-a5ee-60c154d01412:Node d0f24ad8-429f-44de-a5ee-60c154d01412 :: false

createNodes 1.576s
2021-03-31 22:30:17 |

2021-03-31 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:30:17 | ------------------------------------

2021-03-31 22:30:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d0f24ad8-429f-44de-a5ee-60c154d01412</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d0f24ad8-429f-44de-a5ee-60c154d01412</title></pubsub></data>

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

2021-03-31 22:30:18 | [Mutex] waiting for: [received:nodes:3fc4839a-e26b-40c2-831c-e22057e5523e:localhost]

2021-03-31 22:30:18 | [Mutex] received everything.

2021-03-31 22:30:18 | [Mutex] isItemNotified: received:node:3fc4839a-e26b-40c2-831c-e22057e5523e:localhost:node-d0f24ad8-429f-44de-a5ee-60c154d01412:Node d0f24ad8-429f-44de-a5ee-60c154d01412 :: true

createSubnodes 1.030s
2021-03-31 22:30:18 |

2021-03-31 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:30:18 | ------------------------------------

2021-03-31 22:30:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-863579bf-5f8f-4968-993d-589e40608440</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 863579bf-5f8f-4968-993d-589e40608440</title></pubsub></data>

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

2021-03-31 22:30:19 | [Mutex] waiting for: [received:nodes:530900ef-325f-4543-9b8a-b7e2bdfdabf8:localhost]

2021-03-31 22:30:19 | [Mutex] received everything.

2021-03-31 22:30:19 | [Mutex] isItemNotified: received:node:530900ef-325f-4543-9b8a-b7e2bdfdabf8:localhost:node-863579bf-5f8f-4968-993d-589e40608440:Node 863579bf-5f8f-4968-993d-589e40608440 :: true

deleteNodes 1.021s
2021-03-31 22:30:25 |

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

2021-03-31 22:30:25 | ------------------------------------

2021-03-31 22:30:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-863579bf-5f8f-4968-993d-589e40608440</node></data>

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

2021-03-31 22:30:26 | [Mutex] waiting for: [received:nodes:a29793df-a6ab-45cd-8f2f-29a773ef776d:localhost]

2021-03-31 22:30:26 | [Mutex] received everything.

2021-03-31 22:30:26 | [Mutex] isItemNotified: received:node:a29793df-a6ab-45cd-8f2f-29a773ef776d:localhost:node-863579bf-5f8f-4968-993d-589e40608440:Node 863579bf-5f8f-4968-993d-589e40608440 :: false

deleteSubnodes 1.135s
2021-03-31 22:30:24 |

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

2021-03-31 22:30:24 | ------------------------------------

2021-03-31 22:30:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d0f24ad8-429f-44de-a5ee-60c154d01412</node></data>

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

2021-03-31 22:30:25 | [Mutex] waiting for: [received:nodes:eaf16d65-9503-4de5-8244-531532eb957d:localhost]

2021-03-31 22:30:25 | [Mutex] received everything.

2021-03-31 22:30:25 | [Mutex] isItemNotified: received:node:eaf16d65-9503-4de5-8244-531532eb957d:localhost:node-d0f24ad8-429f-44de-a5ee-60c154d01412:Node d0f24ad8-429f-44de-a5ee-60c154d01412 :: false

2021-03-31 22:30:25 | [Mutex] waiting for: [received:nodes:5ab4bb6e-3641-443b-b2c0-812780c2cce2:localhost]

2021-03-31 22:30:25 | [Mutex] received everything.

2021-03-31 22:30:25 | [Mutex] isItemNotified: received:node:5ab4bb6e-3641-443b-b2c0-812780c2cce2:localhost:node-d0f24ad8-429f-44de-a5ee-60c154d01412:Node d0f24ad8-429f-44de-a5ee-60c154d01412 :: false

publishItemsToNodes 0.312s
2021-03-31 22:30:22 |

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

2021-03-31 22:30:22 | ------------------------------------

2021-03-31 22:30:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d0f24ad8-429f-44de-a5ee-60c154d01412</node><item-id>item-8d93858a-f1af-435d-8fa2-97993dcd49a1</item-id><entry><test>item-8d93858a-f1af-435d-8fa2-97993dcd49a1</test></entry></data>

2021-03-31 22:30: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-8d93858a-f1af-435d-8fa2-97993dcd49a1</value></item-id></result>

2021-03-31 22:30:22 | [Mutex] waiting for: [published:item:notifieditem-8d93858a-f1af-435d-8fa2-97993dcd49a1:admin@test-domain.com]

2021-03-31 22:30:22 | [Mutex] received everything.

2021-03-31 22:30:22 | [Mutex] isItemNotified: published:item:notifieditem-8d93858a-f1af-435d-8fa2-97993dcd49a1:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2021-03-31 22:30:22 |

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

2021-03-31 22:30:22 | ------------------------------------

2021-03-31 22:30:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d0f24ad8-429f-44de-a5ee-60c154d01412</node><item-id>item-8d93858a-f1af-435d-8fa2-97993dcd49a1</item-id></data>

2021-03-31 22:30:23 | 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-8d93858a-f1af-435d-8fa2-97993dcd49a1</value></item-id></result>

2021-03-31 22:30:23 | [Mutex] received everything.

2021-03-31 22:30:23 | [Mutex] isItemNotified: retracted:item:notifieditem-8d93858a-f1af-435d-8fa2-97993dcd49a1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.276s
2021-03-31 22:30:22 |

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

2021-03-31 22:30:22 | ------------------------------------

2021-03-31 22:30:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d0f24ad8-429f-44de-a5ee-60c154d01412</node><item-id>item-8d93858a-f1af-435d-8fa2-97993dcd49a1</item-id></data>

2021-03-31 22:30: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-d0f24ad8-429f-44de-a5ee-60c154d01412</value></node><item-id label="Item ID" type="text-single"><value>item-8d93858a-f1af-435d-8fa2-97993dcd49a1</value></item-id><item label="Item" type="text-multi"><value><item id="item-8d93858a-f1af-435d-8fa2-97993dcd49a1"><test>item-8d93858a-f1af-435d-8fa2-97993dcd49a1</test></item></value></item></result>

2021-03-31 22:30:22 | [Mutex] notify: [retrieved:item:item-8d93858a-f1af-435d-8fa2-97993dcd49a1:payload-matches:true:localhost]

2021-03-31 22:30:22 | [Mutex] received everything.

2021-03-31 22:30:22 | [Mutex] isItemNotified: retrieved:item:item-8d93858a-f1af-435d-8fa2-97993dcd49a1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-03-31 22:30:22 |

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

2021-03-31 22:30:22 | ------------------------------------

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

2021-03-31 22:30:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d0f24ad8-429f-44de-a5ee-60c154d01412</value><value>test</value><value>node-863579bf-5f8f-4968-993d-589e40608440</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-03-31 22:30:22 |

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

2021-03-31 22:30:22 | ------------------------------------

2021-03-31 22:30: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-d0f24ad8-429f-44de-a5ee-60c154d01412)</node-pattern></data>

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

subscribeNodes 1.105s
2021-03-31 22:30:20 |

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

2021-03-31 22:30:20 | ------------------------------------

2021-03-31 22:30:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d0f24ad8-429f-44de-a5ee-60c154d01412</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.328s
2021-03-31 22:30:23 |

2021-03-31 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:30:23 | ------------------------------------

2021-03-31 22:30:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d0f24ad8-429f-44de-a5ee-60c154d01412</node><jids><value>admin@test-domain.com</value></jids></data>

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