Html Report Generation for reach of the requests, not only summary

Hello, what should be the best way to include in the default html report the details about each request, not only summary?
For example lets say we have 4 requests in the test and I would like to see in the html report the min/max response time for every one of them, not only aggregated.

I am using both:
import { htmlReport } from ‘K6 Load Test: <%= title %>’;
import { textSummary } from ‘https://jslib.k6.io/k6-summary/0.0.1/index.js’;

And summary.html is generated as expected with:
export function handleSummary(data) {
return {
‘summary.html’: htmlReport(data, { debug: false }),
stdout: textSummary(data, { indent: ’ ', enableColors: true }),
};
}

But I would like to include also the other stats as I mentioned. Is there an easy way to do that or only option is grafana visualization?

Hi @katori !

I don’t think it is possible to include it in the default HTML report (if the HTML report is the one from GitHub - benc-uk/k6-reporter: Output K6 test run results as formatted & easy to read HTML reports). The reason is that the report handles aggregated summary data.

If you need such a level of detail, the proper approach is to store metrics in a metrics backend (e.g., Prometheus, InfluxDB, etc.) and visualize them later in Grafana.

Hope that answers

Cheers!