It's all about the answers!

Ask a question

Question about RQM data source urls

Joe Gariano (882937) | asked Jul 18 '13, 5:53 p.m.
I currently have an RPE template that will print out a table of test cases for a given RQM URL.  I have it working if I supply the URL for all the test cases in the RQM project.  For example, in my document specification that goes along with that template, I configure the data source to be:

I have another RPE template, that prints out information related to a test suite.  To get that one to work, I configure the data source from within the document specification to be the URL of the test suite.  Within that template, I access the test cases of the test suite but using a query for the testsuite/suiteelement/suiteelements/testcase.

What I would like to do, is dynamically import the template that already prints out the test case table (template #1) within the test suite template (template #2). The problem, I don't know how to get the URL for the feed of test cases in a test suite so that I can dynamically configure the URL for the imported table.

In other words, for something like a test suite that includes its own list of other things like test cases, can you get the URL for that list of things so that you can use it in the same way you'd use the feed of things for an overall project?


Accepted answer

permanent link
Antoinette Iacobo (650412) | answered Jul 22 '13, 12:57 p.m.
 Joe, could you try this filter to give you all the test cases in test suite X where X is the ID of the test suite:    


According to the API, you should be able to filter on this: assuming the supported RQM Server version. 
Joe Gariano selected this answer as the correct answer

Joe Gariano commented Jul 22 '13, 8:00 p.m. | edited Jul 22 '13, 8:00 p.m.

Brilliant, thanks Antionette!  That is exactly what I was looking for.  I was unaware of the "?fields" parameter... very powerful.


Your answer

Register or to post your answer.