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
InvalidVariableExceptionvoid setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException
parameters - InvalidVariableExceptionString getReferenceKey()
List<String> getArgumentDesc()
Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.