Generated by TestNG with ReportNG at 23:50 PDT on Friday 04 September 2020
root@55161683a995 / 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.710s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2020-09-05 00:06:17 |

2020-09-05 00:06:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:17 | ------------------------------------

2020-09-05 00:06:17 | [Mutex] waiting for: [configured:node:node-e95b4a33-1720-45d5-9e8f-668cbeac7371:node-fe8f93ff-a7ef-4461-bf31-a22da1aff132]

2020-09-05 00:06:17 | [Mutex] received everything.

2020-09-05 00:06:17 | [Mutex] isItemNotified: configured:node:node-e95b4a33-1720-45d5-9e8f-668cbeac7371:node-fe8f93ff-a7ef-4461-bf31-a22da1aff132 :: true

2020-09-05 00:06:18 | [Mutex] waiting for: [received:nodes:6908fbe6-6975-44d0-9f32-5937a2ce9d42:localhost]

2020-09-05 00:06:18 | [Mutex] received everything.

2020-09-05 00:06:18 | [Mutex] isItemNotified: received:node:6908fbe6-6975-44d0-9f32-5937a2ce9d42:localhost:node-e95b4a33-1720-45d5-9e8f-668cbeac7371:Node e95b4a33-1720-45d5-9e8f-668cbeac7371 :: true

2020-09-05 00:06:18 | [Mutex] waiting for: [received:nodes:172b6860-8e4d-4ec1-a770-3ba998d04b66:localhost]

2020-09-05 00:06:18 | [Mutex] received everything.

2020-09-05 00:06:18 | [Mutex] isItemNotified: received:node:172b6860-8e4d-4ec1-a770-3ba998d04b66:localhost:node-e95b4a33-1720-45d5-9e8f-668cbeac7371:Node e95b4a33-1720-45d5-9e8f-668cbeac7371 :: false

createNodes 1.381s
2020-09-05 00:06:15 |

2020-09-05 00:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:15 | ------------------------------------

2020-09-05 00:06:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e95b4a33-1720-45d5-9e8f-668cbeac7371</title></pubsub></data>

2020-09-05 00:06:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-05 00:06:16 | [Mutex] waiting for: [received:nodes:7c00cd33-b10b-4f24-9fec-8814b4ba72ca:localhost]

2020-09-05 00:06:16 | [Mutex] received everything.

2020-09-05 00:06:16 | [Mutex] isItemNotified: received:node:7c00cd33-b10b-4f24-9fec-8814b4ba72ca:localhost:node-e95b4a33-1720-45d5-9e8f-668cbeac7371:Node e95b4a33-1720-45d5-9e8f-668cbeac7371 :: true

createSubnodes 1.026s
2020-09-05 00:06:16 |

2020-09-05 00:06:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:16 | ------------------------------------

2020-09-05 00:06:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fe8f93ff-a7ef-4461-bf31-a22da1aff132</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fe8f93ff-a7ef-4461-bf31-a22da1aff132</title></pubsub></data>

2020-09-05 00:06:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-05 00:06:17 | [Mutex] waiting for: [received:nodes:4636285f-ecc3-40c2-9128-b298e1d1bfef:localhost]

2020-09-05 00:06:17 | [Mutex] received everything.

2020-09-05 00:06:17 | [Mutex] isItemNotified: received:node:4636285f-ecc3-40c2-9128-b298e1d1bfef:localhost:node-fe8f93ff-a7ef-4461-bf31-a22da1aff132:Node fe8f93ff-a7ef-4461-bf31-a22da1aff132 :: true

deleteNodes 1.018s
2020-09-05 00:06:23 |

2020-09-05 00:06:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:23 | ------------------------------------

2020-09-05 00:06:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fe8f93ff-a7ef-4461-bf31-a22da1aff132</node></data>

2020-09-05 00:06:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-05 00:06:24 | [Mutex] waiting for: [received:nodes:d37c5fe6-208c-45e5-8c34-ce01d69689bd:localhost]

2020-09-05 00:06:24 | [Mutex] received everything.

2020-09-05 00:06:24 | [Mutex] isItemNotified: received:node:d37c5fe6-208c-45e5-8c34-ce01d69689bd:localhost:node-fe8f93ff-a7ef-4461-bf31-a22da1aff132:Node fe8f93ff-a7ef-4461-bf31-a22da1aff132 :: false

deleteSubnodes 1.120s
2020-09-05 00:06:21 |

2020-09-05 00:06:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:21 | ------------------------------------

