Replaying a virtual user after a run completes

After you create a schedule, run it with a small number of users and watch their activity to verify that the schedule is behaving as expected. You can compare the visual data that is rendered as well as the events that are logged for each user.

Procedure

  1. Open the schedule, click the Test Log tab, and set each Log Level to All.
    This setting makes sure that the virtual user that you select will have complete test log data.
    Test log tab
  2. Verify that the schedule contains a small number of virtual users.
    1. Open the schedule, click the User Load tab and set a small number of users.
      Setting a small number of users prevents the log from becoming unwieldy, which can occur when the log level is All.
    2. If you are running a fixed number of users, select each user group and set the numbers so that the total is equal to that in the User Load tab.
  3. Save the schedule and click Run to run the schedule with the limited number of users.
  4. After the schedule completes, open the test log: Right-click the schedule run, and select Display test log.
  5. In the test log, click the Events tab, expand the test log to display the virtual users, and select a virtual user to watch.
  6. In the Protocol Data view, click Replay (Replay button).
    The virtual user's pages, which were loaded during the run, are redisplayed. Each page pauses the number of seconds that you set in the Replay Delay preference (Window > Preferences > Test > HTTP Protocol Data View).
  7. To stop replaying, click Stop Replay (Stop Replay button).