Skip to main content
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

Per VU Iterations

Control pacing with per‑VU iterations in BrowserStack Load Testing.

Depending on your preferred method, select any one of the following to set per VU iterations:

Set iterations

Select Per VU Iterations from the dropdown menu, and set the number of virtual users, iterations, and the maximum test duration.

Screenshot of various load testing configurations available on the dashboard

  • Virtual users: Enter the total number of users to simulate during the test.
  • Iterations per VU: Specify the times each virtual user runs the script.
  • Max duration: Specify the upper bound on the test runtime (in minutes).

Set iterations

Use iterations to control how many times each virtual user (VU) executes your test script:

  • Set iterations: positive integer per VU.
  • Combine with duration if needed: when both are set, the test stops when either the max duration or the per‑VU iterations are reached, whichever comes first.

Prefer loadProfile for ramping scenarios: avoid mixing iterations with staged ramping because it can create ambiguous end conditions.

browserstack-load.yml
vus: 5
duration: 5m
#per VU iteration
iterations: 20

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle