public class BeanShellSampler
extends org.apache.jmeter.util.BeanShellTestElement
implements org.apache.jmeter.samplers.Sampler, org.apache.jmeter.samplers.Interruptible, org.apache.jmeter.engine.util.ConfigMergabilityIndicator
Modifier and Type | Field and Description |
---|---|
static String |
FILENAME |
static String |
INIT_FILE |
static String |
PARAMETERS |
static String |
RESET_INTERPRETER |
static String |
SCRIPT |
Constructor and Description |
---|
BeanShellSampler() |
Modifier and Type | Method and Description |
---|---|
boolean |
applies(org.apache.jmeter.config.ConfigTestElement configElement) |
String |
getFilename() |
protected String |
getInitFileProperty() |
String |
getParameters() |
String |
getScript() |
boolean |
interrupt() |
boolean |
isResetInterpreter() |
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry e) |
clone, getBeanShellInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
public static final String FILENAME
public static final String SCRIPT
public static final String PARAMETERS
public static final String INIT_FILE
public static final String RESET_INTERPRETER
protected String getInitFileProperty()
getInitFileProperty
in class org.apache.jmeter.util.BeanShellTestElement
public String getScript()
getScript
in class org.apache.jmeter.util.BeanShellTestElement
public String getFilename()
getFilename
in class org.apache.jmeter.util.BeanShellTestElement
public String getParameters()
getParameters
in class org.apache.jmeter.util.BeanShellTestElement
public boolean isResetInterpreter()
isResetInterpreter
in class org.apache.jmeter.util.BeanShellTestElement
public org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry e)
sample
in interface org.apache.jmeter.samplers.Sampler
public boolean interrupt()
interrupt
in interface org.apache.jmeter.samplers.Interruptible
public boolean applies(org.apache.jmeter.config.ConfigTestElement configElement)
applies
in interface org.apache.jmeter.engine.util.ConfigMergabilityIndicator
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
Copyright © 1998-2022 Apache Software Foundation. All Rights Reserved.