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
previousResult - The previous SampleResultcurrentSampler - The current SamplerInvalidVariableException - - when the variables for the function call can't be evaluatedvoid setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException
parameters - The parameters for the function callInvalidVariableException - - when the variables for the function call can't be evaluatedString getReferenceKey()
List<String> getArgumentDesc()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.