What is the correct URL for selecting certain fields of an executionresult that is a part of a particular test plan?
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
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
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)