Test data sources overview


Overview

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:

You can right-click references, custom code, and built-in variables to display a menu containing 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 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 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.


See

  1. Correlate a request value with test data
  2. Substitute request content with file contents


Related:

Data correlation overview
Data correlation rules overview
Guidelines for adjusting data correlation
View data correlation
View references
Create a reference or field reference
Correlate multiple fields in a test
Finding data correlation errors
Disable data correlation
Recorrelating test data


Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.