It's all about the answers!

Ask a question

Steps to update testscript/steps in RQM using Poster.


Nilesh Bawalekar (221117) | asked Jan 21 '15, 7:08 a.m.

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.


Comments
Sunil Kumar R commented Jan 22 '15, 4:29 a.m.
JAZZ DEVELOPER

 Hi Nilesh, here is a quick video which covers the steps involved for refernce: https://www.youtube.com/watch?v=QDqW-Hrx_S0

Accepted answer


permanent link
Ara Masrof (3.2k15) | answered Jan 21 '15, 7:34 a.m.
JAZZ DEVELOPER

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


Register or to post 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.