It's all about the answers!

Ask a question

how to use RQMUrlUtility to get more than 50 test artifact records back

jane zhou (1061068) | asked Nov 15 '17, 3:43 p.m.


Hi Someone who may concern,

     We are working on RQM 6.0.3 and RQMUrlUtility with the same version.
     We want to read back content for all test case content back in one project by using RQMUrlUtility.jar
      This is the address for query:
https://[localhost]:9443/qm/service/[project name]/testcase?oslc_config.context=[configuration]
     But we noticed it only return 50 items back. After checking documentation, I noticed this is caused by limitation defined in server side, and max one may be 1000. However we need to get back nearly 20000 back. so increasing max page will not work for us.
     And I noticed in the xml returned, it provide index for the next and last 50 items
 <link rel="self" href=[query link]&page=0"/>
 <link rel="next" href=[query link]&page=1"/>
 <link rel="last" href=[query link]&page=387"/>
     So, I tried to call RQMUrlUtility with link adding "&page=1", but RQMUrlUtility returned the following error:
'page' is not recognized as an internal or external command,operable program or batch file.

      It seems RQMUrlUtiltiy can not recognize "&". And I also tried to use "&amp;" instead of "&" to see whether it cab be recognized, but it still failed.
      However, when I tried to use the link adding"&page=1" on chrome browser, it can work properly, xml can be returned with proper content.

      So, my question is how to get more than 50 items back by using RQMUrlUtility?


Best Regards,
Jane Zhou


2 answers

permanent link
Paul Slauenwhite (8.4k12) | answered Nov 29 '17, 11:08 a.m.

Correct, the RQM Reportable REST API feeds are paged and the page size is controlled by an Advanced Property (see  Each feed page has a unique URL including page number and token request parameters (see  However, the RQM URL Utility does not support request parameters (see 

I would suggest using the readAlltestcaseResources command (see the readme file) in the RQM API Utility (see

permanent link
Hiep Nguyen (131) | answered Feb 26, 11:18 p.m.

 Hello, how we can use RQM API Utility with query condition?

Ralph Schoon commented Feb 27, 3:33 a.m.

If you have a question, please ask your own question. Please do not ask questions as answer to questions others have asked. Put reasonable effort into your question - one sentence is usually not enough. You can take this as a guide:  How should I ask a question in the Forum if I want to receive useful answers?

Your answer

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