Recorrelating data with rules
After you have created a data correlation rule set, you can recorrelate data in tests.
Before you begin
Procedure
- Open a test for editing. To recorrelate data in tests that are not open in the editor, select multiple tests in the Test Navigator window.
- To recorrelate a test that is open in the test editor,
click Test
Navigator window, and then select Apply data
correlation rules. . To recorrelate
multiple tests, right-click the selected tests in the The Data Correlation and Transformation window opens.
- Select Do rule-based data correlation.
- Optional: To remove data correlation from the
test data, select Clear existing data correlation. Select Do automatic data correlation to
recorrelate the test data by using the automatic data correlation.
You can control automatic data correlation in the preferences. Click HTTP Test Generation, and then click the Data Correlation tab for additional controls over automatic HTTP data correlation.. Click
- Click Add.The Rules File Selection window opens.
- Expand the list of resources to locate the data correlation rules file to add.
- Select the data correlation rules file to add, and then
click OK.Data correlation rules files have the .dcrules extension by default.The rules file is added to the list under Rules Files.
- Optional: Click Add to add more rules files. Use the Up and Down push buttons to move rules files in the list. The data correlation rules are applied in the order in which the files are listed.
- Click Finish.The test data is recorrelated.