Need Rest API to fetch Execution Record for particular Test Case in RQM
Hi,
I am looking for the Rest API which will give me Execution record details for any Test case in RQM. If anybody know then please share with me.
Any help is highly appreciated.
|
3 answers
I guess you want to get execution records filtered by test cases? If so, just use the filter [testcase/@href = '< test case URL >'].
Put it in details, you first need to determine the test case URL, which is in the form of https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testcase/urn:com.ibm.rqm:testcase:<id>Then just plug this into the filter, and the final REST URL is https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/executionworkitem?fields=/feed/entry/executionworkitem[testcase/@href='https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testcase/urn:com.ibm.rqm:testcase:<id>']/* |
You may refer https://jazz.net/wiki/bin/view/Main/RqmApi#fields for fields filtering.
|
Hi, I have used the same REST URL but it is not fetching the exact execution records for the given test case.
|
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.