Class BSFAssertion

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

public class BSFAssertion extends BSFTestElement implements Cloneable, Assertion, TestBean
See Also:
  • Constructor Details

    • BSFAssertion

      public BSFAssertion()
  • 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