Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

SOATest Report - broken image

Options

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

  • benken_parasoft
    benken_parasoft Posts: 1,235 ✭✭✭
    Options

    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?

  • jefftuckerbofa
    jefftuckerbofa Posts: 234
    Options

    I ran it from the API.

  • jefftuckerbofa
    jefftuckerbofa Posts: 234
    Options

    same result running it from CTP. might be how things are set up here

  • Matt Love
    Matt Love Posts: 92 admin
    Options

    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.

  • benken_parasoft
    benken_parasoft Posts: 1,235 ✭✭✭
    edited November 2023
    Options

    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 parameter includeReportArchive=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?

  • Matt Love
    Matt Love Posts: 92 admin
    Options

    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."

  • benken_parasoft
    benken_parasoft Posts: 1,235 ✭✭✭
    edited November 2023
    Options

    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.