Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Creating and Editing Web Performance Tests

Web performance tests simulate how an end user might interact with a Web application. Typically, you create Web performance tests by recording HTTP requests in a browser session by using the Web Performance Test Recorder. You can also build Web performance tests manually by using the Web Performance Test Editor.

When you open a .webtest file, Visual Studio opens the file in the Web Performance Test Editor, which displays a tree structure of nodes. The nodes can be edited by using the Properties window in Visual Studio.

Microsoft Visual Studio Ultimate provides the functionality to generate a coded test directly from a recorded test. A coded Web performance test is a .NET code file that inherits from WebTest in Visual C# or ThreadedWebTest in Visual Basic. It generates a sequence of HTTP requests. Code generation is the primary and recommended means to create coded Web performance tests.

What to Test

Although you can run a Web performance test against any Web site, that is not the typical way in which this Web testing tool is used. Generally, you test a Web site that you have under development, not your public, production Web site. This site you test is called your non-production Web site.

Tasks

Associated Topics

Use the Web Performance Test Editor to create a new Web performance test: You can use the Web Performance Test Editor to record and configure new Web performance tests in your test project. A recorded Web performance test is displayed as a tree of requests in the Web Performance Test Editor.

Customize and Configure your recorded Web performance test: After you have created a new Web performance test recording, you can apply various options and configuration settings to it such as validation and extraction rules, binding Web requests to a data source, and adding loop or condition branch conditions to it.

NoteNote
Before you customize your Web performance test, it is good practice to verify that your test runs successfully. For more information, see Running Web Performance Tests.

Running Web Performance Tests After you have recorded a Web performance test and configured it to meet your testing needs, you're ready to run your test and view its results.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.