- All Known Implementing Classes:
public interface Assertion
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.
getResultReturns the AssertionResult object encapsulating information about the success or failure of the assertion.
response- the SampleResult containing information about the Sample (duration, success, etc)
- the AssertionResult containing the information about whether the assertion passed or failed.