|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Function
Methods that a function must implement
Method Summary | |
---|---|
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. |
Method Detail |
---|
String execute(SampleResult previousResult, Sampler currentSampler) throws InvalidVariableException
previousResult
- The previous SampleResult
currentSampler
- The current Sampler
InvalidVariableException
- - when the variables for the function call can't be evaluatedvoid setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException
parameters
- The parameters for the function call
InvalidVariableException
- - when the variables for the function call can't be evaluatedString getReferenceKey()
List<String> getArgumentDesc()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |