Package com.xceptance.xlt.api.validators
Class StandardValidator
- java.lang.Object
-
- com.xceptance.xlt.api.validators.StandardValidator
-
public class StandardValidator extends java.lang.Object
This validator groups the four most common validators into one to make the integration into the code easier.
-
-
Constructor Summary
Constructors Constructor Description StandardValidator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StandardValidator
getInstance()
Returns the instance.void
validate(HtmlPage page)
The most common validators grouped into one validator to simplify the integration.
-
-
-
Method Detail
-
validate
public void validate(HtmlPage page) throws java.lang.Exception
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:
java.lang.Exception
-
getInstance
public static StandardValidator getInstance()
Returns the instance.- Returns:
- the singleton instance of this validator
-
-