Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

1 vote

Comments

 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

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

0 votes

Comments

I tried updating step description ,expected result, script title, etc still no changes were seen in RQM using Poster (Put method).

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Jan 21 '15, 7:08 a.m.

Question was seen: 2,928 times

Last updated: Jan 22 '15, 4:29 a.m.

Confirmation Cancel Confirm