Generated by TestNG with ReportNG at 22:42 PDT on Thursday 08 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.484s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2020-10-08 22:59:13 |

2020-10-08 22:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:13 | ------------------------------------

2020-10-08 22:59:13 | [Mutex] waiting for: [configured:node:node-cda3b113-8383-4caf-9cf6-2c8138ad975e:node-b0983a7c-e8c9-4c6d-bcdc-954c700b0597]

2020-10-08 22:59:13 | [Mutex] received everything.

2020-10-08 22:59:13 | [Mutex] isItemNotified: configured:node:node-cda3b113-8383-4caf-9cf6-2c8138ad975e:node-b0983a7c-e8c9-4c6d-bcdc-954c700b0597 :: true

2020-10-08 22:59:14 | [Mutex] waiting for: [received:nodes:4e58a132-9237-4603-843b-8f34fb32e17a:localhost]

2020-10-08 22:59:14 | [Mutex] received everything.

2020-10-08 22:59:14 | [Mutex] isItemNotified: received:node:4e58a132-9237-4603-843b-8f34fb32e17a:localhost:node-cda3b113-8383-4caf-9cf6-2c8138ad975e:Node cda3b113-8383-4caf-9cf6-2c8138ad975e :: true

2020-10-08 22:59:14 | [Mutex] waiting for: [received:nodes:a814a9b5-8827-4063-9438-f50934a39840:localhost]

2020-10-08 22:59:14 | [Mutex] waiting for: [received:nodes:a814a9b5-8827-4063-9438-f50934a39840:localhost]

2020-10-08 22:59:14 | [Mutex] received everything.

2020-10-08 22:59:14 | [Mutex] isItemNotified: received:node:a814a9b5-8827-4063-9438-f50934a39840:localhost:node-cda3b113-8383-4caf-9cf6-2c8138ad975e:Node cda3b113-8383-4caf-9cf6-2c8138ad975e :: false

createNodes 1.573s
2020-10-08 22:59:10 |

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

2020-10-08 22:59:10 | ------------------------------------

2020-10-08 22:59:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cda3b113-8383-4caf-9cf6-2c8138ad975e</title></pubsub></data>

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

2020-10-08 22:59:12 | [Mutex] waiting for: [received:nodes:fbf18fbe-6810-4eeb-85d6-471d954f43da:localhost]

2020-10-08 22:59:12 | [Mutex] received everything.

2020-10-08 22:59:12 | [Mutex] isItemNotified: received:node:fbf18fbe-6810-4eeb-85d6-471d954f43da:localhost:node-cda3b113-8383-4caf-9cf6-2c8138ad975e:Node cda3b113-8383-4caf-9cf6-2c8138ad975e :: true

createSubnodes 1.027s
2020-10-08 22:59:12 |

2020-10-08 22:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:12 | ------------------------------------

2020-10-08 22:59:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b0983a7c-e8c9-4c6d-bcdc-954c700b0597</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b0983a7c-e8c9-4c6d-bcdc-954c700b0597</title></pubsub></data>

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

2020-10-08 22:59:13 | [Mutex] waiting for: [received:nodes:c0a31573-29b4-41a0-b46f-dd61a3f9914d:localhost]

2020-10-08 22:59:13 | [Mutex] received everything.

2020-10-08 22:59:13 | [Mutex] isItemNotified: received:node:c0a31573-29b4-41a0-b46f-dd61a3f9914d:localhost:node-b0983a7c-e8c9-4c6d-bcdc-954c700b0597:Node b0983a7c-e8c9-4c6d-bcdc-954c700b0597 :: true

deleteNodes 1.024s
2020-10-08 22:59:19 |

2020-10-08 22:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:19 | ------------------------------------

2020-10-08 22:59:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b0983a7c-e8c9-4c6d-bcdc-954c700b0597</node></data>

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

2020-10-08 22:59:20 | [Mutex] waiting for: [received:nodes:469b0785-84bd-4e28-a219-7ada2b5b7e99:localhost]

2020-10-08 22:59:20 | [Mutex] waiting for: [received:nodes:469b0785-84bd-4e28-a219-7ada2b5b7e99:localhost]

2020-10-08 22:59:20 | [Mutex] received everything.

2020-10-08 22:59:20 | [Mutex] isItemNotified: received:node:469b0785-84bd-4e28-a219-7ada2b5b7e99:localhost:node-b0983a7c-e8c9-4c6d-bcdc-954c700b0597:Node b0983a7c-e8c9-4c6d-bcdc-954c700b0597 :: false

deleteSubnodes 1.170s
2020-10-08 22:59:17 |

2020-10-08 22:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:17 | ------------------------------------

