It's all about the answers!

Ask a question

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

Venkatesh Prasad (21721) | asked Feb 14 '19, 9:08 a.m.
edited Feb 14 '19, 10:35 a.m.
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"TLSv1.2" -jar RQMUrlUtility.jar -command GET -user USER -password PASSWORD -filepath C:\Users\test\DownLoad_XML.txt -url https://my.localhost/qm/service/

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


Venkatesh Prasad

Accepted answer

permanent link
Ara Masrof (3.2k15) | answered Feb 14 '19, 11:30 a.m.


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

One other answer

permanent link
Venkatesh Prasad (21721) | answered Feb 15 '19, 6:19 a.m.
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=""><title type="text">executionresult ATOM feed for project area Test_PA (Quality Management)</title><id></id><link href="" rel="alternate"/><link rel="self" href=";token=_Lpqs8DEPEemK2tHX5vJt2g&amp;page=0"/><link rel="next" href=";token=_Lpqs8DEPEemK2tHX5vJt2g&amp;page=1"/><link rel="last" href=";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.

Your answer

Register or to post your answer.