Generated by TestNG with ReportNG at 07:14 PDT on Wednesday 09 September 2020
root@1c7098e4120c / 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.013s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2020-09-09 07:30:41 |

2020-09-09 07:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 07:30:41 | ------------------------------------

2020-09-09 07:30:41 | [Mutex] waiting for: [configured:node:node-79f13ce8-61ad-4eae-9739-1aabf41fe32b:node-d859ab1c-b164-49ef-b1c0-e346838f6e2f]

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

2020-09-09 07:30:41 | [Mutex] isItemNotified: configured:node:node-79f13ce8-61ad-4eae-9739-1aabf41fe32b:node-d859ab1c-b164-49ef-b1c0-e346838f6e2f :: true

2020-09-09 07:30:42 | [Mutex] waiting for: [received:nodes:52ef7f0c-ba2c-40ed-b638-0052780e6e3c:localhost]

2020-09-09 07:30:42 | [Mutex] received everything.

2020-09-09 07:30:42 | [Mutex] isItemNotified: received:node:52ef7f0c-ba2c-40ed-b638-0052780e6e3c:localhost:node-79f13ce8-61ad-4eae-9739-1aabf41fe32b:Node 79f13ce8-61ad-4eae-9739-1aabf41fe32b :: true

2020-09-09 07:30:42 | [Mutex] waiting for: [received:nodes:652ecbe4-2972-4a87-a577-250389e357c2:localhost]

2020-09-09 07:30:42 | [Mutex] waiting for: [received:nodes:652ecbe4-2972-4a87-a577-250389e357c2:localhost]

2020-09-09 07:30:42 | [Mutex] received everything.

2020-09-09 07:30:42 | [Mutex] isItemNotified: received:node:652ecbe4-2972-4a87-a577-250389e357c2:localhost:node-79f13ce8-61ad-4eae-9739-1aabf41fe32b:Node 79f13ce8-61ad-4eae-9739-1aabf41fe32b :: false

createNodes 1.524s
2020-09-09 07:30:38 |

2020-09-09 07:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 07:30:38 | ------------------------------------

2020-09-09 07:30:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 79f13ce8-61ad-4eae-9739-1aabf41fe32b</title></pubsub></data>

2020-09-09 07:30:39 | 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 07:30:40 | [Mutex] waiting for: [received:nodes:2611a2b5-795b-4334-ab61-76434da73690:localhost]

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

2020-09-09 07:30:40 | [Mutex] isItemNotified: received:node:2611a2b5-795b-4334-ab61-76434da73690:localhost:node-79f13ce8-61ad-4eae-9739-1aabf41fe32b:Node 79f13ce8-61ad-4eae-9739-1aabf41fe32b :: true

createSubnodes 1.026s
2020-09-09 07:30:40 |

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

2020-09-09 07:30:40 | ------------------------------------

2020-09-09 07:30:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d859ab1c-b164-49ef-b1c0-e346838f6e2f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d859ab1c-b164-49ef-b1c0-e346838f6e2f</title></pubsub></data>

2020-09-09 07:30:40 | 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 07:30:41 | [Mutex] waiting for: [received:nodes:28e93620-d782-4ef8-b533-aac51cadccc2:localhost]

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

2020-09-09 07:30:41 | [Mutex] isItemNotified: received:node:28e93620-d782-4ef8-b533-aac51cadccc2:localhost:node-d859ab1c-b164-49ef-b1c0-e346838f6e2f:Node d859ab1c-b164-49ef-b1c0-e346838f6e2f :: true

deleteNodes 1.018s
2020-09-09 07:30:46 |

2020-09-09 07:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 07:30:46 | ------------------------------------

2020-09-09 07:30:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d859ab1c-b164-49ef-b1c0-e346838f6e2f</node></data>

2020-09-09 07:30:46 | 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 07:30:47 | [Mutex] waiting for: [received:nodes:22449ebd-c6af-4475-8e37-e7a36acf2290:localhost]

2020-09-09 07:30:47 | [Mutex] received everything.

2020-09-09 07:30:47 | [Mutex] isItemNotified: received:node:22449ebd-c6af-4475-8e37-e7a36acf2290:localhost:node-d859ab1c-b164-49ef-b1c0-e346838f6e2f:Node d859ab1c-b164-49ef-b1c0-e346838f6e2f :: false

deleteSubnodes 1.108s
2020-09-09 07:30:45 |

2020-09-09 07:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 07:30:45 | ------------------------------------

2020-09-09 07:30:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</node></data>

