AbstractFunction, BeanShell, CharFunction, CompoundVariable, CSVRead, EscapeHtml, EscapeOroRegexpChars, EvalFunction, EvalVarFunction, FileToString, IntSum, IterationCounter, JavaScript, Jexl2Function, JexlFunction, LogFunction, LogFunction2, LongSum, MachineIP, MachineName, Property, Property2, Random, RandomString, RegexFunction, SamplerName, SetProperty, SplitFunction, StringFromFile, TestPlanName, ThreadNumber, TimeFunction, UnEscape, UnEscapeHtml, UrlDecode, UrlEncode, Uuid, Variable, XPathpublic interface Function
| Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.