Export (0) Print
Expand All
Expand Minimize

Web Performance Test Editor Overview

Use the Web Performance Test Editor to edit your Web performance tests after you have recorded them. Typically, you record your Web performance tests using the Web Performance Test Recorder, which is installed as part of Microsoft Visual Studio Ultimate. For more information about how to record Web performance tests, see How to: Create a New Web Performance Test Using the Web Performance Test Recorder.

You have two ways to carry out actions in the Web Performance Test Editor, You can use the buttons on the toolbar or you can right-click and select items from the shortcut menu.

For more information about Web performance tests, see How to: Edit an Existing Web Performance Test Using the Web Performance Test Editor.

You can use the toolbar in the Web Performance Test Editor to perform the following actions to the Web performance test being edited.

Web Performance Test Toolbar

Toolbar Button

Action

Run Test

Run test in the Web Performance Test Results Viewer.

For more information, see How to: Run a Web Performance Test.

Add Data Source

Adds a data source to the Web performance test that you can use for data-binding.

For more information, see How to: Add Data Binding to a Web Request.

Set Credentials

Set the username and password for the user you want to simulate.

For more information, see How to: Set Credentials on a Web Performance Test.

Add Recording

Displays the Web browser ready to record additional interaction with a Web application.

For more information, see How to: Create a New Web Performance Test Using the Web Performance Test Recorder.

Add Web Test Plug-in

Displays a dialog box from which to select a Web performance test plug-in to add to your Web performance test.

For more information, How to: Create a Web Performance Test Plug-In.

Add Request Plug-in

Displays a dialog box from which to select a request plug-in to add to your Web performance test. For more information, see How to: Create a Request-Level Plug-In.

Generate Code

Displays the Generate coded Web performance test dialog box so that you can generate a coded version of this Web test.

For more information, see How to: Create a Coded Web Performance Test.

Parameterize Web Servers

Displays the Parameterize Web Server dialog box. You can parameterize the URL for your Web server. The purpose of parameterization is to make it easy to change the Web server that your tests target.

For more information, see How to: Parameterize the URL for a Web Performance Tests Web Server.

Promote Dynamic parameters to Web Test Parameters

Displays the Detecting dynamic parameters dialog box which automatically starts detecting dynamic parameters in the Web performance test.

For more information, see How to: Promote Dynamic Parameters to Web Performance Test Parameters.

Set Request Details

Displays the Request Details dialog box allowing you to assign reporting names and specify think times for the requests in the Web performance test.

For more information, see How to: Set Request Details in a Web Performance Test.

Create performance Session for this test

Starts the Performance Wizard which allows you to specify a Web application to create a performance session on.

For more information, see How to: Start a Performance Session on a Web Application from the Web Performance Test Editor.

In the editor, you see a hierarchy tree of URLs, called the request tree. You can select nodes in the request tree to view and change the properties that are associated with requests using the Properties window of Visual Studio.

You can also expand a request to display the nodes and parameters of the request.

You can right-click any node and the tree to display a shortcut menu that contains the set of available operations for that node type. The node types include the one test node (root node) for the Web performance test you are currently editing, requests nodes, Data Sources, Context Parameters and Validation Rules. The operations available for these nodes are described in the following table.

NoteNote

Not all these operation are available for all node types.

Right-clicking on a request node

Right-clicking on a request node

Node Right-Click Option

Action

Add Request (test node)

Insert Request (request node)

Insert an additional request in your Web performance test.

Add Web Service request (test node)

Insert Web Service Request (request node)

Insert an additional request with a string body. This is used for simulating Web Service Requests.

Add Transaction (test node)

Insert Transaction (request node)

Encapsulate a set of actions in a transaction for the Web performance test.

For more information, see How to: Add a Transaction to a Web Performance Test.

Add Loop (test node)

Insert Loop

Add loop logic to Web performance tests to assign specific conditional rules and properties. This provides a simple way to have requests within a Web performance test run multiple times.

How to: Add Loops to Web Performance Tests Requests

Add Condition (test node)

Insert Condition

Use conditional branching logic in your Web performance tests to assign specific conditional rules and properties.

How to: Add "If Then" Branch Conditions to Web Performance Tests Requests

Add Comment (test node)

Insert Comment (request node)

Insert a comment in your Web performance test as you would with any other code editing.

For more information, see How to: Add Comments in the Web Performance Test Editor

Add Call to Web Test (test node)

Insert Call to Web Test

Into one Web performance test, insert a call to another Web performance test.

For more information, see How to: Insert a Call in a Web Performance Test to Another Web Performance Test.

Add Recording (test node)

Insert Recording (request node)

Insert another HTTP request or set of requests through the Web Performance Test Recorder in the browser.

For more information, see How to: Create a New Web Performance Test Using the Web Performance Test Recorder.

Add Data Source (test node, Data Sources node)

Adds data binding in a Web performance test to provide the input to HTTP requests in the Web performance test.

For more information, see Binding a Data Source to a Web Performance Test.

Add Context Parameter (test node, Contest Parameters node)

Adds a context parameter to the Web performance test which you can apply properties to in the Properties window.

For more information, see How to: Use Context Parameters in a Web Performance Test.

Extract Web Test (test node, request node)t

Displays the Extract Web Test dialog box.

For more information, see How to: Extract Requests in a Web Performance Test to Create a New Web Performance Test.

Add Dependent Request (request node)

Add a dependent request.

Add Header (request node)

Add a header to this request.

Add URL QueryString Parameter (request node)

Add a Query String parameter to this request.

Add Form Post Parameter (request node)

Add a Form Post Parameter to this request.

Add File Upload Parameter (request node)

Add a File Upload Parameter.

Add Validation Rule (test node, request node)

For more information, see How to: Add a Validation Rule to a Web Performance Test.

Add Extraction Rule (request node)

For more information, see How to: Add an Extraction Rule to a Web Performance Test.

Add Web Test Plug-in (test node)

Add Request Plug-in (request node)

Adds a custom request plug-in.

For more information, see How to: Create a Web Performance Test Plug-In.

Find and Replace in Request (all nodes)

Displays the Find and Replace in Request dialog box providing a quick way to replace requests in the Web performance test.

For more information, see How to: Use Find and Replace in a Web Performance Test.

Generate Code (test node)

Converts the Web performance test into a C# or Visual Basic coded Web performance test.

For more information, see How to: Create a Coded Web Performance Test.

Parameterize Web Servers (test node)

Displays the Parameterize Web Server dialog box. You can parameterize the URL for your Web server. The purpose of parameterization is to make it easy to change the Web server that your tests target.

For more information, see How to: Parameterize the URL for a Web Performance Tests Web Server.

Promote Dynamic Parameters (test node)

Captures dynamic parameters from HTTP responses uses extraction rules which are used on subsequent HTTP request.

For more information, see How to: Promote Dynamic Parameters to Web Performance Test Parameters.

Run Test (all nodes)

Run your Web performance test in the Web Performance Test Results Viewer.

For more information, see How to: Run a Web Performance Test.

Cut (items within all nodes)

Cut the item to move it to another test or location within this test.

Copy (items within all node)

Copy the item to paste it to another test or location within this test.

Delete (items within all node)

Delete the item.

Properties (all nodes)

Display the properties for this node in the Properties window.

Community Additions

ADD
Show:
© 2014 Microsoft