2020-09-09 07:30:45 | 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 07:30:46 | [Mutex] waiting for: [received:nodes:d08e58ff-131f-4d91-a2f7-a480077f453f:localhost]

2020-09-09 07:30:46 | [Mutex] received everything.

2020-09-09 07:30:46 | [Mutex] isItemNotified: received:node:d08e58ff-131f-4d91-a2f7-a480077f453f:localhost:node-79f13ce8-61ad-4eae-9739-1aabf41fe32b:Node 79f13ce8-61ad-4eae-9739-1aabf41fe32b :: false

2020-09-09 07:30:46 | [Mutex] waiting for: [received:nodes:148d2382-65d1-48d9-86be-ff8128ee6fb4:localhost]

2020-09-09 07:30:46 | [Mutex] received everything.

2020-09-09 07:30:46 | [Mutex] isItemNotified: received:node:148d2382-65d1-48d9-86be-ff8128ee6fb4:localhost:node-79f13ce8-61ad-4eae-9739-1aabf41fe32b:Node 79f13ce8-61ad-4eae-9739-1aabf41fe32b :: false

publishItemsToNodes 0.252s
2020-09-09 07:30:43 |

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

2020-09-09 07:30:43 | ------------------------------------

2020-09-09 07:30:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</node><item-id>item-49e05f32-c609-4fd1-bf68-13281d45312f</item-id><entry><test>item-49e05f32-c609-4fd1-bf68-13281d45312f</test></entry></data>

2020-09-09 07:30:43 | 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-49e05f32-c609-4fd1-bf68-13281d45312f</value></item-id></result>

2020-09-09 07:30:43 | [Mutex] waiting for: [published:item:notifieditem-49e05f32-c609-4fd1-bf68-13281d45312f:admin@test-domain.com]

2020-09-09 07:30:43 | [Mutex] received everything.

2020-09-09 07:30:43 | [Mutex] isItemNotified: published:item:notifieditem-49e05f32-c609-4fd1-bf68-13281d45312f:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2020-09-09 07:30:44 |

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

2020-09-09 07:30:44 | ------------------------------------

2020-09-09 07:30:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</node><item-id>item-49e05f32-c609-4fd1-bf68-13281d45312f</item-id></data>

2020-09-09 07:30:44 | 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-49e05f32-c609-4fd1-bf68-13281d45312f</value></item-id></result>

2020-09-09 07:30:44 | [Mutex] received everything.

2020-09-09 07:30:44 | [Mutex] isItemNotified: retracted:item:notifieditem-49e05f32-c609-4fd1-bf68-13281d45312f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2020-09-09 07:30:43 |

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

2020-09-09 07:30:43 | ------------------------------------

2020-09-09 07:30:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</node><item-id>item-49e05f32-c609-4fd1-bf68-13281d45312f</item-id></data>

2020-09-09 07:30:44 | 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-79f13ce8-61ad-4eae-9739-1aabf41fe32b</value></node><item-id label="Item ID" type="text-single"><value>item-49e05f32-c609-4fd1-bf68-13281d45312f</value></item-id><item label="Item" type="text-multi"><value><item id="item-49e05f32-c609-4fd1-bf68-13281d45312f"><test>item-49e05f32-c609-4fd1-bf68-13281d45312f</test></item></value></item></result>

2020-09-09 07:30:44 | [Mutex] notify: [retrieved:item:item-49e05f32-c609-4fd1-bf68-13281d45312f:payload-matches:true:localhost]

2020-09-09 07:30:44 | [Mutex] received everything.

2020-09-09 07:30:44 | [Mutex] isItemNotified: retrieved:item:item-49e05f32-c609-4fd1-bf68-13281d45312f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-09-09 07:30:44 |

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

2020-09-09 07:30:44 | ------------------------------------

2020-09-09 07:30:44 | 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 07:30:44 | 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-d859ab1c-b164-49ef-b1c0-e346838f6e2f</value><value>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-09 07:30:44 |

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

2020-09-09 07:30:44 | ------------------------------------

2020-09-09 07:30:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-79f13ce8-61ad-4eae-9739-1aabf41fe32b)</node-pattern></data>

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

subscribeNodes 1.102s
2020-09-09 07:30:42 |

2020-09-09 07:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 07:30:42 | ------------------------------------

2020-09-09 07:30:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.300s
2020-09-09 07:30:44 |

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

2020-09-09 07:30:44 | ------------------------------------

2020-09-09 07:30:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-79f13ce8-61ad-4eae-9739-1aabf41fe32b</node><jids><value>admin@test-domain.com</value></jids></data>

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