Generated by TestNG with ReportNG at 23:15 PDT on Monday 21 September 2020
root@d2a27fcc5bc3 / 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.741s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2020-09-21 23:30:34 |

2020-09-21 23:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:34 | ------------------------------------

2020-09-21 23:30:34 | [Mutex] waiting for: [configured:node:node-465de741-3cd8-4ccd-b88c-33a08a7be48c:node-9e5d509d-b198-4d85-9b07-a271b53dfe6b]

2020-09-21 23:30:34 | [Mutex] received everything.

2020-09-21 23:30:34 | [Mutex] isItemNotified: configured:node:node-465de741-3cd8-4ccd-b88c-33a08a7be48c:node-9e5d509d-b198-4d85-9b07-a271b53dfe6b :: true

2020-09-21 23:30:35 | [Mutex] waiting for: [received:nodes:fdc1dc38-5844-4182-bfe7-39f6d130dad0:localhost]

2020-09-21 23:30:35 | [Mutex] received everything.

2020-09-21 23:30:35 | [Mutex] isItemNotified: received:node:fdc1dc38-5844-4182-bfe7-39f6d130dad0:localhost:node-465de741-3cd8-4ccd-b88c-33a08a7be48c:Node 465de741-3cd8-4ccd-b88c-33a08a7be48c :: true

2020-09-21 23:30:35 | [Mutex] waiting for: [received:nodes:98e87e9c-efbf-4a01-b690-1d73104d1e6a:localhost]

2020-09-21 23:30:35 | [Mutex] received everything.

2020-09-21 23:30:35 | [Mutex] isItemNotified: received:node:98e87e9c-efbf-4a01-b690-1d73104d1e6a:localhost:node-465de741-3cd8-4ccd-b88c-33a08a7be48c:Node 465de741-3cd8-4ccd-b88c-33a08a7be48c :: false

createNodes 1.424s
2020-09-21 23:30:32 |

2020-09-21 23:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:32 | ------------------------------------

2020-09-21 23:30:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 465de741-3cd8-4ccd-b88c-33a08a7be48c</title></pubsub></data>

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

2020-09-21 23:30:33 | [Mutex] waiting for: [received:nodes:7065dd74-a372-43ca-8974-85bf7cb34d9f:localhost]

2020-09-21 23:30:33 | [Mutex] received everything.

2020-09-21 23:30:33 | [Mutex] isItemNotified: received:node:7065dd74-a372-43ca-8974-85bf7cb34d9f:localhost:node-465de741-3cd8-4ccd-b88c-33a08a7be48c:Node 465de741-3cd8-4ccd-b88c-33a08a7be48c :: true

createSubnodes 1.044s
2020-09-21 23:30:33 |

2020-09-21 23:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:33 | ------------------------------------

2020-09-21 23:30:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9e5d509d-b198-4d85-9b07-a271b53dfe6b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9e5d509d-b198-4d85-9b07-a271b53dfe6b</title></pubsub></data>

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

2020-09-21 23:30:34 | [Mutex] waiting for: [received:nodes:91af3498-b91a-4e41-bbcf-dd46ed986b1e:localhost]

2020-09-21 23:30:34 | [Mutex] received everything.

2020-09-21 23:30:34 | [Mutex] isItemNotified: received:node:91af3498-b91a-4e41-bbcf-dd46ed986b1e:localhost:node-9e5d509d-b198-4d85-9b07-a271b53dfe6b:Node 9e5d509d-b198-4d85-9b07-a271b53dfe6b :: true

deleteNodes 1.016s
2020-09-21 23:30:40 |

2020-09-21 23:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:40 | ------------------------------------

2020-09-21 23:30:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9e5d509d-b198-4d85-9b07-a271b53dfe6b</node></data>

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

2020-09-21 23:30:41 | [Mutex] waiting for: [received:nodes:2f9627d2-2f0f-4d0e-bdda-95a90c4857d2:localhost]

2020-09-21 23:30:41 | [Mutex] received everything.

2020-09-21 23:30:41 | [Mutex] isItemNotified: received:node:2f9627d2-2f0f-4d0e-bdda-95a90c4857d2:localhost:node-9e5d509d-b198-4d85-9b07-a271b53dfe6b:Node 9e5d509d-b198-4d85-9b07-a271b53dfe6b :: false

