Steps to update testscript/steps in RQM using Poster.
hi, Please provde testscript and steps to update in RQM using Poster client. I am unable to update the testscript. I used Put method to update testscript. |
Accepted answer
You would first need to perform a GET on the resource in question in order to obtain the XML content For example for a Test Script the GET would look something like this https://<HOST>:<PORT>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<PROJECT AREA>/testscript/urn:com.ibm.rqm:testscript:<ID> Be sure to include the Request Header Accept application/xml Once you have the XML, you can modify the data (For example contents of a step) and perform a PUT to the same resource Note: please use the RQM REST API as a guide https://jazz.net/wiki/bin/view/Main/RqmApi
..there may be limitations depending on what you are trying to update within the Test Script Nilesh Bawalekar selected this answer as the correct answer
Comments
Nilesh Bawalekar
commented Jan 22 '15, 12:53 a.m.
I tried updating step description ,expected result, script title, etc still no changes were seen in RQM using Poster (Put method).
Nilesh Bawalekar
commented Jan 22 '15, 4:20 a.m.
i was using "testscript/id" instead of "testscript:id" in below url hence its updating latest testscript record: :/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project" target="_blank"https://<host>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project AREA="">/testscript/urn:com.ibm.rqm:testscript:<id> |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi Nilesh, here is a quick video which covers the steps involved for refernce: https://www.youtube.com/watch?v=QDqW-Hrx_S0