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

Interface Summary

Assertion An Assertion checks a SampleResult to determine whether or not it is successful.

Class Summary

AssertionResult Implements Response Assertion checking.
BeanShellAssertion A sampler which understands BeanShell
BSFAssertion
BSFAssertionBeanInfo
DurationAssertion Checks if an Sample is sampled within a specified time-frame.
HTMLAssertion Assertion to validate the response of a Sample with Tidy.
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, @see AssertionGui
SizeAssertion Checks if the results of a Sample matches a particular size.
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

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


Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.