Generated by TestNG with ReportNG at 22:17 PDT on Thursday 13 May 2021
root@785cf647a4ab / 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.316s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2021-05-13 22:32:40 |

2021-05-13 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:40 | ------------------------------------

2021-05-13 22:32:40 | [Mutex] waiting for: [configured:node:node-85a534f0-ea90-44f6-9b03-49a11a540c71:node-05444980-ab97-40c3-b899-6025730b7d3c]

2021-05-13 22:32:40 | [Mutex] received everything.

2021-05-13 22:32:40 | [Mutex] isItemNotified: configured:node:node-85a534f0-ea90-44f6-9b03-49a11a540c71:node-05444980-ab97-40c3-b899-6025730b7d3c :: true

2021-05-13 22:32:41 | [Mutex] waiting for: [received:nodes:16d57a8c-a3d0-4d72-805a-924ec7d467d9:localhost]

2021-05-13 22:32:41 | [Mutex] received everything.

2021-05-13 22:32:41 | [Mutex] isItemNotified: received:node:16d57a8c-a3d0-4d72-805a-924ec7d467d9:localhost:node-85a534f0-ea90-44f6-9b03-49a11a540c71:Node 85a534f0-ea90-44f6-9b03-49a11a540c71 :: true

2021-05-13 22:32:41 | [Mutex] waiting for: [received:nodes:8b9979b4-9328-48ca-8981-b4078c79cd4c:localhost]

2021-05-13 22:32:41 | [Mutex] received everything.

2021-05-13 22:32:41 | [Mutex] isItemNotified: received:node:8b9979b4-9328-48ca-8981-b4078c79cd4c:localhost:node-85a534f0-ea90-44f6-9b03-49a11a540c71:Node 85a534f0-ea90-44f6-9b03-49a11a540c71 :: false

createNodes 1.508s
2021-05-13 22:32:38 |

2021-05-13 22:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:38 | ------------------------------------

2021-05-13 22:32:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85a534f0-ea90-44f6-9b03-49a11a540c71</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 85a534f0-ea90-44f6-9b03-49a11a540c71</title></pubsub></data>

2021-05-13 22:32:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-13 22:32:39 | [Mutex] waiting for: [received:nodes:70593a6c-063b-4fbf-85f7-073c2b3d9e0a:localhost]

2021-05-13 22:32:39 | [Mutex] received everything.

2021-05-13 22:32:39 | [Mutex] isItemNotified: received:node:70593a6c-063b-4fbf-85f7-073c2b3d9e0a:localhost:node-85a534f0-ea90-44f6-9b03-49a11a540c71:Node 85a534f0-ea90-44f6-9b03-49a11a540c71 :: true

createSubnodes 1.030s
2021-05-13 22:32:39 |

2021-05-13 22:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:39 | ------------------------------------

2021-05-13 22:32:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05444980-ab97-40c3-b899-6025730b7d3c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 05444980-ab97-40c3-b899-6025730b7d3c</title></pubsub></data>

2021-05-13 22:32:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-13 22:32:40 | [Mutex] waiting for: [received:nodes:a4588898-b0ee-4681-a87b-474bf845df26:localhost]

2021-05-13 22:32:40 | [Mutex] waiting for: [received:nodes:a4588898-b0ee-4681-a87b-474bf845df26:localhost]

2021-05-13 22:32:40 | [Mutex] received everything.

2021-05-13 22:32:40 | [Mutex] isItemNotified: received:node:a4588898-b0ee-4681-a87b-474bf845df26:localhost:node-05444980-ab97-40c3-b899-6025730b7d3c:Node 05444980-ab97-40c3-b899-6025730b7d3c :: true

deleteNodes 1.020s
2021-05-13 22:32:46 |

2021-05-13 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:46 | ------------------------------------

2021-05-13 22:32:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05444980-ab97-40c3-b899-6025730b7d3c</node></data>

2021-05-13 22:32:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-13 22:32:47 | [Mutex] waiting for: [received:nodes:b032c8bf-e4c9-4675-bb23-fcc016f262bd:localhost]

2021-05-13 22:32:47 | [Mutex] waiting for: [received:nodes:b032c8bf-e4c9-4675-bb23-fcc016f262bd:localhost]

2021-05-13 22:32:47 | [Mutex] received everything.

2021-05-13 22:32:47 | [Mutex] isItemNotified: received:node:b032c8bf-e4c9-4675-bb23-fcc016f262bd:localhost:node-05444980-ab97-40c3-b899-6025730b7d3c:Node 05444980-ab97-40c3-b899-6025730b7d3c :: false

deleteSubnodes 1.146s
2021-05-13 22:32:45 |

2021-05-13 22:32:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:45 | ------------------------------------

2021-05-13 22:32:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85a534f0-ea90-44f6-9b03-49a11a540c71</node></data>

2021-05-13 22:32:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-13 22:32:46 | [Mutex] waiting for: [received:nodes:267a5d50-2dac-4114-b4b7-de8056053086:localhost]

