Generated by TestNG with ReportNG at 21:43 PST on Thursday 21 January 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 : 9.874s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-01-21 22:00:20 |

2021-01-21 22:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:20 | ------------------------------------

2021-01-21 22:00:20 | [Mutex] waiting for: [configured:node:node-5492e15f-af55-4f76-ac41-904352556495:node-dade24bf-b94a-4aa3-8ac7-de4bbac01c11]

2021-01-21 22:00:20 | [Mutex] received everything.

2021-01-21 22:00:20 | [Mutex] isItemNotified: configured:node:node-5492e15f-af55-4f76-ac41-904352556495:node-dade24bf-b94a-4aa3-8ac7-de4bbac01c11 :: true

2021-01-21 22:00:21 | [Mutex] waiting for: [received:nodes:50361eee-9b7c-4656-be88-188d33335bd6:localhost]

2021-01-21 22:00:21 | [Mutex] waiting for: [received:nodes:50361eee-9b7c-4656-be88-188d33335bd6:localhost]

2021-01-21 22:00:21 | [Mutex] received everything.

2021-01-21 22:00:21 | [Mutex] isItemNotified: received:node:50361eee-9b7c-4656-be88-188d33335bd6:localhost:node-5492e15f-af55-4f76-ac41-904352556495:Node 5492e15f-af55-4f76-ac41-904352556495 :: true

2021-01-21 22:00:21 | [Mutex] waiting for: [received:nodes:99329419-3f6a-47b3-8f27-6c85e17bdd09:localhost]

2021-01-21 22:00:21 | [Mutex] received everything.

2021-01-21 22:00:21 | [Mutex] isItemNotified: received:node:99329419-3f6a-47b3-8f27-6c85e17bdd09:localhost:node-5492e15f-af55-4f76-ac41-904352556495:Node 5492e15f-af55-4f76-ac41-904352556495 :: false

createNodes 1.518s
2021-01-21 22:00:18 |

2021-01-21 22:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:18 | ------------------------------------

2021-01-21 22:00:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5492e15f-af55-4f76-ac41-904352556495</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5492e15f-af55-4f76-ac41-904352556495</title></pubsub></data>

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

2021-01-21 22:00:19 | [Mutex] waiting for: [received:nodes:607bfa5d-91e3-41c4-8a77-5ecbfa356575:localhost]

2021-01-21 22:00:19 | [Mutex] received everything.

2021-01-21 22:00:19 | [Mutex] isItemNotified: received:node:607bfa5d-91e3-41c4-8a77-5ecbfa356575:localhost:node-5492e15f-af55-4f76-ac41-904352556495:Node 5492e15f-af55-4f76-ac41-904352556495 :: true

createSubnodes 1.031s
2021-01-21 22:00:19 |

2021-01-21 22:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:19 | ------------------------------------

2021-01-21 22:00:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dade24bf-b94a-4aa3-8ac7-de4bbac01c11</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dade24bf-b94a-4aa3-8ac7-de4bbac01c11</title></pubsub></data>

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

2021-01-21 22:00:20 | [Mutex] waiting for: [received:nodes:dd57948f-6a4d-4b2b-98d5-e201b6a5b770:localhost]

2021-01-21 22:00:20 | [Mutex] received everything.

2021-01-21 22:00:20 | [Mutex] isItemNotified: received:node:dd57948f-6a4d-4b2b-98d5-e201b6a5b770:localhost:node-dade24bf-b94a-4aa3-8ac7-de4bbac01c11:Node dade24bf-b94a-4aa3-8ac7-de4bbac01c11 :: true

deleteNodes 1.016s
2021-01-21 22:00:26 |

2021-01-21 22:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:26 | ------------------------------------

2021-01-21 22:00:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dade24bf-b94a-4aa3-8ac7-de4bbac01c11</node></data>

2021-01-21 22:00:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-21 22:00:27 | [Mutex] waiting for: [received:nodes:bbb3cf82-61c3-486b-b4d9-751ec8ea3509:localhost]

2021-01-21 22:00:27 | [Mutex] received everything.

2021-01-21 22:00:27 | [Mutex] isItemNotified: received:node:bbb3cf82-61c3-486b-b4d9-751ec8ea3509:localhost:node-dade24bf-b94a-4aa3-8ac7-de4bbac01c11:Node dade24bf-b94a-4aa3-8ac7-de4bbac01c11 :: false

