Package com.xceptance.xlt.api.validators
Class StandardValidator
java.lang.Object
com.xceptance.xlt.api.validators.StandardValidator
This validator groups the four most common validators into one to make the integration into the code easier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardValidatorReturns the instance.voidThe most common validators grouped into one validator to simplify the integration.
-
Constructor Details
-
StandardValidator
public StandardValidator()
-
-
Method Details
-
validate
The most common validators grouped into one validator to simplify the integration. It will validate the following aspects:- response code,
- content length,
- closing HTML tag and
- JTidy
- Parameters:
page- the page to check- Throws:
Exception
-
getInstance
Returns the instance.- Returns:
- the singleton instance of this validator
-