public class CompareAssertion extends AbstractTestElement implements Assertion, TestBean, java.io.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.
|
java.util.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(java.util.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, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
removed
public AssertionResult getResult(SampleResult response)
Assertion
public void iterationStart(LoopIterationEvent iterEvent)
LoopIterationListener
iterationStart
in interface LoopIterationListener
iterEvent
- 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 java.util.Collection<SubstitutionElement> getStringsToSkip()
public void setStringsToSkip(java.util.Collection<SubstitutionElement> stringsToSkip)
stringsToSkip
- The stringsToSkip to set.Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.