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

Import Execution Result in RQM

I tried to import ExecutionResult in RQM using RQMUrlUtil.jar, but I received RQMUrlUtility: Server Response code: 400. I used this jar to import test plan and test cases with success, but not with execution result. Can someone give me any suggests?

0 votes



21 answers

Permanent link
Thanks Kurtis.. Problem solved... :)
On 8/29/2011 4:08 AM, shrutigupta wrote:
Hi Kurtis,

What I understand is(in TestSuiteLog XML):

-<suiteelements
-<suiteelement>0</index
executionworkitem
testscript
/suiteelement
/suiteelements

Do a GET on executionworkitem(aka Test Case Execution Record).
But, if I am not wrong this is unique for a testcase executed in given
test environment and, this will get me the result of the tescase when
it was last executed as a part of any test suite and not the state of
testcase as it was in the Test Suite I want.
Please clarify.


What you are saying is correct. I made a mistake, I thought the
executionresult was in each suiteelement. Instead the top-level
testsuitelog element has a direct child list of executionresult
elements. So testsuitelog looks like

<testsuitelog>
....
<suiteelements>
<suiteelement>
....
</suiteelement>
</suiteelements>
....
<executionresult>
<executionresult>

Those are the test case execution results for individual test cases in
the suite result. Typically the list of executionresults will line up
with the list of suite elements. But it's not safe to assume that
because it's possible for some reason a particular suiteelement didn't
produce a executionresult. And that would cause the two list not to match.

It's best to do a GET on each executionresult in the testsuitelog. The
executionresult will contain the test case pass/fail verdict and it will
also contain a testsuitelog element. This testsuitelog element will
contain a elementindex attribute. This value will match the index
element of the suiteelement from the testsultelog. That way you know
which executionresult matches a particular suiteelement.

The related schema's for 2.x are here:

https://jazz.net/projects/rational-quality-manager/api-doc-2.0/api-files/schemas/qm_xsd/elements/testsuitelog_1.html

https://jazz.net/projects/rational-quality-manager/api-doc-2.0/api-files/schemas/qm_xsd/elements/executionresult_2.html

Hope that helps !

0 votes

1–15 items
page 3of 1 pagesof 2 pagesof 3 pages

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

Question asked: Jan 17 '11, 4:58 a.m.

Question was seen: 14,325 times

Last updated: Jan 17 '11, 4:58 a.m.

Confirmation Cancel Confirm