We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iterations
vus
When iterations and vus are set, k6 will only run 1 iteration per vu. It looks like a bug, but not sure if this is the expected behavior.
k6
vu
import http from "k6/http"; import { sleep } from "k6"; export let options = { vus: 10, iterations: 10 }; export default function() { http.get("http://test.loadimpact.com"); console.log(`VU: ${__VU} - ITER: ${__ITER}`); sleep(1); };
The text was updated successfully, but these errors were encountered:
Closing the issue, iterations refers to the total number of iterations. The total iterations will be split between all the VUs.
If we want 10 iterations for each VU.
const vus = 10, iterations = 10; export let options = { vus: vus, iterations: vus*iterations };
Sorry, something went wrong.
No branches or pull requests
When
iterations
andvus
are set,k6
will only run 1 iteration pervu
. It looks like a bug, but not sure if this is the expected behavior.The text was updated successfully, but these errors were encountered: