It's all about the answers!

Ask a question

ETM : Reportable REST Api is not providing Test case execution record details under xml resposne


Rajat Krishnan (70116) | asked Nov 30 '21, 5:52 a.m.
edited Nov 30 '21, 5:52 a.m.
Hello,
I have one query related to ETM Rest API, I am hitting this url(for Test Plan) :
https://Local host Server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/project Area UUID/testplan/urn:com.ibm.rqm:testplan:Test Plan id?oslc_config.context=URI

Now my query is after hitting this url , i am getting all details of Test Plan like
  • Owner
  • State
  • Linked Test Cases
  • Description
But i don't see any details related to test case execution record linked with Test Plan in XML response,any reason for such behavior?
Because when i am hitting this url(for TCER) :
https://Local Host Server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project Area UUID/executionworkitem/urn:com.ibm.rqm:executionworkitem:tcer id?oslc_config.context=URI

I can see all the linked test artifact(i.e Test plan, test case) details in XML response

Thank you

One answer



permanent link
Bartosz Chrabski (3.4k12749) | answered Nov 30 '21, 6:19 a.m.

 Rajat.


Test Plan does not contain information about test case execution record. You have to create query for executionworkitem and you need to use reportable api to query TCERs executed in the test plan context

Example filter

<feedUrl>?fields=feed/entry/content/testplan[customAttributes/customAttribute/name="integer custom attribute" and (customAttributes/customAttribute/value="123")]/*

You have to apply same concept to TCERs

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.