public class CompareAssertion extends AbstractTestElement implements Assertion, TestBean, Serializable, LoopIterationListener
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
CompareAssertion() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompareTime() |
AssertionResult |
getResult(SampleResult response)
Returns the AssertionResult object encapsulating information about the
success or failure of the assertion.
|
Collection<SubstitutionElement> |
getStringsToSkip() |
boolean |
isCompareContent() |
void |
iterationStart(LoopIterationEvent iterEvent)
Called when a loop iteration is about to start.
|
void |
setCompareContent(boolean compareContent) |
void |
setCompareTime(long compareTime) |
void |
setStringsToSkip(Collection<SubstitutionElement> stringsToSkip) |
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitremovedpublic AssertionResult getResult(SampleResult response)
Assertionpublic void iterationStart(LoopIterationEvent iterEvent)
LoopIterationListeneriterationStart in interface LoopIterationListeneriterEvent - the eventpublic boolean isCompareContent()
public void setCompareContent(boolean compareContent)
compareContent - The compareContent to set.public long getCompareTime()
public void setCompareTime(long compareTime)
compareTime - The compareTime to set.public Collection<SubstitutionElement> getStringsToSkip()
public void setStringsToSkip(Collection<SubstitutionElement> stringsToSkip)
stringsToSkip - The stringsToSkip to set.Copyright © 1998-2020 Apache Software Foundation. All Rights Reserved.