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 |
---|---|---|---|
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:
How to: Add a Database Data Source to a Web Performance Test
How to: Add a CSV File Data Source to a Web Performance Test
How to: Add an XML File Data Source to a Web Performance Test
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
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.
Click the node that you want to bind.
In the Properties window, find the Value property.
Click the property, and then click the down arrow that appears.
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.
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