k6 is a modern load testing tool that allows you to write test scripts in JavaScript. It provides a way to generate HTML reports to visualize the results of your load tests. To generate an HTML report with k6, watch this video
code snippet:
import { htmlReport } from "https://raw.githubusercontent.com/benc-uk/k6-reporter/main/dist/bundle.js";
export function handleSummary(data) {
return {
"summary.html": htmlReport(data),
};
}