Generated by TestNG with ReportNG at 11:32 PDT on Wednesday 07 April 2021
root@43fec6d4badf / 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.915s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.040s
2021-04-07 11:51:47 |

2021-04-07 11:51:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:47 | ------------------------------------

2021-04-07 11:51:47 | [Mutex] waiting for: [configured:node:node-582791df-eda9-4a01-af56-5348c256e641:node-b3b78caf-8b6a-4b87-8978-60567ca91043]

2021-04-07 11:51:47 | [Mutex] received everything.

2021-04-07 11:51:47 | [Mutex] isItemNotified: configured:node:node-582791df-eda9-4a01-af56-5348c256e641:node-b3b78caf-8b6a-4b87-8978-60567ca91043 :: true

2021-04-07 11:51:48 | [Mutex] waiting for: [received:nodes:984e11c3-3935-463d-9055-72cf8cfa0fff:localhost]

2021-04-07 11:51:48 | [Mutex] received everything.

2021-04-07 11:51:48 | [Mutex] isItemNotified: received:node:984e11c3-3935-463d-9055-72cf8cfa0fff:localhost:node-582791df-eda9-4a01-af56-5348c256e641:Node 582791df-eda9-4a01-af56-5348c256e641 :: true

2021-04-07 11:51:48 | [Mutex] waiting for: [received:nodes:d5d668d2-75c5-4cb8-a54f-dfe15605f890:localhost]

2021-04-07 11:51:48 | [Mutex] received everything.

2021-04-07 11:51:48 | [Mutex] isItemNotified: received:node:d5d668d2-75c5-4cb8-a54f-dfe15605f890:localhost:node-582791df-eda9-4a01-af56-5348c256e641:Node 582791df-eda9-4a01-af56-5348c256e641 :: false

createNodes 1.491s
2021-04-07 11:51:45 |

2021-04-07 11:51:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:45 | ------------------------------------

2021-04-07 11:51:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-582791df-eda9-4a01-af56-5348c256e641</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 582791df-eda9-4a01-af56-5348c256e641</title></pubsub></data>

2021-04-07 11:51:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:51:46 | [Mutex] waiting for: [received:nodes:f16ee70a-1960-41d1-8390-d0d84210af07:localhost]

2021-04-07 11:51:46 | [Mutex] received everything.

2021-04-07 11:51:46 | [Mutex] isItemNotified: received:node:f16ee70a-1960-41d1-8390-d0d84210af07:localhost:node-582791df-eda9-4a01-af56-5348c256e641:Node 582791df-eda9-4a01-af56-5348c256e641 :: true

createSubnodes 1.023s
2021-04-07 11:51:46 |

2021-04-07 11:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:46 | ------------------------------------

2021-04-07 11:51:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b3b78caf-8b6a-4b87-8978-60567ca91043</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b3b78caf-8b6a-4b87-8978-60567ca91043</title></pubsub></data>

2021-04-07 11:51:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:51:47 | [Mutex] waiting for: [received:nodes:7c97d319-25ab-4528-82fe-2cf73f35a9c6:localhost]

2021-04-07 11:51:47 | [Mutex] received everything.

2021-04-07 11:51:47 | [Mutex] isItemNotified: received:node:7c97d319-25ab-4528-82fe-2cf73f35a9c6:localhost:node-b3b78caf-8b6a-4b87-8978-60567ca91043:Node b3b78caf-8b6a-4b87-8978-60567ca91043 :: true

deleteNodes 1.041s
2021-04-07 11:51:53 |

2021-04-07 11:51:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:53 | ------------------------------------

2021-04-07 11:51:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b3b78caf-8b6a-4b87-8978-60567ca91043</node></data>

2021-04-07 11:51:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:51:54 | [Mutex] waiting for: [received:nodes:6c650eb3-2081-4fc2-af5b-689ce8ca723b:localhost]

2021-04-07 11:51:54 | [Mutex] received everything.

2021-04-07 11:51:54 | [Mutex] isItemNotified: received:node:6c650eb3-2081-4fc2-af5b-689ce8ca723b:localhost:node-b3b78caf-8b6a-4b87-8978-60567ca91043:Node b3b78caf-8b6a-4b87-8978-60567ca91043 :: false

deleteSubnodes 1.113s
2021-04-07 11:51:52 |

2021-04-07 11:51:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:52 | ------------------------------------

2021-04-07 11:51:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-582791df-eda9-4a01-af56-5348c256e641</node></data>

2021-04-07 11:51:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:51:53 | [Mutex] waiting for: [received:nodes:939813c5-b8c1-4ad3-a5b2-61a10743e723:localhost]

2021-04-07 11:51:53 | [Mutex] received everything.

