Generated by TestNG with ReportNG at 22:13 PDT on Friday 23 October 2020
root@87f6aca6b6f2 / 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.189s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2020-10-23 22:29:26 |

2020-10-23 22:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:26 | ------------------------------------

2020-10-23 22:29:26 | [Mutex] waiting for: [configured:node:node-e4cd195c-ff50-4e81-9922-2e999484d9fc:node-8922ebfc-779b-4437-b399-fba90b867f4b]

2020-10-23 22:29:26 | [Mutex] received everything.

2020-10-23 22:29:26 | [Mutex] isItemNotified: configured:node:node-e4cd195c-ff50-4e81-9922-2e999484d9fc:node-8922ebfc-779b-4437-b399-fba90b867f4b :: true

2020-10-23 22:29:27 | [Mutex] waiting for: [received:nodes:4860bc30-4285-4abf-b321-8d442456cfd9:localhost]

2020-10-23 22:29:28 | [Mutex] received everything.

2020-10-23 22:29:28 | [Mutex] isItemNotified: received:node:4860bc30-4285-4abf-b321-8d442456cfd9:localhost:node-e4cd195c-ff50-4e81-9922-2e999484d9fc:Node e4cd195c-ff50-4e81-9922-2e999484d9fc :: true

2020-10-23 22:29:28 | [Mutex] waiting for: [received:nodes:95dcd467-9371-4270-b547-a2c39c77b57e:localhost]

2020-10-23 22:29:28 | [Mutex] waiting for: [received:nodes:95dcd467-9371-4270-b547-a2c39c77b57e:localhost]

2020-10-23 22:29:28 | [Mutex] received everything.

2020-10-23 22:29:28 | [Mutex] isItemNotified: received:node:95dcd467-9371-4270-b547-a2c39c77b57e:localhost:node-e4cd195c-ff50-4e81-9922-2e999484d9fc:Node e4cd195c-ff50-4e81-9922-2e999484d9fc :: false

createNodes 1.435s
2020-10-23 22:29:24 |

2020-10-23 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:24 | ------------------------------------

2020-10-23 22:29:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e4cd195c-ff50-4e81-9922-2e999484d9fc</title></pubsub></data>

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

2020-10-23 22:29:25 | [Mutex] waiting for: [received:nodes:f4c20237-1211-427f-99cd-17816fa575d3:localhost]

2020-10-23 22:29:25 | [Mutex] waiting for: [received:nodes:f4c20237-1211-427f-99cd-17816fa575d3:localhost]

2020-10-23 22:29:25 | [Mutex] received everything.

2020-10-23 22:29:25 | [Mutex] isItemNotified: received:node:f4c20237-1211-427f-99cd-17816fa575d3:localhost:node-e4cd195c-ff50-4e81-9922-2e999484d9fc:Node e4cd195c-ff50-4e81-9922-2e999484d9fc :: true

createSubnodes 1.025s
2020-10-23 22:29:25 |

2020-10-23 22:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:25 | ------------------------------------

2020-10-23 22:29:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8922ebfc-779b-4437-b399-fba90b867f4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8922ebfc-779b-4437-b399-fba90b867f4b</title></pubsub></data>

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

2020-10-23 22:29:26 | [Mutex] waiting for: [received:nodes:7fface0c-da29-4bf8-a510-df65e3248715:localhost]

2020-10-23 22:29:26 | [Mutex] waiting for: [received:nodes:7fface0c-da29-4bf8-a510-df65e3248715:localhost]

2020-10-23 22:29:26 | [Mutex] received everything.

2020-10-23 22:29:26 | [Mutex] isItemNotified: received:node:7fface0c-da29-4bf8-a510-df65e3248715:localhost:node-8922ebfc-779b-4437-b399-fba90b867f4b:Node 8922ebfc-779b-4437-b399-fba90b867f4b :: true

deleteNodes 1.027s
2020-10-23 22:29:32 |

2020-10-23 22:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:32 | ------------------------------------

2020-10-23 22:29:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8922ebfc-779b-4437-b399-fba90b867f4b</node></data>

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

2020-10-23 22:29:33 | [Mutex] waiting for: [received:nodes:2c77e710-660c-4315-a03a-27408b7af5bd:localhost]

2020-10-23 22:29:33 | [Mutex] waiting for: [received:nodes:2c77e710-660c-4315-a03a-27408b7af5bd:localhost]

2020-10-23 22:29:33 | [Mutex] received everything.

2020-10-23 22:29:33 | [Mutex] isItemNotified: received:node:2c77e710-660c-4315-a03a-27408b7af5bd:localhost:node-8922ebfc-779b-4437-b399-fba90b867f4b:Node 8922ebfc-779b-4437-b399-fba90b867f4b :: false