deleteSubnodes 1.125s
2020-09-21 23:30:39 |

2020-09-21 23:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:39 | ------------------------------------

2020-09-21 23:30:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</node></data>

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

2020-09-21 23:30:40 | [Mutex] waiting for: [received:nodes:a1f05e2e-d36a-4fb2-989e-cf3c51cf29bc:localhost]

2020-09-21 23:30:40 | [Mutex] waiting for: [received:nodes:a1f05e2e-d36a-4fb2-989e-cf3c51cf29bc:localhost]

2020-09-21 23:30:40 | [Mutex] received everything.

2020-09-21 23:30:40 | [Mutex] isItemNotified: received:node:a1f05e2e-d36a-4fb2-989e-cf3c51cf29bc:localhost:node-465de741-3cd8-4ccd-b88c-33a08a7be48c:Node 465de741-3cd8-4ccd-b88c-33a08a7be48c :: false

2020-09-21 23:30:40 | [Mutex] waiting for: [received:nodes:6aa54c8c-105a-41e5-9445-3c8541ece991:localhost]

2020-09-21 23:30:40 | [Mutex] received everything.

2020-09-21 23:30:40 | [Mutex] isItemNotified: received:node:6aa54c8c-105a-41e5-9445-3c8541ece991:localhost:node-465de741-3cd8-4ccd-b88c-33a08a7be48c:Node 465de741-3cd8-4ccd-b88c-33a08a7be48c :: false

publishItemsToNodes 0.184s
2020-09-21 23:30:37 |

2020-09-21 23:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:37 | ------------------------------------

2020-09-21 23:30:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</node><item-id>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</item-id><entry><test>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</test></entry></data>

2020-09-21 23:30:37 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</value></item-id></result>

2020-09-21 23:30:37 | [Mutex] received everything.

2020-09-21 23:30:37 | [Mutex] isItemNotified: published:item:notifieditem-55cb472c-9d47-4df5-b543-a9c1aefcf1ef:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2020-09-21 23:30:37 |

2020-09-21 23:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:37 | ------------------------------------

2020-09-21 23:30:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</node><item-id>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</item-id></data>

2020-09-21 23:30:37 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</value></item-id></result>

2020-09-21 23:30:37 | [Mutex] received everything.

2020-09-21 23:30:37 | [Mutex] isItemNotified: retracted:item:notifieditem-55cb472c-9d47-4df5-b543-a9c1aefcf1ef:admin@test-domain.com :: true

retrieveItemsFromNodes 0.190s
2020-09-21 23:30:37 |

2020-09-21 23:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:37 | ------------------------------------

2020-09-21 23:30:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</node><item-id>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</item-id></data>

2020-09-21 23:30:37 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</value></node><item-id type="text-single" label="Item ID"><value>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</value></item-id><item type="text-multi" label="Item"><value><item id="item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef"><test>item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef</test></item></value></item></result>

2020-09-21 23:30:37 | [Mutex] notify: [retrieved:item:item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef:payload-matches:true:localhost]

2020-09-21 23:30:37 | [Mutex] received everything.

2020-09-21 23:30:37 | [Mutex] isItemNotified: retrieved:item:item-55cb472c-9d47-4df5-b543-a9c1aefcf1ef:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-21 23:30:37 |

2020-09-21 23:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:37 | ------------------------------------

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

2020-09-21 23:30:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</value><value>node-9e5d509d-b198-4d85-9b07-a271b53dfe6b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-21 23:30:37 |

2020-09-21 23:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:37 | ------------------------------------

2020-09-21 23:30:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-465de741-3cd8-4ccd-b88c-33a08a7be48c)</node-pattern></data>

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

subscribeNodes 1.098s
2020-09-21 23:30:35 |

2020-09-21 23:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:35 | ------------------------------------

2020-09-21 23:30:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2020-09-21 23:30:37 |

2020-09-21 23:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:30:37 | ------------------------------------

2020-09-21 23:30:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-465de741-3cd8-4ccd-b88c-33a08a7be48c</node><jids><value>admin@test-domain.com</value></jids></data>

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