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
-
ClassDescriptionAn Assertion checks a SampleResult to determine whether or not it is successful.Implements Response Assertion checking.An Assertion which understands BeanShellChecks if an Sample is sampled within a specified time-frame.Assertion to validate the response of a Sample with Tidy.This is main class for JSONPath Assertion which verifies assertion on previous sample result using JSON path expression
ErrorHandler
implementation that logsMD5HexAssertion class creates an MD5 checksum from the response and matches it with the MD5 hex provided.Test element to handle Response Assertions.Checks if the results of a Sample matches a particular size.Checks if the result is a well-formed XML content usingXMLReader
XMLSchemaAssertion.java Validate response against an XML Schema authorChecks if the result is a well-formed XML content and whether it matches an XPathChecks if the result is a well-formed XML content and whether it matches an XPath