It's all about the answers!

Ask a question

How pagination in RQM REST API works? The URL to fetch all the test plans does not return all the test plans

Andrew Ciaz (493) | asked Nov 24 '20, 12:44 a.m.

 Hi all,

My requirement is to fetch all the test plans from the RQM using below URL:


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

permanent link
Subramanya Prasad Pilar (4.0k14) | answered Nov 24 '20, 12:56 p.m.

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).

Andrew Ciaz commented Dec 09 '20, 9:54 a.m.

@Subramanya Prasad Pilar thanks for your answer but when try to fetch next page data using "next" feed entry it returns same data

Subramanya Prasad Pilar commented Dec 09 '20, 12:27 p.m. | edited Dec 09 '20, 12:28 p.m.

Does the next link contains page=<pageNumber> parameter?

Andrew Ciaz commented Dec 12 '20, 1:24 a.m.

 @Subramanya Prasad Pilar thanks for the reply below is the my "next" page URL but is is not working the response returns same values

Your answer

Register or to post your answer.