k6

Anyway to get the stdout metrics in a file

Is there anyway to get the metrics that we get in the stdout in a file in any format(JSON or any other). Metrics like http_req_duration avg, p(50), iterations and others. Basically want the result summary in a file in some format.

There is currently an open PR for adding this. You can look at it and if you want test it(you will need to compile it yourself) and give feedback.

It’s expected that the PR will be merged in the following week and the next version (0.26.0) released either late next week or the week after that depending on how much testing we manage to squeeze in after all PRs are merged … But no promises :wink:

1 Like