public class MD5HexAssertion extends AbstractTestElement implements Serializable, Assertion
The assertion will fail when the expected hex is different from the one calculated from the response OR when the expected hex is left empty.
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
MD5HexAssertion() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedMD5Hex() |
AssertionResult |
getResult(SampleResult response)
Returns the AssertionResult object encapsulating information about the
success or failure of the assertion.
|
void |
setAllowedMD5Hex(String hex) |
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 setAllowedMD5Hex(String hex)
public String getAllowedMD5Hex()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.