| org.apache.jmeter.assertions.Assertion
All known Subclasses: org.apache.jmeter.assertions.SizeAssertion, org.apache.jmeter.assertions.ResponseAssertion, org.apache.jmeter.assertions.XPathAssertion, org.apache.jmeter.assertions.XMLAssertion, org.apache.jmeter.assertions.DurationAssertion, org.apache.jmeter.assertions.MD5HexAssertion, org.apache.jmeter.assertions.BeanShellAssertion, org.apache.jmeter.assertions.XMLSchemaAssertion, org.apache.jmeter.assertions.HTMLAssertion,
Assertion | public interface Assertion (Code) | | An Assertion checks a SampleResult to determine whether or not it is
successful. The resulting success status can be obtained from a corresponding
Assertion Result. For example, if a web response doesn't contain an expected
expression, it would be considered a failure.
version: $Revision: 493779 $ |
getResult | AssertionResult getResult(SampleResult response)(Code) | | Returns the AssertionResult object encapsulating information about the
success or failure of the assertion.
Parameters: response - the SampleResult containing information about the Sample(duration, success, etc) the AssertionResult containing the information about whether theassertion passed or failed. |
|
|