2021-05-13 22:32:46 | [Mutex] waiting for: [received:nodes:267a5d50-2dac-4114-b4b7-de8056053086:localhost]

2021-05-13 22:32:46 | [Mutex] received everything.

2021-05-13 22:32:46 | [Mutex] isItemNotified: received:node:267a5d50-2dac-4114-b4b7-de8056053086:localhost:node-85a534f0-ea90-44f6-9b03-49a11a540c71:Node 85a534f0-ea90-44f6-9b03-49a11a540c71 :: false

2021-05-13 22:32:46 | [Mutex] waiting for: [received:nodes:ea018f29-9bfb-4361-8d83-fa5d76ffc3ed:localhost]

2021-05-13 22:32:46 | [Mutex] received everything.

2021-05-13 22:32:46 | [Mutex] isItemNotified: received:node:ea018f29-9bfb-4361-8d83-fa5d76ffc3ed:localhost:node-85a534f0-ea90-44f6-9b03-49a11a540c71:Node 85a534f0-ea90-44f6-9b03-49a11a540c71 :: false

publishItemsToNodes 0.255s
2021-05-13 22:32:43 |

2021-05-13 22:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:43 | ------------------------------------

2021-05-13 22:32:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-85a534f0-ea90-44f6-9b03-49a11a540c71</node><item-id>item-e435c25e-1877-4f07-a9d3-b340f1506775</item-id><entry><test>item-e435c25e-1877-4f07-a9d3-b340f1506775</test></entry></data>

2021-05-13 22:32:43 | 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-e435c25e-1877-4f07-a9d3-b340f1506775</value></item-id></result>

2021-05-13 22:32:43 | [Mutex] waiting for: [published:item:notifieditem-e435c25e-1877-4f07-a9d3-b340f1506775:admin@test-domain.com]

2021-05-13 22:32:43 | [Mutex] received everything.

2021-05-13 22:32:43 | [Mutex] isItemNotified: published:item:notifieditem-e435c25e-1877-4f07-a9d3-b340f1506775:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2021-05-13 22:32:43 |

2021-05-13 22:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:43 | ------------------------------------

2021-05-13 22:32:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-85a534f0-ea90-44f6-9b03-49a11a540c71</node><item-id>item-e435c25e-1877-4f07-a9d3-b340f1506775</item-id></data>

2021-05-13 22:32:44 | 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-e435c25e-1877-4f07-a9d3-b340f1506775</value></item-id></result>

2021-05-13 22:32:44 | [Mutex] received everything.

2021-05-13 22:32:44 | [Mutex] isItemNotified: retracted:item:notifieditem-e435c25e-1877-4f07-a9d3-b340f1506775:admin@test-domain.com :: true

retrieveItemsFromNodes 0.426s
2021-05-13 22:32:43 |

2021-05-13 22:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:43 | ------------------------------------

2021-05-13 22:32:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-85a534f0-ea90-44f6-9b03-49a11a540c71</node><item-id>item-e435c25e-1877-4f07-a9d3-b340f1506775</item-id></data>

2021-05-13 22:32:43 | 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-85a534f0-ea90-44f6-9b03-49a11a540c71</value></node><item-id label="Item ID" type="text-single"><value>item-e435c25e-1877-4f07-a9d3-b340f1506775</value></item-id><item label="Item" type="text-multi"><value><item id="item-e435c25e-1877-4f07-a9d3-b340f1506775"><test>item-e435c25e-1877-4f07-a9d3-b340f1506775</test></item></value></item></result>

2021-05-13 22:32:43 | [Mutex] notify: [retrieved:item:item-e435c25e-1877-4f07-a9d3-b340f1506775:payload-matches:true:localhost]

2021-05-13 22:32:43 | [Mutex] received everything.

2021-05-13 22:32:43 | [Mutex] isItemNotified: retrieved:item:item-e435c25e-1877-4f07-a9d3-b340f1506775:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-13 22:32:43 |

2021-05-13 22:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:43 | ------------------------------------

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

2021-05-13 22:32:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-85a534f0-ea90-44f6-9b03-49a11a540c71</value><value>test</value><value>node-05444980-ab97-40c3-b899-6025730b7d3c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-13 22:32:43 |

2021-05-13 22:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:43 | ------------------------------------

2021-05-13 22:32:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-85a534f0-ea90-44f6-9b03-49a11a540c71)</node-pattern></data>

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

subscribeNodes 1.187s
2021-05-13 22:32:41 |

2021-05-13 22:32:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:41 | ------------------------------------

2021-05-13 22:32:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-85a534f0-ea90-44f6-9b03-49a11a540c71</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-13 22:32:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2021-05-13 22:32:44 |

2021-05-13 22:32:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:44 | ------------------------------------

2021-05-13 22:32:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-85a534f0-ea90-44f6-9b03-49a11a540c71</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-13 22:32:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>