Query for getting all the tescase in the RQM
We are using this query :-
https://(host:port)/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/(RQM Project Area Name)/testcase to get all the Test Cases . But we are getting only 50 Test Cases. |
One answer
Preetam,
Take a quick look at the 'Feeds' topic in the RQM API reference (As seen below)
FEEDS
Resources can be read (GET) individually (see <resourceUrl>) or as a feed of similar typed resources (see <feedUrl>).
The size of the feed page is variable. When a feed spans multiple pages, a link to the next page is provided in the current page (see ATOM paging specification). By default, the feed page size is set to 50 resources, but it can be modified to a maximum of 1000 resources. To set the feed page size, set the following RQM Integration Component (
?token=_C8DasVZWEeG429XX9GztHA%26page=1
where the &'s are escaped (e.g. %26). To use the link the &'s must be unescaped by turning all instances of "%26" to "&". That would make the query segment look something like:
?token=_C8DasVZWEeG429XX9GztHA&page=1
XML feeds may be formatted to improve readability. By default, XML formatting is disabled. To enable XML formatted, enable the following RQM Integration Component (
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
We are using this query :-
https://(host:port)/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/(RQM Project Area Name)/testcase
to get all the Test Cases .
But we are getting only 50 Test Cases.