public class Groovy
extends org.apache.jmeter.functions.AbstractFunction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INIT_FILE |
| Constructor and Description |
|---|
Groovy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
execute(org.apache.jmeter.samplers.SampleResult previousResult,
org.apache.jmeter.samplers.Sampler currentSampler) |
java.util.List<java.lang.String> |
getArgumentDesc() |
java.lang.String |
getReferenceKey() |
protected void |
populateBindings(javax.script.Bindings bindings)
Populate variables to be passed to scripts
|
void |
setParameters(java.util.Collection<org.apache.jmeter.engine.util.CompoundVariable> parameters) |
public static final java.lang.String INIT_FILE
protected void populateBindings(javax.script.Bindings bindings)
bindings - Bindingspublic java.lang.String execute(org.apache.jmeter.samplers.SampleResult previousResult,
org.apache.jmeter.samplers.Sampler currentSampler)
throws org.apache.jmeter.functions.InvalidVariableException
execute in interface org.apache.jmeter.functions.Functionexecute in class org.apache.jmeter.functions.AbstractFunctionorg.apache.jmeter.functions.InvalidVariableExceptionpublic void setParameters(java.util.Collection<org.apache.jmeter.engine.util.CompoundVariable> parameters)
throws org.apache.jmeter.functions.InvalidVariableException
setParameters in interface org.apache.jmeter.functions.FunctionsetParameters in class org.apache.jmeter.functions.AbstractFunctionorg.apache.jmeter.functions.InvalidVariableExceptionpublic java.lang.String getReferenceKey()
getReferenceKey in interface org.apache.jmeter.functions.FunctiongetReferenceKey in class org.apache.jmeter.functions.AbstractFunctionpublic java.util.List<java.lang.String> getArgumentDesc()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.