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 (7013) | asked Nov 30 '21, 5:52 a.m.
edited Nov 30 '21, 5:52 a.m.
I have one query related to ETM Rest API, I am hitting this url(for Test Plan) :
https://Local host Server/qm/service/ Area UUID/testplan/ 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/ Area UUID/executionworkitem/ 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.4k12648) | answered Nov 30 '21, 6:19 a.m.


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.