SOATest Report - broken image
I'm running a test and the report that is generated has a section called "Summary - Functional Tests" and in that section there is a broken image with the name: func_summary_.jpeg there is no path in the image tag in the source HTML. Where is this image generated during the test?
Comments
-
The "func_summary" jpeg is generated right next to the report.html. It shows a donut chart with the percentage of passing vs failed test cases.
How did you generate the report? Are you viewing it from the local disk or hosting it on a web server?
0 -
I ran it from the API.
0 -
same result running it from CTP. might be how things are set up here
0 -
Are you also retrieving the HTML report from the REST API?
In that case you should also pass query parameter includeReportArchive=true and then use the reportArchive part of the response instead of the htmlReport. The reportArchive will be a base64 encoded zip file that includes all images used by the HTML report.1 -
Are you fetching the report with
/v6/testExecutions/{id}/results
? To get the reports with all secondary files including jpegs you need to make sure to include query parameterincludeReportArchive=true
. This will return a zip file with all the files. Among other things, CTP uses this so that all images are available when viewing the report through CTP. What version of SOAtest and CTP are you using?0 -
If your remote SOAtest is a full desktop installation (instead of a war deployment) then you will also need to enable the reporting preference to "Generate additional archive with entire report content."
0 -
The docs for "includeReportArchive" also say:
A report archive can only be retrieved if the server was configured to generate it via preferences or settings file.
This is referring to the setting named "report.archive". However, this setting is true by default in the "soavirt" WAR. If you are running a SOAtest Desktop as a server then you would need to enable this explicitly. Also see Reporting Settings.
0