Hi,
My question is how to generate an output html report using k6 docker image within Azure pipeline
JSON files are generated but not html reports:
I tried using
"import { htmlReport } from “K6 Load Test: <%= title %>” - Working fine in local
Ref: GitHub - benc-uk/k6-reporter: Output K6 test run results as formatted & easy to read HTML reports
but while in azure - not sure
A. where this file is getting stored
B. how to export back the result file;
My code:
- script: docker run -i --rm
-v $PWD/utils:/utils
-v $PWD/k6Report:/k6Report
-v $PWD/K6HTMLReportExporter_v2.js:/K6HTMLReportExporter_v2.js
-v $PWD/indexReport.js:/indexReport.js
joined-docker.artifactory.abcdefgh.net/grafana/k6:0.50.0
run -<./Basic_feeXpart_GET.js
Thanks for any help
Regards
2 posts - 1 participant