It's all about the answers!

Ask a question

How do you get the steps and expected results for a single test script?

Jay Toogood (1) | asked Oct 09 '21, 12:16 p.m.

Using the REST API for RQM what is the syntax to get the fields  from a single test script?

Ralph Schoon commented Oct 11 '21, 2:39 a.m.

RQM 3.x is way out of support. The documentation for the Reportable REST API can be found here: 

RQM also supports an OSLC based API. I can't provide hints for that. 

One answer

permanent link
Jay Toogood (1) | answered Oct 11 '21, 8:04 a.m.

 Tried to comment on Ralphs Response:

Thanks Ralph, Yep is long passed up, however it is what we have for now.

I have been digging thru the document you pointed to along with this one. <o:p> </o:p> <o:p> </o:p>

And I am getting closer but not just there yet, and haven't yet found where the steps are located in  the backend DB.  The syntax and the settings for the Advanced options are not so straight forward as I had thought. <o:p> </o:p>

  • The test script feed can be used to download up to 512 test scripts per page of XML with an HTTP GET using the REST Client. The number of test scripts per page of XML is dependent on the value of the  Max Feed Entries/Page parameter in RQM Administration > Advanced Properties >  RQM Integration Component. The default value is 50.  <o:p> </o:p>
  • The test script feed URL documented here will be used with the abbreviate parameter documented here to ensure that the test script steps are include in the feed. <o:p> </o:p>
  • Below is an example test script feed using abbreviate=false to return test scripts steps in the XML.  Server, port and context root are part of the RQM public URI. "RQMProject" is the RQM Project area alias which can be found in the project feed. <o:p> </o:p>

test script feed URL: <o:p> </o:p>

https://<server>:<port>/<context root>/service/ <o:p> </o:p>

project feed URL to get project alias: <o:p> </o:p>

https://<server>:<port>/<context root>/service/ <o:p> </o:p>

Thanks <o:p> </o:p>

Ralph Schoon commented Oct 11 '21, 9:21 a.m. | edited Oct 11 '21, 9:51 a.m.


looking at the database is not a good and valid idea. You will likely not get the data there. I have not played with the RQM API, but there are the following options, I believe.

  1. The reportable REST API, I tried to provide a link. I do not know what details are exposed.
  2. The OSLC API see link below.
  3. Some of the tools at the end of e.g. the URL Utility, not sure the downloads are still available for your version.
  4. Reporting
The reportable REST API is the easiest to use. 

Sorry, all I can do at the moment.

Ralph Schoon commented Oct 11 '21, 9:26 a.m.

The URI's you post up there are all internal API. If you use the development tools in the browser, you will see them and you could use them. It is not supported,..... Who cares, your version is no longer supported anyway.

Jay Toogood commented Oct 11 '21, 9:41 a.m.


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.