public interface Function
Modifier and Type | Method and Description |
---|---|
String |
execute(SampleResult previousResult,
Sampler currentSampler)
Given the previous SampleResult and the current Sampler, return a string
to use as a replacement value for the function call.
|
List<String> |
getArgumentDesc()
Return a list of strings briefly describing each parameter your function
takes.
|
String |
getReferenceKey()
Return the name of your function.
|
void |
setParameters(Collection<CompoundVariable> parameters)
A collection of the parameters used to configure your function.
|
String execute(SampleResult previousResult, Sampler currentSampler) throws InvalidVariableException
InvalidVariableException
void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException
parameters
- InvalidVariableException
String getReferenceKey()
List<String> getArgumentDesc()
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.