It's all about the answers!

Ask a question

Unable to fetch all the Test plans in one shot


0
1
Dev K (512833) | asked Apr 12 '13, 8:28 a.m.
edited Apr 12 '13, 8:37 a.m.
RQM server contains 237 test plans and we want to get all the test plans in one shot because of performance issue. But its showing the results in 5 pages. like 50,50,50,50 and 37.
any help would be greatly appreciated.

Thanks,


Comments
1
Paul Slauenwhite commented Apr 15 '13, 8:49 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

The feed page size ( Max Feed Entries/Page ) defaults to 50.  See https://jazz.net/wiki/bin/view/Main/RqmApi#Feeds.


Dev K commented Apr 16 '13, 6:56 a.m.

This link is really helpful. .Thank You Paul ! 





One answer



permanent link
Ara Masrof (3.2k15) | answered Apr 12 '13, 8:51 a.m.
JAZZ DEVELOPER
 Dev,
When you say 'we want to get all the test plans in one shot' are you referring to the 'Browse Test Plan ' view in the UI or via an REST API call
If you are in UI, you can set the 'Items per page' drop down to 'ALL' 

Ara



Comments
Dev K commented Apr 15 '13, 2:59 a.m. | edited Apr 15 '13, 3:03 a.m.

 Hi Ara, 


Thanks for your reply.

I am trying to fetch the Test plan ids using the code and not from UI. 

RQMConnector.RQMConnectorResponse response = connectionObj.get(url);

where  get() is the customize method we are using to get the request from the RQM Server  and url is the baseUrl/testplan/testplanIds.

Your answer


Register or to post your answer.