Unable to GET all the test plans using the REST API
Hi,
I am trying get all the test plans that are stored for our project in RQM using the REST API. However i am able to populate only first 17 pages off the 90 odd pages that i have.
https://<.......>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectName>/testplan
Please let me know if the above query i am using is correct. If so then how would i be able to get the rest of the testplan details.
I want to create a XML dump of all the test plans for our project.
One answer
A couple of comments:
-See https://jazz.net/wiki/bin/view/Main/RqmApi#Feeds for an explanation on feed paging.
-Ensure the '&' characters are not URL-encoded in the next feed page URL.
-You can use the RQM API Utility (https://jazz.net/wiki/bin/view/Main/RqmApi#RQM_API_Utility) to read all <resource type> resources and outputs their XML representation in an XML feed (ATOM XML schema) to the resources file or console (see the readAll<resource type>Resources command).
-See https://jazz.net/wiki/bin/view/Main/RqmApi#Feeds for an explanation on feed paging.
-Ensure the '&' characters are not URL-encoded in the next feed page URL.
-You can use the RQM API Utility (https://jazz.net/wiki/bin/view/Main/RqmApi#RQM_API_Utility) to read all <resource type> resources and outputs their XML representation in an XML feed (ATOM XML schema) to the resources file or console (see the readAll<resource type>Resources command).
Comments
Donald Nong
Feb 01 '16, 5:50 p.m.What do you mean "17 pages off the 90 odd pages"? What happened when you tried to fetch the 18th pages?
Jigar Shah
Feb 01 '16, 11:58 p.m.Hi,
Donald Nong
Feb 01 '16, 11:59 p.m.The content is all messed up. Do you mean that when you step through to the 17th page, the "next" tag does not contain the link to the 18th page?