public class BeanShellSampler extends BeanShellTestElement implements Sampler, Interruptible, ConfigMergabilityIndicator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILENAME |
static java.lang.String |
INIT_FILE |
static java.lang.String |
PARAMETERS |
static java.lang.String |
RESET_INTERPRETER |
static java.lang.String |
SCRIPT |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
BeanShellSampler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(ConfigTestElement configElement)
Does configElement apply to Sampler
|
java.lang.String |
getFilename() |
protected java.lang.String |
getInitFileProperty() |
java.lang.String |
getParameters() |
java.lang.String |
getScript()
Return the script (TestBean version).
|
boolean |
interrupt()
Interrupt the current operation if possible.
|
boolean |
isResetInterpreter() |
SampleResult |
sample(Entry e)
Obtains statistics about the given Entry, and packages the information
into a SampleResult.
|
clone, getBeanShellInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStartedaddPropertiesValues, 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, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddTestElement, 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, traversepublic static final java.lang.String FILENAME
public static final java.lang.String SCRIPT
public static final java.lang.String PARAMETERS
public static final java.lang.String INIT_FILE
public static final java.lang.String RESET_INTERPRETER
protected java.lang.String getInitFileProperty()
getInitFileProperty in class BeanShellTestElementpublic java.lang.String getScript()
BeanShellTestElementgetScript in class BeanShellTestElementpublic java.lang.String getFilename()
getFilename in class BeanShellTestElementpublic java.lang.String getParameters()
getParameters in class BeanShellTestElementpublic boolean isResetInterpreter()
isResetInterpreter in class BeanShellTestElementpublic SampleResult sample(Entry e)
Samplerpublic boolean interrupt()
Interruptibleinterrupt in interface Interruptibletrue if there was an operation to interrupt.public boolean applies(ConfigTestElement configElement)
ConfigMergabilityIndicatorapplies in interface ConfigMergabilityIndicatorconfigElement - ConfigTestElementAbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.