Replay a virtual user after a run completes


+

Search Tips   |   Advanced Search

 

Overview

After creating 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.


Replay a virtual user

  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.

  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. For 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 by right-clicking the schedule run, and selecting...

      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 ()

    The virtual user's pages, which were loaded during the run, are redisplayed. Each page pauses the number of seconds set in the Replay Delay preference...

      Window | Preferences | Test | HTTP Protocol Data View

  7. On the Request tab you can verify that data substitution is working. For example, the following shows a random user from a data pool as part of a login URL:

  8. To stop replaying, click Stop Replay ().


Related

  1. HTTP debugging
  2. Watch a virtual user during a test run
  3. Watch a virtual user during a schedule run
  4. View the playback summary of a virtual user
  5. Inspect HTTP test logs in the Protocol Data view
  6. Manage HTTP information in the Protocol Data view