getanteon / ddosify-docker-extension

Ddosify Docker Extension - High-performance, simple-to-use load testing tool written in Golang
https://ddosify.com/
GNU Affero General Public License v3.0
28 stars 10 forks source link

Download Test Results Report as PDF #3

Closed fatihbaltaci closed 2 years ago

fatihbaltaci commented 2 years ago

Users should be able to download test results and configurations as PDF. There should be a button named Download Test Results.

gagandeepp commented 2 years ago

interested please assign

fatihbaltaci commented 2 years ago

Hi @gagandeepp, I assigned this issue to you, thanks.

fatihbaltaci commented 2 years ago

This is a sample report example: https://ddosify-assets.s3.eu-central-1.amazonaws.com/Load+Test+Results.pdf

gagandeepp commented 2 years ago

@fatihbaltaci please review my PR

https://github.com/ddosify/ddosify-docker-extension/pull/6

fatihbaltaci commented 2 years ago

Hi @gagandeepp, thanks for your contribution. I successfully downloaded the report. But the report should look similar to the sample report I shared in the previous message. Could you please change that?

The result: image

Expected: https://ddosify-assets.s3.eu-central-1.amazonaws.com/Load+Test+Results.pdf

Thanks

gagandeepp commented 2 years ago

In the above report there is a configuration as well . I am not sure how to get values for those parameters. Or May be I can just write the result in the pdf excluding runs. Sounds Good?

fatihbaltaci commented 2 years ago

You can get the configuration from this state: https://github.com/ddosify/ddosify-docker-extension/blob/main/ui/src/App.js#L85

And I think, the result can be parsable from this line: https://github.com/ddosify/ddosify-docker-extension/blob/main/ui/src/App.js#L234

gagandeepp commented 2 years ago

@fatihbaltaci Please review again