public class StoreDigest extends AbstractProcessContentStep
Either ant or dynamic properties are supported. A stored digest value can be used when invoking subsequent steps for verification purposes.
DEFAULT_DESCRIPTION, ELEMENT_ATTRIBUTE_ID, ELEMENT_ATTRIBUTE_NAME, PROPERTY_TYPE_ANT, PROPERTY_TYPE_ANT_STRICT, PROPERTY_TYPE_DEFAULT, PROPERTY_TYPE_DYNAMIC
description, location, project
Constructor and Description |
---|
StoreDigest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType() |
static java.lang.String |
hexRepresentation(byte[] digest) |
protected java.lang.String |
processContent(Context context)
Calculate the digest value
|
void |
setType(java.lang.String value)
Sets the type of message digest algorithm to use.
|
doExecute, getComputedValue, getProperty, getPropertyType, setProperty, setPropertyType, verifyParameters
addTable, addTask, applyExtractionIfNeeded, applyTableFilterIfNeeded, getHtmlId, getTableLocator, getXpath, isPerformingAction, setHtmlId, setXpath
addStep, executeContainedStep, executeContainedSteps, getSteps
addComputedParameters, clone, emptyParamCheck, execute, getComputedParameters, getContext, getDefaultPropertyType, getDescription, getDuration, getParameterDictionary, getStepLabel, getVerifier, getWebtestProperties, getWebtestProperties, getWebtestProperty, getWebtestProperty, handleException, hasDescription, integerParamCheck, isCompleted, isStarted, isSuccessful, notifyCompleted, notifyStarted, notifyStepResultsListeners, notifySuccess, nullParamCheck, nullResponseCheck, optionalIntegerParamCheck, paramCheck, positiveOrZeroParamCheck, setStepid, setWebtestProperty, setWebtestProperty, toString
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
getDescription, getLocation, getProject, setDescription, setLocation, setProject
protected java.lang.String processContent(Context context)
processContent
in class AbstractProcessContentStep
context
- The context for the response text to calculate the checksum forpublic static java.lang.String hexRepresentation(byte[] digest)
public void setType(java.lang.String value)
value
- message digest algorithm to usepublic java.lang.String getType()