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/"><alm:state>com.ibm.rqm.execution.common.state.passed</alm:state> <qm:remotescript href="<url>/remotescript/urn:com.ibm.rqm:remotescript:1" /> <qmresult:remoteexecution>true</qmresult:remoteexecution> <qm:executionworkitem href="<url>/executionworkitem/slug__XnkEEEA8EfC094D2iKZMrQ" /> <qmresult:starttime>2025-05-22T10:20:00Z</qmresult:starttime> <qmresult:endtime>2025-05-22T10:30:00Z</qmresult:endtime> <qmresult:pointsattempted>4</qmresult:pointsattempted> <qmresult:pointspassed>2</qmresult:pointspassed> <qmresult:pointsfailed>2</qmresult:pointsfailed> <qmresult:pointsblocked>0</qmresult:pointsblocked> <qmresult:pointsinconclusive>0</qmresult:pointsinconclusive> <qmresult:stepResults> <qmresult:stepResult result="com.ibm.rqm.execution.common.state.passed" startTime="2025-05-22T10:20:00Z" endTime="2025-05-22T10:25:00Z"> </qmresult:stepResult> <qmresult:stepResult result="com.ibm.rqm.execution.common.state.failed" startTime="2025-05-22T10:25:00Z" endTime="2025-05-22T10:30:00Z"> </qmresult:stepResult> </qmresult:stepResults> <qm:testcase href="<url>/testcase/slug__MQsOsD_JEfC094D2iKZMrQ" /></qm:executionresult>
</pre> </div>
Thanks alot!
One answer
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