It's all about the answers!

Ask a question

Read TestCase execution result using API


Jitendra Kotwal (1112) | asked Sep 19 '16, 6:50 a.m.
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

One answer



permanent link
Praveen Kumatekar (111) | answered Oct 20 '16, 7:43 a.m.
edited Oct 20 '16, 7:48 a.m.
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

Your answer


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