It's all about the answers!

Ask a question

RPE - How to get ExecutionResults corresponding to TestCase from RQM

Prasun Roy (1674813) | asked Sep 28 '12, 12:32 p.m.
edited Sep 28 '12, 12:44 p.m.
 I am trying to generate a report from RPE that list all my TestCases and their corresponding ExecutionResults, found a good article at

But even after following all the steps I am unable to get the Results.

At the topmost level I added a Data Source Configuration element with Data Source pointing to Feed.xsd & dynamic URI of 
https://<rqm server>:9443/qm/service/<project name>/testcase?fields=feed/entry/content/testcase/*

then added one more Data Source Configuration element with a different Data Source pointing to Feed.xsd & dynamic URI of 
https://<rqm server>:9443/qm/service/<project name>/executionresult?fields=feed/entry/content/executionresult/testcase/*

also tried with 
https://<rqm server>:9443/qm/service/<project name>/executionresult?fields=feed/entry/content/testcase/*

but still not able to get the Results, the report only lists the TestCases.

Is there any other way to get the ExecutionResults. 

Accepted answer

permanent link
Robert Rassmann (9923) | answered Oct 02 '12, 2:34 p.m.
What you want to do is get a list of the executionResults filtered by the testcase.  For a single testcase it will look something like:


where would be the ID if the testcase.

I'm not sure if the API supports filtering by multiple testcases (it may be worth trying), so you may have to iterate over the set of testcases that you want to report on.
Prasun Roy selected this answer as the correct answer

2 other answers

permanent link
Suraj Amasebail (1111) | answered Jul 16 '13, 2:25 p.m.

We are trying to build a URL to get the test results updated after certain dates and while using the following URL we get error "Error 501: SRVE0295E: Error reported: 501". Any help is appreciated


permanent link
Suraj Amasebail (1111) | answered Jul 16 '13, 3:04 p.m.
 I tried again with following URI and it worked for me. I could able to get the details of the result by this URI. Wanted to check if this is the right approach to get the results for a particular date and time. ( I got the exact date and time after running https://<SERVERNAME>/qm/service/<PROJECTNAME>/executionresult)


But if I wanted the list for the range of dates how can I achieve the same using REST APIs? What's the syntax for the https://<SERVERNAME>/qm/service/<PROJECTNAME>/executionresult?fields=feed/entry/content/executionresult[updated=<START DATE> TO <END DATE>] ?

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.