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 |
One answer
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
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.