It's all about the answers!

Ask a question

How to get all executionworkitem in testplan using RQMUrlUtility


Krzysztof Krzywdzinski (131) | asked Nov 27 '18, 6:40 a.m.
HI,

I'm trying to retrive all executionworkitem (TCER) in my testplan using RQMUrlUtility.
but there is no info about that in testplan.xml ?  (only Test testcase and testsuite)

I see urn:com.ibm.rqm:testplan:XX in executionworkitem.


Accepted answer


permanent link
Paul Slauenwhite (8.3k12) | answered Nov 27 '18, 7:01 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

HI Krzysztof,


The RQM URL Utility is a Java-based command line utility for invoking the RQM Reportable REST API (see https://jazz.net/wiki/bin/view/Main/RqmApi).  Simply put, it's a HTTP client with some RQM Reportable REST API-specific support.  It's intended to be sample tooling.  Unfortunately, the RQM URL Utility does not support request parameters, which are required to query for TCERs (test case execution records or execution work items) associated to a test plan.  For this, you need fields filtering (see https://jazz.net/wiki/bin/view/Main/RqmApi#fields):

<feedUrl>?fields=feed/entry/content/executionworkitem/(testplan[@href='<resourceUrl>']|*)

I would suggest using a different HTTP client (e.g. https://jazz.net/wiki/bin/view/Main/RqmApi#Code_Examples) and fields filtering.

Krzysztof Krzywdzinski selected this answer as the correct answer

Your answer


Register or to post your answer.