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

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

Requirements

  • Visual Studio Ultimate

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, choose 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 website, and notice the URLs that are listed in the Web Performance Test Recorder.

    Note

    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) Choose 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. Choose 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 choose OK.

    Note

    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, choose Save to save the newly recorded Web performance test.

See Also

Other Resources

Customizing Web Performance Test Recordings Using Web Performance Test Editor