Class BSFSampler
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,org.apache.jmeter.engine.util.ConfigMergabilityIndicator
,org.apache.jmeter.gui.Searchable
,org.apache.jmeter.samplers.Sampler
,org.apache.jmeter.testbeans.TestBean
,org.apache.jmeter.testelement.TestElement
public class BSFSampler extends BSFTestElement implements Sampler, TestBean, ConfigMergabilityIndicator
A sampler which understands BSF
-
-
Field Summary
Fields Modifier and Type Field Description public String
parameters
public String
filename
public String
script
public final static String
DEFAULT_SCRIPT_LANGUAGE
public transient JMeterContext
threadContext
public transient String
threadName
public final static TestElement.Companion
Companion
public final static String
NAME
public final static String
GUI_CLASS
public final static String
ENABLED
public final static String
TEST_CLASS
public final static String
COMMENTS
-
Constructor Summary
Constructors Constructor Description BSFSampler()
-
Method Summary
Modifier and Type Method Description SampleResult
sample(Entry e)
boolean
applies(ConfigTestElement configElement)
-
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
-
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, 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.util.BSFTestElement
getScriptLanguage, setScriptLanguage
-
Methods inherited from class org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProps, getSchema, getString, removed, set
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-