It's all about the answers!

Ask a question

Linking a DOORS Requirement to an RQM Test Case via DOORS Requirement ID


Matthew Brazeau (2155) | asked Oct 01 '14, 3:02 p.m.
An RQM Test Case has a 'Requirements Links' section. Given DOORS requirement ID(s) (and other relevant DOORS project information), would the RqmApi be able to add a series of DOORS requirements links to a given Test Case?

Best.

One answer



permanent link
Donald Nong (14.5k414) | answered Oct 02 '14, 7:13 a.m.
First of all, you need to integrate RQM with either RRC/RDNG or DOORS in order to add any requirements to the test cases. For integrating DOORS, review the document below.
http://www-01.ibm.com/support/knowledgecenter/SSR27Q_4.0.7/com.ibm.rational.test.qm.doc/topics/t_ovw_int_rqm_doors.html
Also, adding a requirement to a test case is not as simple as adding a link. I would suggest you add a requirement using the GUI then GET the test case to see what you need to add programmatically. For example, below XML code shows the test case has a "Validate Requirement" link to the requirement "Frequency of dividend transfer".
<rdf:Description rdf:nodeID="A0">
    <rdf:subject rdf:resource="https://clm:9443/qm/oslc_qm/contexts/_ZcMRAK2SEeO_fciXVKJ7Tg/resources/com.ibm.rqm.planning.VersionedTestCase/_E7eJgK2TEeO_fciXVKJ7Tg" />
    <rdf:predicate rdf:resource="http://open-services.net/ns/qm#validatesRequirement" />
    <rdf:object rdf:resource="https://clm:9443/rm/resources/_b5f7b94c2d3344a9a5b465936ac50edd" />
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement" />
    <dcterms:title>Frequency of dividend transfer</dcterms:title>
</rdf:Description>


Comments
Matthew Brazeau commented Oct 02 '14, 8:31 p.m.

I would like to automate the linking of DOORS requirements to test cases in RQM because many will exist. I am currently able to bring in views of requirements from DOORS, and generate test cases for each in RQM. The challenge is this: a test case will need to validate multiple requirements, and doing this manually is not feasible in our automation effort. So given a set of DOORS requirements (ID, DOORS project, etc.), I need to make links to a specified RQM test case using the Rqm Reportable REST API.


Is this possible? I heard that this may be possible with OSLC, but would prefer to stick with theĀ Rqm Reportable REST API.

Best,

-Matt


Donald Nong commented Oct 02 '14, 9:09 p.m. | edited Oct 02 '14, 9:35 p.m.

If I read the RQM reportable REST API specification correctly, I am afraid that you are out of luck. The only resource related to requirements is "requirement", which is no longer supported.

7 As of Rational Quality Manager 4.0, the requirement Rational Quality Manager Reportable REST API is deprecated. As of Rational Quality Manager 5.0, the requirement Rational Quality Manager Reportable REST API is not supported.
https://jazz.net/wiki/bin/view/Main/RqmApi#ResourcesFootnote7
Also based on footnote 2, I have the impression that the resource was intended for RRC only, not DOORS.

You may consider OSLC, something like this
https://jazz.net/forum/questions/164490/copy-requirement-links-in-a-test-case-via-oslc-api

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.