It's all about the answers!

Ask a question

Rest API Query (All Elements Associated with Test Plan ID) in Version 7.0.2


0
1
Neil Roper (11) | asked Sep 26 '22, 4:15 a.m.

 Dear sir / madam,

Prior to updating to RQM release 7.0.2, I was able to use the following REST API Filters to pull down only the data I needed:

For example, to only return TCER data related to a specific Test Plan, the following was used: <o:p> </o:p>

https://<port:server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/executionresult?fields=feed/entry/context/executionresult/(*|testplan[@href=%22https://<port:server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testplan/urn:com.ibm.ram:testplan:<Test Plan ID Number>%22]) <o:p> </o:p>

Where

  • <project> was the project area
  • <port:server> was the server ref
  • <Test Plan ID Number> is the ETM ID number of the desired Test Plan (e.g. 14).

<o:p> </o:p>

<o:p>   </o:p> However, I’m finding this filter now longer works, instead it returns all instances of a defined element – in fact I’m finding it impossible to filter on any HREF value.

Please can you tell me what has changed / what needs to be changed in the Rest API query above for it to function with v7.0.2?

Many thanks for your time and support, if you have any questions, or require any further information, please don't hesitate to let me know.

Kind Regards

Neil

<o:p> </o:p>

Be the first one to answer this question!


Register or to post your answer.