Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



One answer

Permanent link
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>

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,944
× 33

Question asked: Jul 23 '18, 3:36 a.m.

Question was seen: 2,114 times

Last updated: Jul 23 '18, 6:28 a.m.

Confirmation Cancel Confirm