How to create the "stepresult" of a test result by OSLC
Hi fellows,
I'm trying to implement an adapter that is called by JUnit Selenium to record a test result in RQM using OSLC API of RQM.
References:
The application is already working. Junit calls my app passing some parameters (TCER, test result (pass or fail), execution time, etc.). However, I could not create the "stepresult" so far.
In the example I'm following, I saw that the tags are:
<qmresult:stepresults result="com.ibm.rqm.execution.common.state.passed"
startTime="1218355995597" endTime="12183559956247">
<qmresult:stepresult>
<qmresult:property propertyName="CustomProperty" propertyValue="CustomValue" propertyType="NamespacePrefix:NamespaceURI"/>
</qmresult:stepresult>
</qmresult:stepresults>
When I put these tags in my code, I can't do the post. I receive the 404 error.
So, what I'm trying to do is possible? If so, what can I do to accomplish that?
Thanks in advance for any typs.
Regards,
Luiz Cesar.
Accepted answer
As of ETM 7.0, CRUDing test case step results is supported (see https://jazz.net/pub/new-noteworthy/etm/7.0/7.0/index.html#27).
2 other answers
Hi Luiz,
Unfortunately, this is not supported when updating a test result (see Support creating/adding/updating/removing test script step results when creating/updating test execution results using the OSLC QM API. (166236)). However, you can add step results to test results when creating test results (only). GET an existing test result to see the structure of the step result or see the OSLC QM shape document for test results.