RQM API REST calls against saved queries
One answer
Unfortunately, no. However, you can use fields filtering/selection (see https://jazz.net/wiki/bin/view/Main/RqmApi#fields) to prune your response. Note, responses are paged with a max page size of 512 (see https://jazz.net/wiki/bin/view/Main/RqmApi#Advanced_Properties).
Comments
Paul - How can a REST call to RQM return results that are greater than 1000 entries if the maxed cap size is 1000?
Hi Kellen,
In theory the RQM Reportable REST API should not return responses with more than the 'Max Feed Entries/Page' Advanced Property (see https://jazz.net/wiki/bin/view/Main/RqmApi#Advanced_Properties). If so, please open a RQM defect.
Thanks for the response Paul. I have a follow up question. We commonly have thousands of execution results and want to do some reporting on those. What is the recommended way to do that if the REST calls do not allow over 1000 entries to be returned?
Hi Kellen,
I would suggest using fields filtering/selection (see https://jazz.net/wiki/bin/view/Main/RqmApi#fields) to prune your response as much as possible. Reporting will handling paging through the response pages.
Therefore, we would not be able to view all the execution results if we want to list all execution results for a test plan which has over 1000 results. Is this correct?
No. You can GET the executionresult feed for a particular testplan but will have to page through the response.
For example:
GET https://<host>:<port>/<context root>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project area alias>/executionresult?fields=feed/entry/content/executionresult/(testplan[@href='<test plan resource URL>']|*)