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?


One answer

permanent link
Donald Nong (14.5k314) | 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.
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/" />
    <rdf:predicate rdf:resource="" />
    <rdf:object rdf:resource="https://clm:9443/rm/resources/_b5f7b94c2d3344a9a5b465936ac50edd" />
    <rdf:type rdf:resource="" />
    <dcterms:title>Frequency of dividend transfer</dcterms:title>

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.



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.
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

Your answer

Register or to post your answer.