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

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

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

0 votes

Comments

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

 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>

0 votes

Comments

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.

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.

 Thanks

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: Oct 09 '21, 12:16 p.m.

Question was seen: 1,030 times

Last updated: Oct 11 '21, 9:51 a.m.

Confirmation Cancel Confirm