RPE - RQM - 6.0.6.1 - Test Cases Missing from REST API Request Query
Using the
https://[HOST]/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/[PROJECT]/testcase?abbreviate=false&oslc_config.context=[GLOBAL CONFIG]
REST API request, the request returns a list of test cases, but it seems there is only a partial list and some test cases are missing from the returned results. Please advise?
Accepted answer
Hi Glyn,
When there are more no of test cases or test artifacts on the server, the paging strategy is used. Please check the returned XML feed, it should have few links with content rel="self" or rel="next" or rel="last" with href for the appropriate page.
Something like
<link rel="next" href="https://[HOST]/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/[PROJECT]/testcase?amp%3Btoken=_ut9xAAO9Eeu0z75CNbq_GQ&abbreviate=false&amp%3Boslc_config.context=[GLOBAL_CONFIG]&amp%3Bpage=1&token=_qOkYEAO-Eeu0z75CNbq_GQ&page=1"/>
Thanks,
Comments
Thanks, I increased the number of artifacts per page to a number larger than the project and this removed the need for paging.
You can note that RPE automatically handles paging. Though you see only 50 (or whatever number of artifacts per page) artifacts, the output generated by RPE will contain all artifacts.