tag1consulting / goose

Load testing framework, inspired by Locust
https://tag1.com/goose
Apache License 2.0
759 stars 69 forks source link

Machine-readable results #499

Closed samoylovfp closed 1 year ago

samoylovfp commented 2 years ago

I would like to request a feature of writing the resulting data into a machine-readable format. Something like json, so results from different runs could be combined together.

Will you accept a merge request with this functionality? I would replace all the calls to self.write_html_report().await?; with self.write_reports().await?; and have a serde-serializeable structure to hold the results, which is then used to generate both the json file and the html report.

jeremyandrews commented 2 years ago

Adding the ability to to create a report from a single run or from multiple runs would be interesting. Happy to review your PR!

samoylovfp commented 2 years ago

Still working on this, I made a little bit of a refactoring to avoid copying a lot of error handling regarding writing things to file, looking to finalize this probably next week

mTsBucy1 commented 1 year ago

Should this issue be closed as well, since the PR was closed. Really I think, the different requests and transaction logs should be sufficiently machine-readable.