To run a test at a set rate, you add a loop to control the iteration
rate, and then add tests to the loop. The tests, which are children of the
loop, are controlled by the loop.
To add a loop:
- In the Test Navigator, expand the project until you locate the
schedule.
- Right-click the schedule, and then click Open.
- Click the item that will be the parent of the loop, and then click .
- In the Schedule Element Details section, type the number of iterations
that the loop will repeat.
- Select Control the rate of iterations. Selecting this field maintains a set transaction rate for all schedule
items that are children of this loop.
- At Iteration rate, enter a number and select
a time unit. This sets the actual rate.
- Select or clear Randomly vary the delay between iterations.
Selecting this box causes the delay to vary slightly, modeling your users
more accurately, because they are spread out randomly over a certain period
of time
- Select or clear Delay before the first iteration of
the loop. Selecting this box staggers the first delay in each
iteration, so that you get a realistic mix at the first iteration.
After you have added the loop, you add the schedule items, usually
tests, that the loop controls.