deleteSubnodes 1.151s
2021-01-21 22:00:24 |

2021-01-21 22:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:24 | ------------------------------------

2021-01-21 22:00:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5492e15f-af55-4f76-ac41-904352556495</node></data>

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

2021-01-21 22:00:26 | [Mutex] waiting for: [received:nodes:7e7baf1d-09e5-4f88-ba41-0646bb956c27:localhost]

2021-01-21 22:00:26 | [Mutex] received everything.

2021-01-21 22:00:26 | [Mutex] isItemNotified: received:node:7e7baf1d-09e5-4f88-ba41-0646bb956c27:localhost:node-5492e15f-af55-4f76-ac41-904352556495:Node 5492e15f-af55-4f76-ac41-904352556495 :: false

2021-01-21 22:00:26 | [Mutex] waiting for: [received:nodes:22f79479-3c49-427d-9799-46a0f61972ff:localhost]

2021-01-21 22:00:26 | [Mutex] received everything.

2021-01-21 22:00:26 | [Mutex] isItemNotified: received:node:22f79479-3c49-427d-9799-46a0f61972ff:localhost:node-5492e15f-af55-4f76-ac41-904352556495:Node 5492e15f-af55-4f76-ac41-904352556495 :: false

publishItemsToNodes 0.235s
2021-01-21 22:00:22 |

2021-01-21 22:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:22 | ------------------------------------

2021-01-21 22:00:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5492e15f-af55-4f76-ac41-904352556495</node><item-id>item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</item-id><entry><test>item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</test></entry></data>

2021-01-21 22:00:23 | 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-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</value></item-id></result>

2021-01-21 22:00:23 | [Mutex] waiting for: [published:item:notifieditem-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05:admin@test-domain.com]

2021-01-21 22:00:23 | [Mutex] received everything.

2021-01-21 22:00:23 | [Mutex] isItemNotified: published:item:notifieditem-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05:admin@test-domain.com :: true

retractItemsFromNodes 0.183s
2021-01-21 22:00:23 |

2021-01-21 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:23 | ------------------------------------

2021-01-21 22:00:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5492e15f-af55-4f76-ac41-904352556495</node><item-id>item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</item-id></data>

2021-01-21 22:00: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-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</value></item-id></result>

2021-01-21 22:00:23 | [Mutex] received everything.

2021-01-21 22:00:23 | [Mutex] isItemNotified: retracted:item:notifieditem-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05:admin@test-domain.com :: true

retrieveItemsFromNodes 0.168s
2021-01-21 22:00:23 |

2021-01-21 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:23 | ------------------------------------

2021-01-21 22:00:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5492e15f-af55-4f76-ac41-904352556495</node><item-id>item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</item-id></data>

2021-01-21 22:00:23 | 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-5492e15f-af55-4f76-ac41-904352556495</value></node><item-id label="Item ID" type="text-single"><value>item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</value></item-id><item label="Item" type="text-multi"><value><item id="item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05"><test>item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05</test></item></value></item></result>

2021-01-21 22:00:23 | [Mutex] notify: [retrieved:item:item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05:payload-matches:true:localhost]

2021-01-21 22:00:23 | [Mutex] received everything.

2021-01-21 22:00:23 | [Mutex] isItemNotified: retrieved:item:item-f3e7cacd-63e7-4626-9eb8-8767d6ff4a05:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-21 22:00:23 |

2021-01-21 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:23 | ------------------------------------

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

2021-01-21 22:00:23 | 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-5492e15f-af55-4f76-ac41-904352556495</value><value>node-dade24bf-b94a-4aa3-8ac7-de4bbac01c11</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-01-21 22:00:23 |

2021-01-21 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:23 | ------------------------------------

2021-01-21 22:00:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5492e15f-af55-4f76-ac41-904352556495)</node-pattern></data>

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

subscribeNodes 1.155s
2021-01-21 22:00:21 |

2021-01-21 22:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:21 | ------------------------------------

2021-01-21 22:00:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5492e15f-af55-4f76-ac41-904352556495</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-21 22:00: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.205s
2021-01-21 22:00:23 |

2021-01-21 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 22:00:23 | ------------------------------------

2021-01-21 22:00:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5492e15f-af55-4f76-ac41-904352556495</node><jids><value>admin@test-domain.com</value></jids></data>

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