org.apache.jmeter.assertions (Apache JMeter dist API)
Description: declaration: package: org.apache.jmeter.assertions

# Package org.apache.jmeter.assertions

package org.apache.jmeter.assertions

## Assertions

### Methods to be implemented

getResult(SampleResult)

#### Calling sequence

When the test plan is prepared for running, one instance of the class is created for each occurrence of an assertion in each thread.

Assertions are called from the same thread as the sampler

- Related Packages
  Package
  Description
  org.apache.jmeter
  org.apache.jmeter.assertions.gui
  org.apache.jmeter.assertions.jmespath
- Class
  Description
  Assertion
  An Assertion checks a SampleResult to determine whether or not it is successful.
  AssertionResult
  Implements Response Assertion checking.
  BeanShellAssertion
  An Assertion which understands BeanShell
  BSFAssertion
  BSFAssertionBeanInfo
  CompareAssertion
  CompareAssertionBeanInfo
  CompareAssertionResult
  DurationAssertion
  Checks if an Sample is sampled within a specified time-frame.
  HTMLAssertion
  Assertion to validate the response of a Sample with Tidy.
  JSONPathAssertion
  This is main class for JSONPath Assertion which verifies assertion on previous sample result using JSON path expression
  JSR223Assertion
  JSR223AssertionBeanInfo
  LogErrorHandler
  `ErrorHandler` implementation that logs
  MD5HexAssertion
  MD5HexAssertion class creates an MD5 checksum from the response and matches it with the MD5 hex provided.
  ResponseAssertion
  Test element to handle Response Assertions.
  SizeAssertion
  Checks if the results of a Sample matches a particular size.
  SMIMEAssertionTestElement
  SubstitutionElement
  XMLAssertion
  Checks if the result is a well-formed XML content using `XMLReader`
  XMLSchemaAssertion
  XMLSchemaAssertion.java Validate response against an XML Schema author
  XPath2Assertion
  Checks if the result is a well-formed XML content and whether it matches an XPath
  XPathAssertion
  Checks if the result is a well-formed XML content and whether it matches an XPath