extension elements in executionresult are not stored
Hi,
I am trying to store executionresult resources via REST.
According to the API (http://jazz.net/projects/rational-quality-manager/api-doc-2.0/), an executionresult element may contain any number of custom elements in the end. Storing the following execution result:
with the following command
works fine.
However, when I fetch the resource with
I get the following resource, which apparently is missing the executionid element that the original executionresult document contained.
Is this a bug?
best regards, Peter
I am trying to store executionresult resources via REST.
According to the API (http://jazz.net/projects/rational-quality-manager/api-doc-2.0/), an executionresult element may contain any number of custom elements in the end. Storing the following execution result:
<xml>
<qm>
<title>My test case</title>
<jzalm>2010-01-04T10:27:16.055Z</jzalm>
<jzalm>com.ibm.rqm.execution.common.state.passed</jzalm>
<jzalm>xxgardfp</jzalm>
<qmresult>afrodite</qmresult>
<qmresult>/a/b/c/log.txt, /d/e/f/log.txt</qmresult>
<qmresult>2010-01-01T00:00:00.000Z</qmresult>
<qmresult>2010-01-01T01:00:00.000Z</qmresult>
<qmresult>10</qmresult>
<qmresult>0</qmresult>
<qmresult>10</qmresult>
<qmresult>0</qmresult>
<qmresult>0</qmresult>
<qmresult>0</qmresult>
<Test>
<qm>
<Test>
<qm>
<qm>
<Extension>
<executionid>10000</executionid>
</qm>
with the following command
$ java -jar RQMUrlUtility.jar -user xxgardfp -password xxgardfp -command PUT -filepath er.xml -url "https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/executionresult/1"
works fine.
However, when I fetch the resource with
$ java -jar RQMUrlUtility.jar -user xxgardfp -password xxgardfp -command GET -filepath er-downloaded.xml -url "https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+M
anager/executionresult/1"
I get the following resource, which apparently is missing the executionid element that the original executionresult document contained.
<xml>
<executionresult>
<identifier>https://localhost:9443/jazz/service/com.ibm.rqm.integ
ration.service.IIntegrationService/resources/Quality+Manager/executionresult/1</identifier>
<title>My test case</title>
<state>com.ibm.rqm.execution.common.state.passed</state>
<updated>2010-01-04T12:55:27.603Z</updated>
<owner>xxgardfp</owner>
<machine>afrodite</machine>
<log>/a/b/c/log.txt, /d/e/f/log.txt</log>
<starttime>2010-01-01T00:00:00.000Z</startt>
<endtime>2010-01-01T01:00:00.000Z</endtime>
<pointspassed>10</pointspassed>
<pointsfailed>0</pointsfailed>
<pointsattempted>10</pointsattempted>
<pointsblocked>0</pointsblocked>
<pointsinconclusive>0</pointsinconclusive>
<pointspermfailed>0</pointspermfailed>
<testcase>
<executionworkitem>
<attachment>
</executionresult>
Is this a bug?
best regards, Peter