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 :-
<rdf:Description rdf:about="https://instance.com/ccm/oslc/contexts/_0vy3oAqzEeaWhOLFL725Cw/workitems?oslc.select=%20dcterms:identifier&
oslc.pageSize=50&_resultToken=_4PCWALFoEeqmqL20-Czr4Q&_startIndex=0">
<oslc:nextPage rdf:resource="https://instance.com/ccm/oslc/contexts/_0vy3oAqzEeaWhOLFL725Cw/workitems?oslc.select=%20dcterms:identifier&oslc.pageSize=50&
_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>
|
One answer
![]() 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
|
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.