Running tests at a set rate

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:
  1. In the Test Navigator, expand the project until you locate the schedule.
  2. Right-click the schedule, and then click Open.
  3. Click the item that will be the parent of the loop, and then click Add > Loop.
  4. In the Schedule Element Details section, type the number of iterations that the loop will repeat.
  5. Select Control the rate of iterations. Selecting this field maintains a set transaction rate for all schedule items that are children of this loop.
  6. At Iteration rate, enter a number and select a time unit. This sets the actual rate.
  7. 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
  8. 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.

Parent topic: Representing workloads

Terms of use | Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.