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

Read TestCase execution result using API

Dear All,

I am trying to read test case execution result using jazz API. I have TestCase name only and wants to retrieve all execution result of particular testcase under particular Project area. Please let me know command for same.

Thanks & Regards,
Jitendra

0 votes



One answer

Permanent link
Hi Jitendra

We are not supporting test case execution result by test case name.
We can filter test case execution result by test case name in the below steps.

1) By using the test case name we can get the test case identifier by below rest api call.

https://<host>:<port>/<contextRoot>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/<resourceType>?fields=feed/entry/content/testcase/(title)
 
2) By using the test case identifier, we can filter the test case execution result in below rest api call.

https://<host>:<port>/<contextRoot>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/executionresult?fields=feed/entry/content/executionresult/(testcase[@href="identifier"])

For More reference -https://jazz.net/wiki/bin/view/Main/RqmApi#Read

Thanks,
Praveen GK

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,938

Question asked: Sep 19 '16, 6:50 a.m.

Question was seen: 2,672 times

Last updated: Oct 20 '16, 7:48 a.m.

Confirmation Cancel Confirm