Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 09 September 2020
root@582d79db0263 / 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.069s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2020-09-09 22:43:58 |

2020-09-09 22:43:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:43:58 | ------------------------------------

2020-09-09 22:43:58 | [Mutex] waiting for: [configured:node:node-a3475ea5-36ff-4768-99a5-cd534cf35b74:node-adc3ae80-e467-4a95-bed4-d741bd44a66b]

2020-09-09 22:43:58 | [Mutex] received everything.

2020-09-09 22:43:58 | [Mutex] isItemNotified: configured:node:node-a3475ea5-36ff-4768-99a5-cd534cf35b74:node-adc3ae80-e467-4a95-bed4-d741bd44a66b :: true

2020-09-09 22:43:59 | [Mutex] waiting for: [received:nodes:25358fef-8e8e-416b-9761-355ec4bd63f2:localhost]

2020-09-09 22:43:59 | [Mutex] received everything.

2020-09-09 22:43:59 | [Mutex] isItemNotified: received:node:25358fef-8e8e-416b-9761-355ec4bd63f2:localhost:node-a3475ea5-36ff-4768-99a5-cd534cf35b74:Node a3475ea5-36ff-4768-99a5-cd534cf35b74 :: true

2020-09-09 22:43:59 | [Mutex] waiting for: [received:nodes:e61bfcab-763a-4a0d-92af-b15eda00727d:localhost]

2020-09-09 22:43:59 | [Mutex] received everything.

2020-09-09 22:43:59 | [Mutex] isItemNotified: received:node:e61bfcab-763a-4a0d-92af-b15eda00727d:localhost:node-a3475ea5-36ff-4768-99a5-cd534cf35b74:Node a3475ea5-36ff-4768-99a5-cd534cf35b74 :: false

createNodes 1.592s
2020-09-09 22:43:55 |

2020-09-09 22:43:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:43:55 | ------------------------------------

2020-09-09 22:43:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a3475ea5-36ff-4768-99a5-cd534cf35b74</title></pubsub></data>

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

2020-09-09 22:43:57 | [Mutex] waiting for: [received:nodes:28b4ffa7-a29f-41c1-8d60-ba902463c562:localhost]

2020-09-09 22:43:57 | [Mutex] received everything.

2020-09-09 22:43:57 | [Mutex] isItemNotified: received:node:28b4ffa7-a29f-41c1-8d60-ba902463c562:localhost:node-a3475ea5-36ff-4768-99a5-cd534cf35b74:Node a3475ea5-36ff-4768-99a5-cd534cf35b74 :: true

createSubnodes 1.024s
2020-09-09 22:43:57 |

2020-09-09 22:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:43:57 | ------------------------------------

2020-09-09 22:43:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-adc3ae80-e467-4a95-bed4-d741bd44a66b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node adc3ae80-e467-4a95-bed4-d741bd44a66b</title></pubsub></data>

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

2020-09-09 22:43:58 | [Mutex] waiting for: [received:nodes:02cccfef-cebb-48c7-94ef-b296e8ae52d9:localhost]

2020-09-09 22:43:58 | [Mutex] waiting for: [received:nodes:02cccfef-cebb-48c7-94ef-b296e8ae52d9:localhost]

2020-09-09 22:43:58 | [Mutex] received everything.

2020-09-09 22:43:58 | [Mutex] isItemNotified: received:node:02cccfef-cebb-48c7-94ef-b296e8ae52d9:localhost:node-adc3ae80-e467-4a95-bed4-d741bd44a66b:Node adc3ae80-e467-4a95-bed4-d741bd44a66b :: true

deleteNodes 1.014s
2020-09-09 22:44:04 |

2020-09-09 22:44:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:04 | ------------------------------------

2020-09-09 22:44:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-adc3ae80-e467-4a95-bed4-d741bd44a66b</node></data>

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

2020-09-09 22:44:05 | [Mutex] waiting for: [received:nodes:73947cb9-0c48-4126-8388-565b722264b3:localhost]

2020-09-09 22:44:05 | [Mutex] received everything.

2020-09-09 22:44:05 | [Mutex] isItemNotified: received:node:73947cb9-0c48-4126-8388-565b722264b3:localhost:node-adc3ae80-e467-4a95-bed4-d741bd44a66b:Node adc3ae80-e467-4a95-bed4-d741bd44a66b :: false

deleteSubnodes 1.160s
2020-09-09 22:44:02 |

2020-09-09 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:02 | ------------------------------------

2020-09-09 22:44:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</node></data>

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

