Use the Test Data
Sources window to add or change data correlation for any
supported test element.
The test generator attempts to perform automated data correlation.
You can also manually correlate request values with other test data.
The
Test Data Sources window displays the following
types of test data that you can substitute from:
- References
- Datapools
- Custom code
- Test variables
- Built-in variables
You can right-click references, custom code, and built-in variables
to display a menu that contains commonly used commands. In addition,
you can use the toolbar and menu at the top of the
Test
Data Sources window to complete common operations, such
as creating a datapool or switching from tree view to list view. The
Substitute From push button is enabled when you select
a substitution site in the test editor and a data source from one
of the five categories in the
Test Data Sources window. Click
Substitute From to correlate
the data source and the substitution site.

- References
- The data sources that have been created in the test and the potential
matches that are available for a selected substitution site. For example,
text that is found in a response and used in a subsequent request
is automatically created as a reference. Clear the Matching
References Only check box to see all the references that
occur before the substitution site in the test. Select Include Potential Matches to see a list of locations
that might match the substitution site. Replace the type filter text string with keywords to filter the
list of references. Select a reference in the References table to display the reference in the pane at the bottom of the
window. Use the controls to the left of the preview pane to switch
between inline view and tree view.
- Datapools
- The datapools that have been added to the test. To add a new datapool,
click the Add new Datapool icon (
).
- Custom Code
- The custom code that is available as data sources for this substitution
site, if you have written Test Execution Services (TES) custom code.
- Test Variables
- The test variables and their types that are available as data
sources for this substitution site. Replace the type
filter text string with keywords to filter the list
of test variables.
- Built-in Variables
- The dynamically calculated variables, such as Current
Date, Random Number, and Timestamp, that are available as data sources for this
substitution site. To create a built-in variable, right-click inside
the Built-in Variables page, and select New, or click the New push button
at the top of the window.
Detaching the Test Data Sources window
The Test Data Sources window is detachable. To detach the Test Data Sources window, right-click the Test
Data Sources tab, and then select Detached. When detached, the Test Data Sources window
is always displayed in front of the other windows that make up the
workbench.