Class StandardValidator

java.lang.Object
com.xceptance.xlt.api.validators.StandardValidator

public class StandardValidator extends Object
This validator groups the four most common validators into one to make the integration into the code easier.
  • Constructor Details

    • StandardValidator

      public StandardValidator()
  • Method Details

    • validate

      public void validate(HtmlPage page) throws 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:
      Exception
    • getInstance

      public static StandardValidator getInstance()
      Returns the instance.
      Returns:
      the singleton instance of this validator