It's all about the answers!

Ask a question

Not able to read Execution variable when added in RQM from Poster client


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

HI ,

When we add execution variable in one of the step in testscript and fetch details using poster client , then we get error as Bad request -400. Please provide steps to fetch details of testscript which has execution variable. Without execution variable present in step we are able to get all details of test scripts.


Comments
Paul Slauenwhite commented Jan 22 '15, 8:40 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Can you provide your GET request URL and response content?

Accepted answer


permanent link
Ara Masrof (3.2k15) | answered Jan 22 '15, 9:19 a.m.
JAZZ DEVELOPER

You should be able to use the standard request for a test script to obtain the XML which will include the an execution variable (if one is included in the Manual Test script)

For example

GET:

https://<HOST>:<PORT>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Project Area>/testscript/urn:com.ibm.rqm:testscript:<ID>

This is how the Manual Test Script looks within the GUI

Screenshot



Value in the XML returned by Poster

<ns2:scripttype>com.ibm.rqm.planning.common.scripttype.manual</ns2:scripttype><ns2:variables><ns2:variable><ns2:name>My Exe varible</ns2:name><ns2:value>Value 12345</ns2:value></ns2:variable></ns2:variables><ns2:includeBuiltInVars>false</ns2:includeBuiltInVars><ns2:steps><ns9:step ns1:id="_nSLnoqI-EeS8dKZqHgA8QA" type="execution" stepIndex="1">

Nilesh Bawalekar selected this answer as the correct answer

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.