Need Rest API to fetch Execution Record for particular Test Case in RQM
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
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>']/*