This documentation is archived and is not being maintained.

DataBindingAccessMethod Enumeration

Enumeration for the access method that is used for data binding.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public enum DataBindingAccessMethod

Member nameDescription
RandomRandomly selects data from the data source for the duration of the test.
SequentialSequentially selects data from the data source for the duration of the test. If necessary, starts at the first row of the data source again.
UniqueSequentially selects each element in the data source only one time and ends the test when the data is exhausted. For example, if the data source has ten rows, then the load test will have ten test iterations executed and then stop, even if there is time left in the test duration. Additionally, if there are other tests in the load test not using the unique data binding option, the load test will continue to run those tests although the unique tests have ended.
DoNotMoveCursorSelects the data pointed by the cursor. The selection remains constant for the duration of the test.

Represents the order that data is retrieved from tables in a data source.

If you are running a load test on multiple agents, the behavior for Random and Sequential are the same. Each agent uses its own copy of the data source to select random or sequential data. For Unique, each row in the data source will only be used one time across all agents. For example, if you have three agents, the data rows from the data source will be divided between the three agents and no row will be used more than one time. After the test has been run with every data row, the Web performance test will stop running.