org.apache.jmeter.protocol.java.sampler
Class BSFSampler
- Cloneable, Sampler, Serializable, TestElement
A sampler which understands BSF
clone, getFilename, getManager, getParameters, getScript, getScriptLanguage, initManager, processFileOrScript, readResolve, setFilename, setParameters, setScript, setScriptLanguage |
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty |
BSFSampler
public BSFSampler()
getLabel
public String getLabel()
Returns a formatted string label describing this sampler
- a formatted string label describing this sampler
getScript
public String getScript()
Return the script (TestBean version).
Must be overridden for subclasses that don't implement TestBean
otherwise the clone() method won't work.
- getScript in interface BSFTestElement
sample
public SampleResult sample(Entry e)
Obtains statistics about the given Entry, and packages the information
into a SampleResult.
- sample in interface Sampler
setScript
public void setScript(String newScript)
Set the script (TestBean version).
Must be overridden for subclasses that don't implement TestBean
otherwise the clone() method won't work.
- setScript in interface BSFTestElement
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.