# 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
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.
JSR223Assertion
JSR223AssertionBeanInfo
MD5HexAssertion
ResponseAssertion
Test element to handle Response Assertions, @see AssertionGui
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 jdom
XMLSchemaAssertion
XMLSchemaAssertion.java Validate response against an XML Schema author Dave Maung
XPathAssertion
Checks if the result is a well-formed XML content and whether it matches an XPath