How pagination in RQM REST API works? The URL to fetch all the test plans does not return all the test plans
![](http://jazz.net/_images/myphoto/bb8b9c6b93d7ea22def8755d8bb924c2.jpg)
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
![](http://jazz.net/_images/myphoto/bb8b9c6b93d7ea22def8755d8bb924c2.jpg)
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
![](http://jazz.net/_images/myphoto/bb8b9c6b93d7ea22def8755d8bb924c2.jpg)
@Subramanya Prasad Pilar thanks for your answer but when try to fetch next page data using "next" feed entry it returns same data
![](http://jazz.net/_images/myphoto/dbe94a27c372fd9d8fa482d274c8da80.jpg)
Does the next link contains page=<pageNumber> parameter?
![](http://jazz.net/_images/myphoto/bb8b9c6b93d7ea22def8755d8bb924c2.jpg)
@Subramanya Prasad Pilar thanks for the reply below is the my "next" page URL but is is not working the response returns same values