2020-09-05 00:06:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</node></data>

2020-09-05 00:06:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-05 00:06:23 | [Mutex] waiting for: [received:nodes:b86a521e-e2f4-4677-a8b7-5999ef6a6b2e:localhost]

2020-09-05 00:06:23 | [Mutex] received everything.

2020-09-05 00:06:23 | [Mutex] isItemNotified: received:node:b86a521e-e2f4-4677-a8b7-5999ef6a6b2e:localhost:node-e95b4a33-1720-45d5-9e8f-668cbeac7371:Node e95b4a33-1720-45d5-9e8f-668cbeac7371 :: false

2020-09-05 00:06:23 | [Mutex] waiting for: [received:nodes:65da07ec-af0b-45a5-a4ef-9ca52e1ddde5:localhost]

2020-09-05 00:06:23 | [Mutex] received everything.

2020-09-05 00:06:23 | [Mutex] isItemNotified: received:node:65da07ec-af0b-45a5-a4ef-9ca52e1ddde5:localhost:node-e95b4a33-1720-45d5-9e8f-668cbeac7371:Node e95b4a33-1720-45d5-9e8f-668cbeac7371 :: false

publishItemsToNodes 0.228s
2020-09-05 00:06:20 |

2020-09-05 00:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:20 | ------------------------------------

2020-09-05 00:06:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</node><item-id>item-399bc866-573d-406d-8936-d4bb8d74d68f</item-id><entry><test>item-399bc866-573d-406d-8936-d4bb8d74d68f</test></entry></data>

2020-09-05 00:06:20 | 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-399bc866-573d-406d-8936-d4bb8d74d68f</value></item-id></result>

2020-09-05 00:06:20 | [Mutex] received everything.

2020-09-05 00:06:20 | [Mutex] isItemNotified: published:item:notifieditem-399bc866-573d-406d-8936-d4bb8d74d68f:admin@test-domain.com :: true

retractItemsFromNodes 0.195s
2020-09-05 00:06:20 |

2020-09-05 00:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:20 | ------------------------------------

2020-09-05 00:06:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</node><item-id>item-399bc866-573d-406d-8936-d4bb8d74d68f</item-id></data>

2020-09-05 00:06:20 | 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-399bc866-573d-406d-8936-d4bb8d74d68f</value></item-id></result>

2020-09-05 00:06:20 | [Mutex] received everything.

2020-09-05 00:06:20 | [Mutex] isItemNotified: retracted:item:notifieditem-399bc866-573d-406d-8936-d4bb8d74d68f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.206s
2020-09-05 00:06:20 |

2020-09-05 00:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:20 | ------------------------------------

2020-09-05 00:06:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</node><item-id>item-399bc866-573d-406d-8936-d4bb8d74d68f</item-id></data>

2020-09-05 00:06:20 | 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-e95b4a33-1720-45d5-9e8f-668cbeac7371</value></node><item-id label="Item ID" type="text-single"><value>item-399bc866-573d-406d-8936-d4bb8d74d68f</value></item-id><item label="Item" type="text-multi"><value><item id="item-399bc866-573d-406d-8936-d4bb8d74d68f"><test>item-399bc866-573d-406d-8936-d4bb8d74d68f</test></item></value></item></result>

2020-09-05 00:06:20 | [Mutex] notify: [retrieved:item:item-399bc866-573d-406d-8936-d4bb8d74d68f:payload-matches:true:localhost]

2020-09-05 00:06:20 | [Mutex] received everything.

2020-09-05 00:06:20 | [Mutex] isItemNotified: retrieved:item:item-399bc866-573d-406d-8936-d4bb8d74d68f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-05 00:06:20 |

2020-09-05 00:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:20 | ------------------------------------

2020-09-05 00:06:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-05 00:06:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</value><value>test</value><value>node-fe8f93ff-a7ef-4461-bf31-a22da1aff132</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-05 00:06:20 |

2020-09-05 00:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:20 | ------------------------------------

2020-09-05 00:06:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e95b4a33-1720-45d5-9e8f-668cbeac7371)</node-pattern></data>

2020-09-05 00:06:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.095s
2020-09-05 00:06:18 |

2020-09-05 00:06:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:18 | ------------------------------------

2020-09-05 00:06:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-05 00:06:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.231s
2020-09-05 00:06:20 |

2020-09-05 00:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-05 00:06:20 | ------------------------------------

2020-09-05 00:06:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e95b4a33-1720-45d5-9e8f-668cbeac7371</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-05 00:06:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>