RQM REST API - test scripts don't include Expected Results
I am trying to export test scripts from RQM using the REST API (with RQMUrlUtility), however many times the Expected Results of each step are missing from the XML. This seems to happen mostly when the expected results have an attachment.
This is the kind of URLs that I used:
https://<rqm_host>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testscript/urn:com.ibm.rqm:testscript:<id>
I also tried accessing the step directly, using /executionscriptstep/urm:com.ibm.rqm:executionscriptstep, but it didn't include the expected result.
Also, when I tried to export the test script by creating a manual execution, it also missed some of the expected results.
Am I missing something?
Thanks,
Yoav.
3 answers
Hi Yoav,
By default, testscript steps will not be displayed in Reportable REST API, unless there is a link to requirements. Try to add requirementlinkedsteps=false parameter at the end such as
https://server:port/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/executionscriptstep?requirementlinkedsteps=false
Comments
Thanks, but it didn't change anything.
The weird thing is that sometimes the expected results for some steps are exported while for other steps they aren't, even in the same test script.
The same thing happens when I try to export using "Run offline". The rqms file contians a file called ExecutionResult.xml which contains all the steps, but only some of the steps have their expectedResult.
Comments
Yoav Shany
May 22 '17, 3:26 a.m.I am using RQLUrlUtility, by the way.