Class BeanShellSampler
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,org.apache.jmeter.engine.util.ConfigMergabilityIndicator,org.apache.jmeter.gui.Searchable,org.apache.jmeter.samplers.Interruptible,org.apache.jmeter.samplers.Sampler,org.apache.jmeter.testelement.TestElement,org.apache.jmeter.testelement.TestStateListener,org.apache.jmeter.testelement.ThreadListener
public class BeanShellSampler extends BeanShellTestElement implements Sampler, Interruptible, ConfigMergabilityIndicatorA sampler which understands BeanShell
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringFILENAMEpublic final static StringSCRIPTpublic final static StringPARAMETERSpublic final static StringINIT_FILEpublic final static StringRESET_INTERPRETERpublic Stringparameterspublic Stringfilenamepublic Stringscriptpublic transient JMeterContextthreadContextpublic transient StringthreadNamepublic final static TestElement.CompanionCompanionpublic final static StringNAMEpublic final static StringGUI_CLASSpublic final static StringENABLEDpublic final static StringTEST_CLASSpublic final static StringCOMMENTS
-
Constructor Summary
Constructors Constructor Description BeanShellSampler()
-
Method Summary
Modifier and Type Method Description BeanShellSamplerSchemagetSchema()PropertiesAccessor<out BeanShellSampler, out BeanShellSamplerSchema>getProps()StringgetScript()StringgetFilename()StringgetParameters()booleanisResetInterpreter()SampleResultsample(Entry e)booleaninterrupt()booleanapplies(ConfigTestElement configElement)-
Methods inherited from class org.apache.jmeter.util.BeanShellTestElement
clone, getFilename, getParameters, getScript, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testStarted, threadFinished, threadStarted -
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse -
Methods inherited from class org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getString, removed, set -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSchema
BeanShellSamplerSchema getSchema()
-
getProps
PropertiesAccessor<out BeanShellSampler, out BeanShellSamplerSchema> getProps()
-
getFilename
String getFilename()
-
getParameters
String getParameters()
-
isResetInterpreter
boolean isResetInterpreter()
-
sample
SampleResult sample(Entry e)
-
interrupt
boolean interrupt()
-
applies
boolean applies(ConfigTestElement configElement)
-
-
-
-