Data Binding in Web Tests
You can use data binding in a Web test to provide the input to HTTP requests in the Web test. For example, you could provide a list of logon names and logon passwords that would be used during the execution of the Web test to try repeated logons.
You can examine your Web tests and decide which part of a test you want to be data-driven. Then you can create a data source for that part of the test. You can bind data in several locations in a Web test. For more information, see About Data Binding in Web Tests.
In This Section
How to: Add a Database Data Source to a Web Test
Steps to add a database to a Web test as a data source, so that you can bind requests to it.How to: Add a CSV File Data Source to a Web Test
Steps to add a CSV file to a Web test as a data source, so that you can bind requests to it.How to: Add an XML File Data Source to a Web Test
Steps to add an XML file to a Web test as a data source, so that you can bind requests to it.How to: Add Data Binding to a Web Request
Steps to help you bind a Web test request to a data source in the Web test.How to: Add Data Binding to a Web Service Request
Steps to help you bind a Web service request to a data source. Includes the code to edit the SOAP body.How to: Configure Data Binding in a Web Test
Steps to help you configure how many times you want a Web test to access the data in a data source.How to: Add a Schema Definition to a Text File Data Source
Steps to help you describe a text file data source, such as a CSV file without column headers.