How to publish requirements associated with a test case
I am using RPE 2.0.1 with RQM 6.0 and the JKE Banking sample project.
I want to publish the list of requirements associated with each test case. The RQM schema appears to offer testcase/requirement but in the notes for this part of the schema, testcase/requirement is listed as deprecated. (see: https://jazz.net/products/rational-quality-manager/api-doc-6.0/schemas/qm_xsd/elements/requirement_2.html)
There is no obvious (to me) alternative that will provide RPE with the requirements associated with a test case.
Can anyone shed some light on this?
Thanks in advance!
Accepted answer
Solved: When using RPE to publish an RQM test plan, plus all associated test cases, plus all requirements associated with each test case, multiple data sources are needed. As each data source is configured with a Data Source Configuration template element, it is somewhat straightforward to hand off the href of the specific artifact for which additional properties must be published (e.g. the query is sitting on a test case but you want to explore each test script associated with that test case). However, if the next data source is external to RQM like DNG and RTC, no links to the external artifacts will be returned by the query unless ?calmlinks=true is appended to the end of the URI. Often this can be accomplished with this simple JavaScript concatenation: href + "?calmlinks=true". I don't know why testcase/requirement is annotated as deprecated in the RQM schema documentation, but it still returns requirements IF the previous query had ?calmlinks=true.
One other answer
Bob
Have you found this article in your research? it appears to cover the use case you are looking for. https://jazz.net/library/article/1241
Another option is to use JRS to build the traceability report, and then export it to RPE as highlighted by Dragos in his blog: http://rpeactual.com/2015/06/26/creating-traceability-documents-with-rpe-and-jrs/
Have you found this article in your research? it appears to cover the use case you are looking for. https://jazz.net/library/article/1241
Another option is to use JRS to build the traceability report, and then export it to RPE as highlighted by Dragos in his blog: http://rpeactual.com/2015/06/26/creating-traceability-documents-with-rpe-and-jrs/
Comments
Rosa, thanks for your response! I'm going to explore the JRS option; I hadn't thought of that.
Unfortunately, the Geoff Rosenthal article seems to be outdated. The section that addresses publishing RQM test case related requirements says:
In Rational Quality Manager, the test case node of the QM schema has a subsection for "requirement," which includes an "href" query to the related RRC artifact.
It's true that the schema still has the requirement node, but it has been deprecated (according to the official schema documentation - see OP) and doesn't return any data in RQM 6.0 (based on my own tests).
This brings me back to my original question of what schema query should be used to publish a test case's related requirements in RQM 6.0+?