It's all about the answers!

Ask a question

What is the correct URL for selecting certain fields of an executionresult that is a part of a particular test plan?


Timothy Distel (73148) | asked Mar 29 '19, 10:40 a.m.

 Hello,


I am using CLM Suite 6.0.6.

In RPE, I am trying to put together a URL using the fields parameter to retrieve the testcase, testscript, defect, and state data for the executionresult artifacts of a particular test plan. Using the RQM API Fields Examples this is what I've put together:

https://<host>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectareaid>/executionworkitem?fields=feed/entry/content/excecutionworkitem|testplan[@href=' https://<host>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectareaid>/testplan/urn:com.ibm.rqm:testplan:164']/(testcase|testscript|state)

When I go to preview, I get this error:

Error is Can not access to the OAuthentication URL.
Response message: Bad Request: Error400: AQXIN5014E The call to the Rational Quality Manager Reportable REST API cont
Request URL:
Response code: 400

The data source type is XML for an RQM Feed. Is this type of request not supported for this type of data source? I feel as though I'm missing something obvious. Any help would be greatly appreciated.

2 answers



permanent link
Subhajit Bhuiya (6222) | answered Apr 01 '19, 6:19 a.m.
JAZZ DEVELOPER

 Here is the proper url ->


https://<host>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/executionworkitem?fields=feed/entry/content/executionworkitem/(testplan[@href="https://<host>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:2"]|testcase|testscript)

where JKE+Banking+%28Quality+Management%29 is the project area id


permanent link
Subhajit Bhuiya (6222) | answered Apr 01 '19, 6:21 a.m.
JAZZ DEVELOPER

 For execution result, here is the url


https://<host>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/executionresult?fields=feed/entry/content/executionresult/(testplan[@href="https://<host>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:2"]|testcase|testscript|state)

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.