2021-04-07 11:51:53 | [Mutex] isItemNotified: received:node:939813c5-b8c1-4ad3-a5b2-61a10743e723:localhost:node-582791df-eda9-4a01-af56-5348c256e641:Node 582791df-eda9-4a01-af56-5348c256e641 :: false

2021-04-07 11:51:53 | [Mutex] waiting for: [received:nodes:73fccff3-e37e-4f0a-ba83-eb78ccd5617a:localhost]

2021-04-07 11:51:53 | [Mutex] received everything.

2021-04-07 11:51:53 | [Mutex] isItemNotified: received:node:73fccff3-e37e-4f0a-ba83-eb78ccd5617a:localhost:node-582791df-eda9-4a01-af56-5348c256e641:Node 582791df-eda9-4a01-af56-5348c256e641 :: false

publishItemsToNodes 0.189s
2021-04-07 11:51:50 |

2021-04-07 11:51:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:50 | ------------------------------------

2021-04-07 11:51:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-582791df-eda9-4a01-af56-5348c256e641</node><item-id>item-22c6c25d-98f6-4d28-91dc-ec329ff2110f</item-id><entry><test>item-22c6c25d-98f6-4d28-91dc-ec329ff2110f</test></entry></data>

2021-04-07 11:51:50 | 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-22c6c25d-98f6-4d28-91dc-ec329ff2110f</value></item-id></result>

2021-04-07 11:51:50 | [Mutex] waiting for: [published:item:notifieditem-22c6c25d-98f6-4d28-91dc-ec329ff2110f:admin@test-domain.com]

2021-04-07 11:51:50 | [Mutex] received everything.

2021-04-07 11:51:50 | [Mutex] isItemNotified: published:item:notifieditem-22c6c25d-98f6-4d28-91dc-ec329ff2110f:admin@test-domain.com :: true

retractItemsFromNodes 0.241s
2021-04-07 11:51:50 |

2021-04-07 11:51:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:50 | ------------------------------------

2021-04-07 11:51:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-582791df-eda9-4a01-af56-5348c256e641</node><item-id>item-22c6c25d-98f6-4d28-91dc-ec329ff2110f</item-id></data>

2021-04-07 11:51:50 | 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-22c6c25d-98f6-4d28-91dc-ec329ff2110f</value></item-id></result>

2021-04-07 11:51:50 | [Mutex] waiting for: [retracted:item:notifieditem-22c6c25d-98f6-4d28-91dc-ec329ff2110f:admin@test-domain.com]

2021-04-07 11:51:50 | [Mutex] received everything.

2021-04-07 11:51:50 | [Mutex] isItemNotified: retracted:item:notifieditem-22c6c25d-98f6-4d28-91dc-ec329ff2110f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.268s
2021-04-07 11:51:50 |

2021-04-07 11:51:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:50 | ------------------------------------

2021-04-07 11:51:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-582791df-eda9-4a01-af56-5348c256e641</node><item-id>item-22c6c25d-98f6-4d28-91dc-ec329ff2110f</item-id></data>

2021-04-07 11:51:50 | 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-582791df-eda9-4a01-af56-5348c256e641</value></node><item-id label="Item ID" type="text-single"><value>item-22c6c25d-98f6-4d28-91dc-ec329ff2110f</value></item-id><item label="Item" type="text-multi"><value><item id="item-22c6c25d-98f6-4d28-91dc-ec329ff2110f"><test>item-22c6c25d-98f6-4d28-91dc-ec329ff2110f</test></item></value></item></result>

2021-04-07 11:51:50 | [Mutex] notify: [retrieved:item:item-22c6c25d-98f6-4d28-91dc-ec329ff2110f:payload-matches:true:localhost]

2021-04-07 11:51:50 | [Mutex] received everything.

2021-04-07 11:51:50 | [Mutex] isItemNotified: retrieved:item:item-22c6c25d-98f6-4d28-91dc-ec329ff2110f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-04-07 11:51:50 |

2021-04-07 11:51:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:50 | ------------------------------------

2021-04-07 11:51:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-07 11:51:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b3b78caf-8b6a-4b87-8978-60567ca91043</value><value>test</value><value>node-582791df-eda9-4a01-af56-5348c256e641</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-04-07 11:51:50 |

2021-04-07 11:51:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:50 | ------------------------------------

2021-04-07 11:51:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-582791df-eda9-4a01-af56-5348c256e641)</node-pattern></data>

2021-04-07 11:51:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.107s
2021-04-07 11:51:48 |

2021-04-07 11:51:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:48 | ------------------------------------

2021-04-07 11:51:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-582791df-eda9-4a01-af56-5348c256e641</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-07 11:51:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.393s
2021-04-07 11:51:50 |

2021-04-07 11:51:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:51:50 | ------------------------------------

2021-04-07 11:51:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-582791df-eda9-4a01-af56-5348c256e641</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-07 11:51:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>