Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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. 

0 votes



3 answers

Permanent link
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>']/*


0 votes


Permanent link
You may refer https://jazz.net/wiki/bin/view/Main/RqmApi#fields for fields filtering.

0 votes


Permanent link
Hi, I have used the same REST URL but it is not fetching the exact execution records for the given test case.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939

Question asked: Jun 26 '15, 12:51 a.m.

Question was seen: 4,349 times

Last updated: Nov 15 '16, 6:58 a.m.

Confirmation Cancel Confirm