How pagination in RQM REST API works? The URL to fetch all the test plans does not return all the test plans
Hi all,
My requirement is to fetch all the test plans from the RQM using below URL:
https://<serverurl>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/testplan?fields=feed/entry/content/testplan/*
But it only returns few test plans near about 50 but more than 400 test plans are present, How can I get all the test plans using REST API?
One answer
You can go to https://server:port/qm/admin -> Advanced properties and modify the value for Max Feed Entries/Page. The default value is 50 (that can be set to a maximum value of 1000).
Note that the RQM Reportable REST API does not support page size parameter.
When a feed spans multiple pages, a link to the next page is provided in the current page (see ATOM paging specification).