It's all about the answers!

Ask a question

Query TestCaseExecutionRecordResults via OSLC/REST Api's with Test Case Id as input


Micheal JX (111) | asked Jul 23 '18, 3:36 a.m.

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



permanent link
Paul Slauenwhite (8.4k12) | answered Jul 23 '18, 6:28 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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>

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.