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

Modify TCR Result Details table with API, created by cmd adapter

Hi everyone, 


I'm using RQM 7
When executing a test case with the command line adapter, I will get  a chart in the "Result Details" section with a green or red bar and a table below with Test, Type, Result, ... Here is an image of what I mean

When I tried to change this table via api, I couldn't find it, its not an attachment, or detail.
I also tried creating Test Case Results with API, but this will only result in an empty chart.

So my question is: Can I modifiy this table via API? 

This is how my tcr look like. I would expect the chart to be filled with one failure and one success
<qm:executionresult
    xmlns:qmresult="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1/"
    xmlns:alm="http://jazz.net/xmlns/alm/v0.1/"
    xmlns:qm="http://jazz.net/xmlns/alm/qm/v0.1/">

&lt;alm:state&gt;com.ibm.rqm.execution.common.state.passed&lt;/alm:state&gt;
&lt;qm:remotescript href="&lt;url&gt;/remotescript/urn:com.ibm.rqm:remotescript:1" /&gt;
&lt;qmresult:remoteexecution&gt;true&lt;/qmresult:remoteexecution&gt;
&lt;qm:executionworkitem href="&lt;url&gt;/executionworkitem/slug__XnkEEEA8EfC094D2iKZMrQ" /&gt;
&lt;qmresult:starttime&gt;2025-05-22T10:20:00Z&lt;/qmresult:starttime&gt;
&lt;qmresult:endtime&gt;2025-05-22T10:30:00Z&lt;/qmresult:endtime&gt;
&lt;qmresult:pointsattempted&gt;4&lt;/qmresult:pointsattempted&gt;
&lt;qmresult:pointspassed&gt;2&lt;/qmresult:pointspassed&gt;
&lt;qmresult:pointsfailed&gt;2&lt;/qmresult:pointsfailed&gt;
&lt;qmresult:pointsblocked&gt;0&lt;/qmresult:pointsblocked&gt;
&lt;qmresult:pointsinconclusive&gt;0&lt;/qmresult:pointsinconclusive&gt;

&lt;qmresult:stepResults&gt;
    &lt;qmresult:stepResult result="com.ibm.rqm.execution.common.state.passed"
        startTime="2025-05-22T10:20:00Z" endTime="2025-05-22T10:25:00Z"&gt;
    &lt;/qmresult:stepResult&gt;
    &lt;qmresult:stepResult result="com.ibm.rqm.execution.common.state.failed"
        startTime="2025-05-22T10:25:00Z" endTime="2025-05-22T10:30:00Z"&gt;
    &lt;/qmresult:stepResult&gt;
&lt;/qmresult:stepResults&gt;
&lt;qm:testcase href="&lt;url&gt;/testcase/slug__MQsOsD_JEfC094D2iKZMrQ" /&gt;

</qm:executionresult>

    </pre>
</div>


Thanks alot!

0 votes



One answer

Permanent link

Additonaly: When I POST the test case result, and GET it afterwards, the teststeps are gone and just one stepResults element is returned instead


<stepResults xmlns="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1/">2025-05-22T10:20:412025-05-22T10:20:41.001000com.ibm.rqm.execution.common.elementtype.executioncom.ibm.rqm.execution.common.state.passed</stepResults>
(this is from a different result than in my example above)

It looks like the server does not create a executionelementresult for some reason

0 votes

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
× 11,055

Question asked: Jun 04, 12:17 p.m.

Question was seen: 785 times

Last updated: Jun 04, 12:48 p.m.

Confirmation Cancel Confirm