Watch a virtual user during a test run

 

+

Search Tips   |   Advanced Search

 


Overview

The Browser page in the Protocol Data view displays browser results in real-time during an individual HTTP test run.

To verify that real-time support is enabled go to...

...and select...

You can select which page you want the Protocol Data view to display by default.

The Browser page renders the visual data, and the Event Log page displays a table of...

You can switch between the pages when you watch the user.


Watch a virtual user in real time

  1. In the Test Navigator, browse to an HTTP test and double-click it.

  2. Click...

      Run | Run As | Test

  3. In the Protocol Data view, click the Browser tab.

    The HTTP pages are displayed. Because the protocol data is used, the Browser page might not render the contents exactly as a Web browser would render the contents.

    If an HTTP page does not display correctly, you can still use the pages...

    ...to help debug the test.

  4. Use the playback buttons in the Protocol Data view to control the real-time browser display.

    The playback buttons control only the Protocol Data view. They do not pause or stop test execution. If you pause the real-time browser display and then click Play, the page displayed in the Browser window is the next page loaded by the playback engine.

    Use the Back and Forward buttons to control the display of pages that have already been loaded. If a problem occurs during playback, pause the test and use the Back and Forward buttons to move to the page where the problem occurred.

    The request and response headers, and the response content page, show primary request information.


Results

The information on each page is updated in real time as you run the test. The Event Log page shows...

While tests are running, pages in the Protocol Data view display an Event Log summary bar for the current page request that shows...

An unexpected response code is defined as a response code not in the 200 or 300 range. Response codes outside the 200 and 300 range that were recorded or that are represented in a response code verification point are not considered unexpected.

For example, a response code of 404, "Not Found," is an unexpected response code, unless there is an associated response code verification point. If a 404 response code occurred while recording and then during playback the response code is also 404, this is not considered unexpected. Messages include data correlation failures and custom code messages.

Pages in the Protocol Data view are active and updated while a test is running.

After a test runs, you can also use the test log for futher debugging.


Related

  1. HTTP debugging overview
  2. Watch a virtual user during a schedule run
  3. Replay a virtual user after a run completes
  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
  7. HTTP protocol data view preferences