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

Need to fetch more than 1500 test suites from RQM using OSLC query in XML format

 

Issue here is, we are able to fetch only 512 test suites with below query.

https://%s/jazz/oslc_qm/contexts/%s/resources/%s?oslc.select=oslc:shortId

How can we get all the records using Index and pagination like we do it in RTC(in below snippets) ? 

below snippet shows how it works in RTC.

Request:- 
 
+and+dcterms%3Amodified%3C%3D%222020-06-02T06:20:46.340Z%22&oslc.select+=+dcterms%3Aidentifier


Method:- Get
Headers:- 
            authorization: Basic --------------------
            accept: application/rdf+xml
            oslc-core-version: 2.0

Response :- 
    oslc.pageSize=50&_resultToken=_4PCWALFoEeqmqL20-Czr4Q&_startIndex=0">
    _resultToken=_4PCWALFoEeqmqL20-Czr4Q&_startIndex=50"/>
    <dcterms:title>Work Items</dcterms:title>
    <oslc:totalCount>956</oslc:totalCount>
    <rdf:type rdf:resource="http://open-services.net/ns/core#ResponseInfo"/>
  </rdf:Description>

1

0 votes



One answer

Permanent link

Sanjeet,


Please add the following parameters for paging and using a page size (if you want to use other minor than 512):
rqm_qm.pageNum
oslc.pageSize

Additionally you can use query token if you want:
rqm_qm.queryToken


regards,
      napoles

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

Question asked: Jun 18 '20, 10:24 a.m.

Question was seen: 1,439 times

Last updated: Jun 23 '20, 11:48 a.m.

Confirmation Cancel Confirm