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).
Comments
@Subramanya Prasad Pilar thanks for your answer but when try to fetch next page data using "next" feed entry it returns same data
Does the next link contains page=<pageNumber> parameter?
@Subramanya Prasad Pilar thanks for the reply below is the my "next" page URL but is is not working the response returns same values