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.
Requirements
-
Visual Studio Ultimate
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.
|
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.
|
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.
Note