Query TestCaseExecutionRecordResults via OSLC/REST Api's with Test Case Id as input
Hi All,
I have problems querying TestCaseExecutionRecordsResults from OSLC/REST API's with a TestCaseId as input in GC context.
i went through the blogs below, but i couldnt find the trick to get the test case exeution record results....
https://sleroyblog.wordpress.com/2013/04/09/querying-rqm-40-through-oslc-and-rest-api/#cs_access_thru_oslc
Please do suggest some ideas....thanks
One answer
Hi Michael,
You need to check the query resource shape for the com.ibm.rqm.execution.TestcaseExecutionRecord resource type to see what fields are queryable.
Query resource shape: https://<host>:<port>/<context root>/oslc_qm/contexts/<project UUID>/shape/query/resource/com.ibm.rqm.execution.TestcaseExecutionRecord
You will see that the associated test case is referenced in the oslc_qm:runsTestCase property. Note, this property is a URI reference (e.g. test case URI) - see http://open-services.net/bin/view/Main/OSLCCoreSpecQuery#oslc_where.
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #4e9072}
</style>