2020-09-09 22:44:04 | [Mutex] waiting for: [received:nodes:4be2c94e-05bf-4922-8851-482f112f7895:localhost]

2020-09-09 22:44:04 | [Mutex] waiting for: [received:nodes:4be2c94e-05bf-4922-8851-482f112f7895:localhost]

2020-09-09 22:44:04 | [Mutex] waiting for: [received:nodes:4be2c94e-05bf-4922-8851-482f112f7895:localhost]

2020-09-09 22:44:04 | [Mutex] received everything.

2020-09-09 22:44:04 | [Mutex] isItemNotified: received:node:4be2c94e-05bf-4922-8851-482f112f7895:localhost:node-a3475ea5-36ff-4768-99a5-cd534cf35b74:Node a3475ea5-36ff-4768-99a5-cd534cf35b74 :: false

2020-09-09 22:44:04 | [Mutex] waiting for: [received:nodes:a3ce2727-4a43-4be9-b51c-3afbb1bf704d:localhost]

2020-09-09 22:44:04 | [Mutex] received everything.

2020-09-09 22:44:04 | [Mutex] isItemNotified: received:node:a3ce2727-4a43-4be9-b51c-3afbb1bf704d:localhost:node-a3475ea5-36ff-4768-99a5-cd534cf35b74:Node a3475ea5-36ff-4768-99a5-cd534cf35b74 :: false

publishItemsToNodes 0.222s
2020-09-09 22:44:00 |

2020-09-09 22:44:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:00 | ------------------------------------

2020-09-09 22:44:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</node><item-id>item-761d37ba-95c7-455b-a483-578b3994ffd2</item-id><entry><test>item-761d37ba-95c7-455b-a483-578b3994ffd2</test></entry></data>

2020-09-09 22:44:01 | 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-761d37ba-95c7-455b-a483-578b3994ffd2</value></item-id></result>

2020-09-09 22:44:01 | [Mutex] received everything.

2020-09-09 22:44:01 | [Mutex] isItemNotified: published:item:notifieditem-761d37ba-95c7-455b-a483-578b3994ffd2:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2020-09-09 22:44:01 |

2020-09-09 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:01 | ------------------------------------

2020-09-09 22:44:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</node><item-id>item-761d37ba-95c7-455b-a483-578b3994ffd2</item-id></data>

2020-09-09 22:44:01 | 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-761d37ba-95c7-455b-a483-578b3994ffd2</value></item-id></result>

2020-09-09 22:44:01 | [Mutex] received everything.

2020-09-09 22:44:01 | [Mutex] isItemNotified: retracted:item:notifieditem-761d37ba-95c7-455b-a483-578b3994ffd2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.295s
2020-09-09 22:44:01 |

2020-09-09 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:01 | ------------------------------------

2020-09-09 22:44:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</node><item-id>item-761d37ba-95c7-455b-a483-578b3994ffd2</item-id></data>

2020-09-09 22:44:01 | 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-a3475ea5-36ff-4768-99a5-cd534cf35b74</value></node><item-id label="Item ID" type="text-single"><value>item-761d37ba-95c7-455b-a483-578b3994ffd2</value></item-id><item label="Item" type="text-multi"><value><item id="item-761d37ba-95c7-455b-a483-578b3994ffd2"><test>item-761d37ba-95c7-455b-a483-578b3994ffd2</test></item></value></item></result>

2020-09-09 22:44:01 | [Mutex] notify: [retrieved:item:item-761d37ba-95c7-455b-a483-578b3994ffd2:payload-matches:true:localhost]

2020-09-09 22:44:01 | [Mutex] received everything.

2020-09-09 22:44:01 | [Mutex] isItemNotified: retrieved:item:item-761d37ba-95c7-455b-a483-578b3994ffd2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-09-09 22:44:01 |

2020-09-09 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:01 | ------------------------------------

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

2020-09-09 22:44:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</value><value>test</value><value>node-adc3ae80-e467-4a95-bed4-d741bd44a66b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2020-09-09 22:44:01 |

2020-09-09 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:01 | ------------------------------------

2020-09-09 22:44:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a3475ea5-36ff-4768-99a5-cd534cf35b74)</node-pattern></data>

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

subscribeNodes 1.120s
2020-09-09 22:43:59 |

2020-09-09 22:43:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:43:59 | ------------------------------------

2020-09-09 22:43:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.271s
2020-09-09 22:44:01 |

2020-09-09 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:44:01 | ------------------------------------

2020-09-09 22:44:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a3475ea5-36ff-4768-99a5-cd534cf35b74</node><jids><value>admin@test-domain.com</value></jids></data>

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