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, 12:16 p.m.

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


Comments
Ralph Schoon commented Oct 11, 2:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

RQM 3.x is way out of support. The documentation for the Reportable REST API can be found here: https://jazz.net/wiki/bin/view/Main/RqmApi 

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

One answer



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

 Tried to comment on Ralphs Response:


Thanks Ralph, Yep 3.0.1.3 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>

https://www.ibm.com/support/pages/about-exporting-test-scripts-csv-test-caseall-test-cases-rational-quality-manager-rqm-project-area <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 https://jazz.net/wiki/bin/view/Main/RqmApi#feedUrl_for_interaction_with_a_f will be used with the abbreviate parameter documented here https://jazz.net/wiki/bin/view/Main/RqmApi#abbreviate 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/com.ibm.rqm.integration.service.IIntegrationService/resources/RQMProject/testscript/?abbreviate=false <o:p> </o:p>

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

https://<server>:<port>/<context root>/service/com.ibm.rqm.integration.service.IIntegrationService/projects <o:p> </o:p>

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


Comments
Ralph Schoon commented Oct 11, 9:21 a.m. | edited Oct 11, 9:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Jay,


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 https://jazz.net/downloads/test-management/releases/7.0.2?p=allDownloads 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, 9:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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, 9:41 a.m.

 Thanks

Your answer


Register or to post your answer.