Bagikan melalui


How to: Add Data Binding to a Web Request

Before you can add data binding to a Web request, you must add a data source to your Web 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 test

  1. In the Web Test Editor, find a request that you want to bind. You might have to expand the Form Post Parameters folder, and locate a 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 test.

See Also

Tasks

Walkthrough: Adding Data Binding to a Web Test

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

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

Other Resources

Data Binding in Web Tests