Class XMLSchemaAssertion

java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.assertions.XMLSchemaAssertion
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, org.apache.jmeter.testelement.TestElement

public class XMLSchemaAssertion extends AbstractTestElement implements Serializable, Assertion
XMLSchemaAssertion.java Validate response against an XML Schema author
See Also:
  • Field Details

  • Constructor Details

    • XMLSchemaAssertion

      public XMLSchemaAssertion()
  • Method Details

    • getResult

      public AssertionResult getResult(SampleResult response)
      Description copied from interface: Assertion
      Returns the AssertionResult object encapsulating information about the success or failure of the assertion.
      Specified by:
      getResult in interface Assertion
      Parameters:
      response - the SampleResult containing information about the Sample (duration, success, etc)
      Returns:
      the AssertionResult containing the information about whether the assertion passed or failed.
    • setXsdFileName

      public void setXsdFileName(String xmlSchemaFileName)
    • getXsdFileName

      public String getXsdFileName()