It's all about the answers!

Ask a question

REST API Query: How to edit the "includeBuiltInVars" in a test script using RQMURLUtility

Preetham Paulose (133) | asked Oct 13 '15, 5:30 p.m.
edited Oct 14 '15, 11:12 a.m.
I'm able to connect to RQM using the RQMURLUtility and post GET requests. I was able to access specific test script in RQM using query. 
I'm trying to set the "includeBuiltInVars" for the specific remotescript, Can you help me with a sample PUT query that can be used to set the "includeBuiltInVars", or any of the item so I can use it as a reference in creating the query.

2 answers

permanent link
Donald Nong (14.4k213) | answered Oct 13 '15, 7:29 p.m.
You will need to use the PUT operation to update an existing artifact. Updating the "includeBuiltInVars" attribute should be no different to any other attributes. Take a look at the below article for some basic instructions on this topic.

The RQMRULUtility is just a code sample and it does the same job as other REST clients.

For more information about the RQM reportable REST API, check out this Wiki.

permanent link
Preetham Paulose (133) | answered Oct 14 '15, 11:48 a.m.
 I was able to update the "includeBuiltInVars" by passing the complete XLM with the "<ns2:includeBuiltInVars>" set as "true" to the RQMUrlPUT

Your answer

Register or to post your answer.