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.
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, getPropertyOrNull, 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
public AssertionResult getResult(SampleResult response)
Assertion
public void setAllowedMD5Hex(String hex)
public String getAllowedMD5Hex()
Copyright © 1998-2023 Apache Software Foundation. All Rights Reserved.