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

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

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.

0 votes

Comments

Can you provide your GET request URL and response content?


Accepted answer

Permanent link

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

0 votes

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,938

Question asked: Jan 22 '15, 7:30 a.m.

Question was seen: 2,924 times

Last updated: Jan 22 '15, 9:19 a.m.

Confirmation Cancel Confirm