Package org.apache.jmeter.control
Class TransactionSampler
-
- 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.testelement.TestElement
public class TransactionSampler extends AbstractSampler
Transaction Sampler class to measure transaction times (not exposed as a GUI class, as it is only used internally by TransactionController in Generate Parent sample mode)
-
-
Field Summary
Fields Modifier and Type Field Description public TransactionController
transactionController
public Sampler
subSampler
private transient boolean
runningVersion
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 TransactionSampler()
TransactionSampler(TransactionController controller, String name)
-
Method Summary
Modifier and Type Method Description TransactionController
getTransactionController()
Sampler
getSubSampler()
SampleResult
sample(Entry e)
One cannot sample the TransactionSampler directly. SampleResult
getTransactionResult()
boolean
isTransactionDone()
void
addSubSamplerResult(SampleResult res)
boolean
applies(ConfigTestElement configElement)
-
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
-
Methods inherited from class org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, get, get, get, get, get, get, get, get, get, getComment, getName, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getProps, getSchema, getString, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, removed, set, setComment, setEnabled, setName, setProperty, setTemporary, traverse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
TransactionSampler
TransactionSampler()
-
TransactionSampler
TransactionSampler(TransactionController controller, String name)
-
-
Method Detail
-
getTransactionController
TransactionController getTransactionController()
-
getSubSampler
Sampler getSubSampler()
-
sample
SampleResult sample(Entry e)
One cannot sample the TransactionSampler directly.
-
getTransactionResult
SampleResult getTransactionResult()
-
isTransactionDone
boolean isTransactionDone()
-
addSubSamplerResult
void addSubSamplerResult(SampleResult res)
-
applies
boolean applies(ConfigTestElement configElement)
-
-
-
-