Validating Server Response Data
Correct operation of the server is often verified through the server response code. If a server response code indicates an error the load test results may not be valid. However, server response code alone is often not sufficient to verify if the system functions correctly and you need to verify the message content received from the server as well.
Response Validation Rules in WebLoadUI Pro
WebLoadUI Pro lets you create rules for checking of server response body. The rules can be applied against server responses received during the test. Here are some example rules:
-
Check if a response includes or doesn't include a particular text string
-
Check the text box values
-
Check if a dataset returned by the server contains a record that has been added to the server database by an earlier request.
You can define several test validation rules for the same request in order to define compound checks.
Supported Applications
Response validation works for all the supported application and protocol types: HTTP, HTTPS, Adobe Flash, Flex, Microsoft Silverlight and others.
This capability is particularly important for testing of Rich Internet Applications like Adobe Flash or Flex. For example, the server parts in such applications may return the response code 200 and pass information on errors within the response body. Without server response validations this is a time consuming and error prone process.
Results Evaluation and Reporting
WebLoadUI Pro logs information on every failed rule. After the test run is over, you can view the results in the Failed Validations graph and in the test log.
Get started with Load Testing and try WebLoadUI Pro for free.