Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.
How can we parameterize the query to get all test cases in the system which has more than 50 in real time .

1

0 votes

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.

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 45

Question asked: Apr 30 '13, 8:00 a.m.

Question was seen: 3,882 times

Last updated: Apr 30 '13, 8:09 a.m.

Confirmation Cancel Confirm