It's all about the answers!

Ask a question

How to use RQM queries as RPE data sources


Joe Gariano (882937) | asked Apr 07 '14, 1:59 p.m.
retagged Apr 08 '14, 1:34 p.m. by Erica Tran (1.4k6)
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.

Thanks,
Joe Gariano

Accepted answer


permanent link
Benjamin Silverman (4.1k69) | answered Apr 08 '14, 2:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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,

https://clmweb.ibm.com/qm/service/com.ibm.rqm.planning.common.service.rest.ITestCaseRestService/pagedSearchResult?ownerUUIDs=_eViwYKC_EeOf1atORFyK1Q&stateIds=com.ibm.rqm.planning.common.new&parentVTestPlans=_Ow9LsKDAEeOs64lSdgz7nw&categories=_pn51cKC_EeOs64lSdgz7nw%3A_pn6chqC_EeOs64lSdgz7nw&categories=_pxsDkKC_EeOs64lSdgz7nw%3AUnassigned%2C_pxsDmKC_EeOs64lSdgz7nw&categories=_pn84wKC_EeOs64lSdgz7nw%3A_pn_8FKC_EeOs64lSdgz7nw&includeCustomAttributes=true&includeArchived=false&processArea=_oo9g8KC_EeOs64lSdgz7nw&traceabilityViewType=true&resolveParentTestPlans=true&resolveScripts=false&page=0&pageSize=10&resultLimit=-1&totalSize=31


Joe Gariano selected this answer as the correct answer

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

Thanks Benjamin.  That helps a lot.

Regards,
Joe

Your answer


Register or to post your answer.