Skip to content

[Needs clarification] Uploading report as html.gz using add-log-file is successful but throws error #308

Description

@nadhor2001-blip

Hello,
to upload logs and reports to dashboard I am using one and the same (self-created) function. (info: postfix is unique for every run, so log, output and report have always the same postfix when being uploaded)
In it I first use gzip.compress to compress the html file and then post(dashboard_url/add-log-file, compressed_file) to upload the file.
With log_postfix.html this works without issue. But when trying to upload report_postfix.html the dashboard server says:

ERROR: something went wrong while adding the log file or updating the database: A problem occured while adding the log file, check the console message!
ERROR: There was no output with the name report_postfix.xml or report_postfix.html in any of the existing outputs in the database. 

The same happens, when uploading the pure .html file with the swagger UI.
But the upload worked, and I can open the report using the dashboard.
Is there another - recommended - way, to upload reports? In the documentation I can find, that it is possible to use uploaded reports, but no way on how to do it specifically.
Regards,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions