
Impact of Validation Rules on Load Testing
Execution of validation rules has an impact on performance in load testing. To reduce the performance impact, use the Validation Level of a request to control which validation rules are used in a specific load test. You can set the validation level of each rule to Low, Medium, or High. Typically, the higher you set the validation level, the slower your test will run.
Setting the Validation Level of a rule in a request determines when that validation rule is used in a load test. For example, setting it to High means that the rule is executed only when the load test validation level is set to high.
Load Test Validation level
|
Description of Request settings used
|
|---|
Low
|
Invoke only rules with a setting of Low
|
Medium
|
Invoke rules with a setting of Low and Medium
|
High
|
Invoke all rules - Low, Medium, and High
|
The ability to set the rule levels in both the Web test request and the load test setting gives you flexibility in your testing. Setting a load test setting to Low executes the fewest rules and can be used for heavy load test and stress runs. Setting a load test setting to High executes the most rules and should be used when validation is more important than maximum throughput.