What is the service to use for creating the link between the stepresult (test case result) and DOORS requirement?
executionworkitem, executionresult et stepresult.
There are links between DOORS requirements and steps (test script)
stepresult (test case result)
A service "service/com.ibm.rqm.requirement. common.service.
rest. ICalmRequirementRestService/calmRequirementForTestScript" is needed for
creating the link between the steps (test script) and the DOORS requirement.
What is the service to use for
creating the link between the stepresult (test case result) and DOORS requirement?
One answer
Comments
Why does the link not autonmatically created when we execute a PUT command on the execution result object?
I can understand that the link for the requirement is on the step but how to create the link manually (step-stepresult)?
As the links are added on the step, RQM should be able to display them in the step result ...
Hi Carlito,
As Abhishek mentioned, the step result does not contain the requirement link. The requirement link is stored in the script step. This is the way the resources are modeled. You can confirm this by checking the resource shape for both resources. That said, the RQM UI exposes the requirement link, which is from the test script step.
As for me the requirement link is stored in the script step. My scenario to explain my opinion is:
- test script with one requirement link in step 1
- execution of this test script => the display of the result, I see the requirement link in step1
- Now I modify the test script and I add a new requirement on the step 1. So there is 2 requirement link on the step 1
- I have executed again this test script => the display of the result, I see 2 requirement link in step1
if for 2 results the list of requirement is different for the same test script, the requirement link is not stored in the step result ?
Sorry I can modify my comment:
I want to modify my first line: I think the requirement link is stored in the test script result and not only the step of a test script.
Moreover I precise that the information shown in the result n°197 is the same after the second execution. I always see only 1 requirement link.
Hi David,
Our answers are in context of the RQM OSLC API (and also apply to the only other public REST API, RQM Reportable REST API). The internal RQM implementation models these relationships differently.
Hi Paul,
Thank for your return.
Our customer want to create (via java code) a Test result with requirement link and defect link. At the moment he use in unofficial way with
Could we use the jar of RQMExecution tool ?
Best regards
Hi David,
Internal APIs should not be used.
Requirements cannot be associated to test results however change requests (or defects) can using the oslc_qm:affectedByChangeRequest property (see http://open-services.net/bin/view/Main/QmSpecificationV2#Resource_TestResult).
The RQM Execution Tool cannot be used for this purpose.
I would suggest to open a RQM RFE.
Comments
Paul Slauenwhite
FORUM MODERATOR / JAZZ DEVELOPER Feb 11 '16, 10:19 a.m.Hi Carlito,
The service/com.ibm.rqm.requirement. common.service.rest. ICalmRequirementRestService/calmRequirementForTestScript API is an internal API and is not supported. Internal APIs should not be used. Instead of using internal APIs, you should be using one of the public RQM APIs:
RQM Reportable REST API
RQM OSLC API
However, the RQM Reportable REST API does not support adding links to CCM/RM resources and the RQM OSLC API does not support creating/updating test script step results or adding RM link to test results.
LUIZ DE ALMEIDA
Nov 17 '18, 9:27 a.m.Paul,
Paul Slauenwhite
FORUM MODERATOR / JAZZ DEVELOPER Nov 28 '18, 7:24 a.m.Hi Luiz,