deleteSubnodes 1.174s
2020-10-23 22:29:31 |

2020-10-23 22:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:31 | ------------------------------------

2020-10-23 22:29:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</node></data>

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

2020-10-23 22:29:32 | [Mutex] waiting for: [received:nodes:aea48145-e592-497c-9f6f-7ee0f23ce862:localhost]

2020-10-23 22:29:32 | [Mutex] received everything.

2020-10-23 22:29:32 | [Mutex] isItemNotified: received:node:aea48145-e592-497c-9f6f-7ee0f23ce862:localhost:node-e4cd195c-ff50-4e81-9922-2e999484d9fc:Node e4cd195c-ff50-4e81-9922-2e999484d9fc :: false

2020-10-23 22:29:32 | [Mutex] waiting for: [received:nodes:22019be9-5e8a-42e3-bad7-841976d3e382:localhost]

2020-10-23 22:29:32 | [Mutex] received everything.

2020-10-23 22:29:32 | [Mutex] isItemNotified: received:node:22019be9-5e8a-42e3-bad7-841976d3e382:localhost:node-e4cd195c-ff50-4e81-9922-2e999484d9fc:Node e4cd195c-ff50-4e81-9922-2e999484d9fc :: false

publishItemsToNodes 0.281s
2020-10-23 22:29:29 |

2020-10-23 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:29 | ------------------------------------

2020-10-23 22:29:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</node><item-id>item-4216ee0b-c0b9-4371-b44f-85b629214436</item-id><entry><test>item-4216ee0b-c0b9-4371-b44f-85b629214436</test></entry></data>

2020-10-23 22:29:29 | 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-4216ee0b-c0b9-4371-b44f-85b629214436</value></item-id></result>

2020-10-23 22:29:29 | [Mutex] waiting for: [published:item:notifieditem-4216ee0b-c0b9-4371-b44f-85b629214436:admin@test-domain.com]

2020-10-23 22:29:29 | [Mutex] received everything.

2020-10-23 22:29:29 | [Mutex] isItemNotified: published:item:notifieditem-4216ee0b-c0b9-4371-b44f-85b629214436:admin@test-domain.com :: true

retractItemsFromNodes 0.236s
2020-10-23 22:29:29 |

2020-10-23 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:29 | ------------------------------------

2020-10-23 22:29:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</node><item-id>item-4216ee0b-c0b9-4371-b44f-85b629214436</item-id></data>

2020-10-23 22:29:30 | 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-4216ee0b-c0b9-4371-b44f-85b629214436</value></item-id></result>

2020-10-23 22:29:30 | [Mutex] received everything.

2020-10-23 22:29:30 | [Mutex] isItemNotified: retracted:item:notifieditem-4216ee0b-c0b9-4371-b44f-85b629214436:admin@test-domain.com :: true

retrieveItemsFromNodes 0.291s
2020-10-23 22:29:29 |

2020-10-23 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:29 | ------------------------------------

2020-10-23 22:29:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</node><item-id>item-4216ee0b-c0b9-4371-b44f-85b629214436</item-id></data>

2020-10-23 22:29:29 | 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-e4cd195c-ff50-4e81-9922-2e999484d9fc</value></node><item-id label="Item ID" type="text-single"><value>item-4216ee0b-c0b9-4371-b44f-85b629214436</value></item-id><item label="Item" type="text-multi"><value><item id="item-4216ee0b-c0b9-4371-b44f-85b629214436"><test>item-4216ee0b-c0b9-4371-b44f-85b629214436</test></item></value></item></result>

2020-10-23 22:29:29 | [Mutex] notify: [retrieved:item:item-4216ee0b-c0b9-4371-b44f-85b629214436:payload-matches:true:localhost]

2020-10-23 22:29:29 | [Mutex] received everything.

2020-10-23 22:29:29 | [Mutex] isItemNotified: retrieved:item:item-4216ee0b-c0b9-4371-b44f-85b629214436:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-10-23 22:29:29 |

2020-10-23 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:29 | ------------------------------------

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

2020-10-23 22:29:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</value><value>node-8922ebfc-779b-4437-b399-fba90b867f4b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.061s
2020-10-23 22:29:29 |

2020-10-23 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:29 | ------------------------------------

2020-10-23 22:29:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e4cd195c-ff50-4e81-9922-2e999484d9fc)</node-pattern></data>

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

subscribeNodes 1.149s
2020-10-23 22:29:28 |

2020-10-23 22:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:28 | ------------------------------------

2020-10-23 22:29:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.234s
2020-10-23 22:29:30 |

2020-10-23 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:29:30 | ------------------------------------

2020-10-23 22:29:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e4cd195c-ff50-4e81-9922-2e999484d9fc</node><jids><value>admin@test-domain.com</value></jids></data>

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