It's all about the answers!

Ask a question

Query for getting all the tescase in the RQM


0
1
Preetam Sikdar (61316) | asked Apr 30 '13, 8:00 a.m.
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.
How can we parameterize the query to get all test cases in the system which has more than 50 in real time .

Comments
Preetam Sikdar commented Apr 30 '13, 8:00 a.m.

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.

How can we parameterize the query to get all test cases in the system which has more than 50 in real time .

One answer



permanent link
Ara Masrof (3.2k15) | answered Apr 30 '13, 8:09 a.m.
JAZZ DEVELOPER
 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 (  com.ibm.rqm.integration.service.internal.IntegrationService ) advanced server configuration property (see Configuring advanced properties in the Collaborative Lifecycle Management Online Help):

  • Max Feed Entries/Page
Note: The links to other pages in a feed cannot be pasted directly into a browser to get that page. This is because the link contains a query segment that looks something like this:  ?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 (  com.ibm.rqm.integration.service.internal.IntegrationService ) advanced server configuration property (see Configuring advanced properties in the Collaborative Lifecycle Management Online Help):

  • Format XML

Your answer


Register or to post 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.