It's all about the answers!

Ask a question

How to use RQM queries as RPE data sources

Joe Gariano (883137) | asked Apr 07 '14, 1:59 p.m.
retagged Apr 08 '14, 1:34 p.m. by Erica Tran (1.4k7)
We are currently using CLM 4.0.2.  We have a set of RPE scripts that use as data sources DOORS Next Gen views.  This is helpful because it allows DNG users to configure sets of requirements that a more generic RPE script then processes.  It also has performance benefits from an RPE document generation perspective.

Is there a similar feature for RQM?  We know that we can run queries in RQM to get specific sets of data.  But we don't know if we can use such a query as an RPE data source.

For example, we know how to create a query to get a subset of test case execution results.  And we know how to write an RPE script that prints stuff out for a set of test case execution results.  But we don't know how to tell RPE to only look at the test case execution results in that particular query.

Any help on this would be much appreciated.

Joe Gariano

Accepted answer

permanent link
Benjamin Silverman (4.1k610) | answered Apr 08 '14, 2:38 p.m.
The RQM views are not exposed through the reportable REST API schema you are using to pull the TER data.  The API for saved queries does not provide the schema, therefore RPE cannot retrieve it for reporting.  I'd suggest an enhancement request for the reportable REST API to provide a hook in to saved queries.

This is what a request to generate a saved query looks like.  You'll notice it returns the data associated with that query rather than a schema that RPE can consume.  Hope it helps,

Joe Gariano selected this answer as the correct answer

Joe Gariano commented Apr 08 '14, 2:47 p.m.

Thanks Benjamin.  That helps a lot.


Your answer

Register or to post your answer.