Class JSR223Assertion

All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestBean, org.apache.jmeter.testelement.TestElement, TestStateListener

public class JSR223Assertion extends JSR223TestElement implements Cloneable, Assertion, TestBean
See Also:
  • Constructor Details

    • JSR223Assertion

      public JSR223Assertion()
  • 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.
    • clone

      public Object clone()
      Specified by:
      clone in interface org.apache.jmeter.testelement.TestElement
      Overrides:
      clone in class AbstractTestElement