Re-correlating data with rules

After you have created a data correlation rule set, you can re-correlate data in tests.

Before you begin

Record a test, and create a data correlation rule set.

Procedure

  1. Open a test for editing.
  2. Click Edit > Re-correlate test data. The Re-correlate data window opens.
  3. Select Do rule-based data correlation.
  4. Optional: To remove data correlation from the test data, select Clear existing data correlation. Select Do automatic data correlation to re-correlate the test data by using the automatic data correlation. You can control automatic data correlation in the preferences. Click Window > Preferences > Test > Test Generation. Click HTTP Test Generation, and then click the Data Correlation tab for additional controls over automatic HTTP data correlation.
  5. Click Add. The Rules File Selection window opens.
  6. Expand the list of resources to locate the data correlation rules file to add.
  7. 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.
  8. 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.
  9. Click Finish. The test data is re-correlated.

Feedback