Read TestCase execution result using API
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
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