RPE RQM ETM: REST API for Single Test Case XML , Config Managed
Hi, I'm trying to use the below URI to retrieve the XML for a single test case so I can explore the data in the XML data source to help me build a template. However, when I paste this into my browser, I'm just redirected to the test case in the WebUI instead of receiving the XML?
Accepted answer
Hi Glyn,
2 other answers
For reading (making GET request on) resource URL (single resource), you cannot use browser. You can either use a REST Client or use "Preview Data..." option in RPE.
While using RESTClient, you can either add Configuration-Context header or append oslc_config.context parameter to the URL as in
https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/testcase/urn:com.ibm.rqm:testcase:<id>?oslc_config.context=https://<server>:<port>/gc/configuration/<id>
Comments
Brett Bohnn
Oct 02 '20, 9:52 a.m.Here is a screen shot doing a GET on a test case URL using the same abbreviate=false and configuration context. As you said, pasting to the browser just resolves to the test case but the REST client will return the XML.