K6-reporter output doesn't seem correct

Viewed 32

I am using the K6 reporter shown here:

https://github.com/benc-uk/k6-reporter

2 questions...

Should the threshold that failed be highlighted red in the grid below? Looking at this I have no idea which threshold failed and clicking on the red Breached Thresholds tab does nothing. I can see which one failed in the stdOut but it would be nice to see in the HTML report as well. In the example shown in the link above I do see highlighted green cells, so I think the coloring is possible.

Also, I am not sure why I am returning the Count and Rate columns with dashes -. I don't see those in the example link above either.

enter image description here

Relevant code here:

import { htmlReport } from "https://raw.githubusercontent.com/benc-uk/k6-reporter/main/dist/bundle.js";
import { textSummary } from "https://jslib.k6.io/k6-summary/0.0.1/index.js";

export function handleSummary(data) {
  return {
    "summary.html": htmlReport(data, {title: "PSC_LIMS"} ),
    stdout: textSummary(data, {indent: " ", enableColors: true})
  };
}

Any ideas?

0 Answers
Related