Dela via


How to: Add Data Binding to a Web Request

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic applies Topic does not apply Topic does not apply Topic does not apply

Before you can add data binding to a Web request, you must add a data source to your Web performance test. For more information, see one of the following topics:

After you add data binding to a Web request, you must configure the test run to access one or more rows of data. For more information see the following topic:

To add data binding to a Web performance test

  1. In the Web Performance Test Editor, find a request that you want to bind. You might have to expand any subfolders to located the specific form field.

  2. Click the node that you want to bind.

  3. In the Properties window, find the Value property.

  4. Click the property, and then click the down arrow that appears.

  5. Expand the data source that you want to use, expand the table that you want to use, and then click the column that you want to use.

    The request is now bound to the data source.

    Note

    If the data source you want to bind to is not available, click Add Data Source at the bottom of the property pane to add a new data source. If a data source changes after you bind to it, you can click Refresh Columns at the bottom of the property pane to update the columns available.

  6. On the File menu, click Save to save the Web performance test.

See Also

Tasks

Walkthrough: Adding Data Binding to a Web Performance Test (CSV File)

Walkthrough: Adding Data Binding to a Web Performance Test (XML File)

Walkthrough: Adding Data Binding to a Web Performance Test

Concepts

Binding a Data Source to a Web Performance Test