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

Use RPE to get execution based information related to Test Plan

I have an RPE template created which pulls all pertinent Test Plan sections (including custom sections) but am finding it difficult to get the execution results and defects as they relate to the test plan. 

After executing test for the current iteration, I need to have RPE generate a report using some of the static test plan information, coupled with the results and defects revealed by this latest execution.  I do not believe my issue is specific to the version of RPE that I am using, but I am reporting against RQM and RTC 6.0.4. 

I have tried a few different ways of jumping off from the test plan information, to no avail.  Can someone please tell me how to transform my data source from the test plan feed over to the execution results?

Thanks in advance!

0 votes


Accepted answer

Permanent link

You can refer to filtering properties in https://jazz.net/wiki/bin/view/Main/RqmApi#fields
You can try testplan -> testcase -> executionworkitem and print executionresult.

from testcase identifier, you can derive the URI for executionworkitem feed.
var pos=identifier.indexOf(/testcase/);
var configURI=identifier.substring(0,pos);
configURI=configURI + "/executionworkitem?fields=feed/entry/content/executionworkitem[testcase/@href='" + identifier + "']/*"
configURI

Jeff Miller selected this answer as the correct answer

0 votes

Comments

Thank you for your quick and detailed response.  I interpreted your reference "executionworkitem feed" to mean that I should reference a schema based on feed.xsd.  Is that correct? ...or should I be using a details schema (based on qm.xsd) or perhaps even one based on executionworkitem.xsd?

I figured out how to make use of your suggestion, and I am now making both transitions adequately.  Had to start from a query from the testcase details feed, then use this script to configure the URI for a feed.xsd based schema.

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
× 7,495
× 6,121

Question asked: Dec 11 '17, 3:13 p.m.

Question was seen: 2,109 times

Last updated: Dec 18 '17, 4:47 p.m.

Confirmation Cancel Confirm