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

RQM executionresult Rest API : Not able to get all the pages

Hello All,

Need your help and suggestions please. I am trying to extract All the 27,000+ Test Execution Results along with Test Steps from RQM to XML (Plan is to later parse the extracted xml data and then use that data to import into Jira). I am using the switch "abbreviate=false" which is doing the trick. BUT, it is extracting only the first 2 pages out of 500+ pages.
I tried to use the switch -Xmx1024m but thats not doing anything.I am trying with RQMUrlUtility and Browser's RESTCLIENT and both are having the same issue.

Below is the link/code I use
java -Dcom.ibm.team.repository.transport.client.protocol="TLSv1.2" -jar RQMUrlUtility.jar -command GET -user USER -password PASSWORD -filepath C:\Users\test\DownLoad_XML.txt -url https://my.localhost/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/my_pa_+%28Quality+Management%29/executionresult?abbreviate=false

I am fine if there is a way to extract the data in smaller chunks or with one shot.
Please suggest ways.

Thanks

Venkatesh Prasad

0 votes


Accepted answer

Permanent link

 See:

Section: Feeds and Advanced Properties 

"Max Feed Entries/Page: (range: 1 - 512, default: 50) The size of a 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). Note, a feed page size more than the maximum of 512 is rounded down to 512. "


 

Venkatesh Prasad selected this answer as the correct answer

0 votes


One other answer

Permanent link
Thank you very much Ara. Somehow I had skipped this section why going through the link.
But, I am still not able to see the next page with the feed link that is available in the code. For example, I get this code.

<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">executionresult ATOM feed for project area Test_PA (Quality Management)</title><id>https://clm.rat.itshost.se/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test_PA+%28Quality+Management%29/executionresult</id><link href="https://clm.rat.itshost.se/qm/web/console/" rel="alternate"/><link rel="self" href="https://clm.rat.itshost.se/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test_PA+%28Quality+Management%29/executionresult?abbreviate=false&amp;token=_Lpqs8DEPEemK2tHX5vJt2g&amp;page=0"/><link rel="next" href="https://clm.rat.itshost.se/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test_PA+%28Quality+Management%29/executionresult?abbreviate=false&amp;token=_Lpqs8DEPEemK2tHX5vJt2g&amp;page=1"/><link rel="last" href="https://clm.rat.itshost.se/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Test_PA+%28Quality+Management%29/executionresult?abbreviate=false&amp;token=_Lpqs8DEPEemK2tHX5vJt2g&amp;page=553"/>

So, if I enter the link for page 1 in the browser (link taken from the above code), I get the same results as page 0

Please could you let me know how will I navigate to the next few pages.

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
× 10,938
× 479
× 218

Question asked: Feb 14 '19, 9:08 a.m.

Question was seen: 3,446 times

Last updated: Feb 15 '19, 6:19 a.m.

Confirmation Cancel Confirm