Data correlation rules overview
Use the data correlation rules editor to customize how data is correlated. You can...
- Control how references and substitutions are generated in tests
- Store these rules so that you do not have to manually correlate data in every test that you record against a particular application
Create data correlation rule sets in the rules editor. Data correlation rule sets are also known as rules files. Each rule set can contain multiple rule passes, and each rule pass can contain multiple rules. When you re-correlate test data with data correlation rules, each rule set is applied in the order that we specify. Within each rule set, each rule pass is applied in order. Within each rule pass, each rule is applied in order.
You can use data correlation rules to do these tasks:
- Create a reference, substitution, variable, or datapool column
- Link a substitution to a reference
- Rename a reference or substitution
- Encode a substitution
- Unlink a substitution from a reference
- Remove a specific reference, substitution, or variable
- Remove all references or substitutions
Typically, you create a substitution and then link a reference to the substitution. References are located in the data that the server under test returns, while substitutions are in the data sent to the server.
See Link a reference to the substitution.
Rule sets are hierarchical trees. You can insert child rules, which accept values generated by parent rules as input. To find a particular reference by name, first add a Find a reference rule, and then add a child Reference name rule. In the rules editor, you can also combine rules by using And and Or and Not rules.
See
- Create data correlation rule sets
- Create a reference
- Create a substitution
- Example: Link references to substitutions
- Example: Link substitutions to references
- Example: Link substitutions to built-in data sources
- Recorrelate data with rules
- Record tests with data correlation rules
- Generate data correlation rules in the test editor
- View data correlation rule usage
Related:
Data correlation overview
Test data sources 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.