-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
It seems k6 is a little silly when trying to figure out if there have been multiple HTTP requests or not (and so, whether it should display HTTP stats at the end or not).
I can run many VUs where each VU completes one HTTP request, and the stats will not show up. I suspect the decision to show stats is done by just looking at a single VU, and how many HTTP requests it has generated?
I.e. if I have a script that looks like this:
import http from "k6/http";
import { group, sleep, check } from "k6";
export default function() {
http.get("...some-URL...");
sleep(5.0);
};
And then run it for 5 seconds with 10 VUs: k6 run --vus 10 --duration 5s script.js
It will make 10 HTTP requests, but I get no HTTP stats at the end of the test run.
Metadata
Metadata
Assignees
Labels
No labels