This works well. docker run -i -v $(pwd):/ci/ loadimpact/k6:latest run /ci/performance-test.js
But this does not work well. docker run -i -v $(pwd):/ci/ loadimpact/k6:latest run --out json=/ci/result.json /ci/performance-test.js time="2021-04-03T04:09:20Z" level=error msg="open /ci/result.json: permission denied"
Do you have any suggestions?
related issues:
Save json when using docker to run k6 - k6 support - k6 community forum Save json when using docker to run k6
I read it, but I don’t solve my issue yet.
This is minimal reproduce.
I tried this: k6 io/blog/integrating-load-testing-with-circleci