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
I found the solution.
Turns out I needed to add the query parameter richtext.maxlength=-1
Thanks to everyone who tried to help.
|
Hi Yoav,
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.
|
Hi Yoav, try exporting the testscript using the REST URL with etlmode=true argument.
https://<rqm_host>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>/testscript/urn:com.ibm.rqm:testscript:<id>?etlmode=true
Best Regards
Sunil
|
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.
Comments
I am using RQLUrlUtility, by the way.