2020-10-08 22:59:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</node></data>

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

2020-10-08 22:59:19 | [Mutex] waiting for: [received:nodes:faaf6e71-dd80-4313-b550-d408c89252d4:localhost]

2020-10-08 22:59:19 | [Mutex] received everything.

2020-10-08 22:59:19 | [Mutex] isItemNotified: received:node:faaf6e71-dd80-4313-b550-d408c89252d4:localhost:node-cda3b113-8383-4caf-9cf6-2c8138ad975e:Node cda3b113-8383-4caf-9cf6-2c8138ad975e :: false

2020-10-08 22:59:19 | [Mutex] waiting for: [received:nodes:e87820a2-62eb-4b61-9c6b-7f81711f5b68:localhost]

2020-10-08 22:59:19 | [Mutex] received everything.

2020-10-08 22:59:19 | [Mutex] isItemNotified: received:node:e87820a2-62eb-4b61-9c6b-7f81711f5b68:localhost:node-cda3b113-8383-4caf-9cf6-2c8138ad975e:Node cda3b113-8383-4caf-9cf6-2c8138ad975e :: false

publishItemsToNodes 0.232s
2020-10-08 22:59:15 |

2020-10-08 22:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:15 | ------------------------------------

2020-10-08 22:59:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</node><item-id>item-34710f40-d5d2-47f1-a165-547fd9f5d31f</item-id><entry><test>item-34710f40-d5d2-47f1-a165-547fd9f5d31f</test></entry></data>

2020-10-08 22:59:15 | 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-34710f40-d5d2-47f1-a165-547fd9f5d31f</value></item-id></result>

2020-10-08 22:59:15 | [Mutex] received everything.

2020-10-08 22:59:15 | [Mutex] isItemNotified: published:item:notifieditem-34710f40-d5d2-47f1-a165-547fd9f5d31f:admin@test-domain.com :: true

retractItemsFromNodes 0.225s
2020-10-08 22:59:16 |

2020-10-08 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:16 | ------------------------------------

2020-10-08 22:59:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</node><item-id>item-34710f40-d5d2-47f1-a165-547fd9f5d31f</item-id></data>

2020-10-08 22:59:16 | 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-34710f40-d5d2-47f1-a165-547fd9f5d31f</value></item-id></result>

2020-10-08 22:59:16 | [Mutex] waiting for: [retracted:item:notifieditem-34710f40-d5d2-47f1-a165-547fd9f5d31f:admin@test-domain.com]

2020-10-08 22:59:16 | [Mutex] received everything.

2020-10-08 22:59:16 | [Mutex] isItemNotified: retracted:item:notifieditem-34710f40-d5d2-47f1-a165-547fd9f5d31f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.318s
2020-10-08 22:59:15 |

2020-10-08 22:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:15 | ------------------------------------

2020-10-08 22:59:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</node><item-id>item-34710f40-d5d2-47f1-a165-547fd9f5d31f</item-id></data>

2020-10-08 22:59:16 | 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-cda3b113-8383-4caf-9cf6-2c8138ad975e</value></node><item-id type="text-single" label="Item ID"><value>item-34710f40-d5d2-47f1-a165-547fd9f5d31f</value></item-id><item type="text-multi" label="Item"><value><item id="item-34710f40-d5d2-47f1-a165-547fd9f5d31f"><test>item-34710f40-d5d2-47f1-a165-547fd9f5d31f</test></item></value></item></result>

2020-10-08 22:59:16 | [Mutex] notify: [retrieved:item:item-34710f40-d5d2-47f1-a165-547fd9f5d31f:payload-matches:true:localhost]

2020-10-08 22:59:16 | [Mutex] received everything.

2020-10-08 22:59:16 | [Mutex] isItemNotified: retrieved:item:item-34710f40-d5d2-47f1-a165-547fd9f5d31f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-10-08 22:59:16 |

2020-10-08 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:16 | ------------------------------------

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

2020-10-08 22:59:16 | 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-b0983a7c-e8c9-4c6d-bcdc-954c700b0597</value><value>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-08 22:59:16 |

2020-10-08 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:16 | ------------------------------------

2020-10-08 22:59:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cda3b113-8383-4caf-9cf6-2c8138ad975e)</node-pattern></data>

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

subscribeNodes 1.135s
2020-10-08 22:59:14 |

2020-10-08 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:14 | ------------------------------------

2020-10-08 22:59:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.389s
2020-10-08 22:59:16 |

2020-10-08 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:59:16 | ------------------------------------

2020-10-08 22:59:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cda3b113-8383-4caf-9cf6-2c8138ad975e</node><jids><value>admin@test-domain.com</value></jids></data>

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