Answered question

How do I get a loop to run just for the number of Iterations I have configured

Example: I have 10 VU with 3 iteration configured for Runtimes. I have a loop to execute inside my script and needs to be the number of iterations. I also have Containers outside that loop I only want to execute 1 time.

Todd F.
Todd F.

Todd F.

10 / 100

If you run 10 VU (constant load), i assume that you would like them to logon and logout once. So you will have 10 login and 10 logout done at the end of your test.

If your goal is to run 3 times the transactions inside your virtual user, you can put them in a loop and run them 3 times.

Transactions outside the loop will still be played once.

In your load policy, you will configure only 1 iteration and 10 VU.


Is it what you would like to do?


Did you find this useful ?

No (0)

Yes (1)


100% of users found this answer useful