Export (0) Print
Expand All
Expand Minimize

How to: Add a Web Recording to an Existing Web Performance Test

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic appliesTopic does not applyTopic does not applyTopic does not apply

Using the Web Performance Test Editor, you can add Web recordings to an existing Web performance test.

To add Web recordings to a Web performance test

  1. Open a Test project that contains a Web performance test.

    For more information about how to create a test project, see How to: Create and Configure Test Projects for Automated Tests.

  2. From the Test project, open a Web performance test.

    For more information about how to create a Web performance test, see Creating and Editing Web Performance Tests. Your Web performance test opens in the Web Performance Test Editor.

  3. In the Web Performance Test Editor's toolbar, click Add Recording.

    The Web Performance Test Recorder opens inside a new instance of Internet Explorer.

  4. Go to the site that you want to test, generally a non-production Web site, and notice the URLs that are listed in the Web Performance Test Recorder.

    NoteNote

    Typically, Web performance tests are used to test a Web application that is under development and not yet ready for production. Therefore, it is assumed that you have such a Web application.

  5. (Optional) Click more links to record additional pages.

    Visual Studio displays the recorded Web performance test in the Web Performance Test Editor as it is being recorded. After you stop the recording, you can edit the test.

  6. Click Stop to stop recording and close Internet Explorer.

    A dialog box displays the message Detecting dynamic parameters. It also displays a progress bar that shows the status of parameter detection in the HTTP responses that were received.

    If no dynamic parameters are detected, the dialog box displays the message Did not detect any dynamic parameters to promote. The dialog box then closes.

    If dynamic parameters are detected, the Promote Dynamic Parameters to Web Test Parameters dialog box appears. This dialog box contains a table that lists the dynamic parameter values that were found, if any. You can now promote them to Web test parameters. Each row shows one parameter value that you can choose to promote.

  7. (Optional) In the Promote Dynamic Parameters to Web Test Parameters dialog box, select check boxes for the promotions that you want to apply when you run the Web performance test, and click OK.

    NoteNote

    For more information about how to isolate dynamic parameters that are causing playback issues in your Web performance test, see Resolving Web Performance Test Result Viewer Playback Issues in Web Performance Tests

  8. In the Web Performance Test Editor, the Web Performance test includes the added Web requests from the Web Performance Test Recorder session.

  9. On the File menu, click Save to save the newly recorded Web performance test.

Community Additions

ADD
Show:
© 2014 Microsoft