public class ParallelSampler extends org.apache.jmeter.samplers.AbstractSampler implements org.apache.jmeter.control.Controller, org.apache.jmeter.testelement.ThreadListener, org.apache.jmeter.samplers.Interruptible, org.apache.jmeter.threads.JMeterThreadMonitor, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ParallelSampler.ParallelThreadFactory |
| Modifier and Type | Field and Description |
|---|---|
protected List<org.apache.jmeter.testelement.TestElement> |
controllers |
protected ParallelListenerNotifier |
notifier |
| Constructor and Description |
|---|
ParallelSampler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIterationListener(org.apache.jmeter.engine.event.LoopIterationListener listener) |
void |
addTestElement(org.apache.jmeter.testelement.TestElement te) |
boolean |
getGenerateParent() |
void |
initialize() |
boolean |
interrupt() |
boolean |
isDone() |
org.apache.jmeter.samplers.Sampler |
next() |
void |
removeIterationListener(org.apache.jmeter.engine.event.LoopIterationListener iterationListener) |
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry e) |
void |
setGenerateParent(boolean value) |
void |
setRunningVersion(boolean runningVersion) |
void |
threadFinished() |
void |
threadFinished(org.apache.jmeter.threads.JMeterThread thread) |
void |
threadStarted() |
void |
triggerEndOfLoop() |
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, 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, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitcanRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTemporary, setThreadContext, setThreadName, traverseprotected List<org.apache.jmeter.testelement.TestElement> controllers
protected final ParallelListenerNotifier notifier
public void addTestElement(org.apache.jmeter.testelement.TestElement te)
addTestElement in interface org.apache.jmeter.testelement.TestElementaddTestElement in class org.apache.jmeter.testelement.AbstractTestElementpublic void setRunningVersion(boolean runningVersion)
setRunningVersion in interface org.apache.jmeter.testelement.TestElementsetRunningVersion in class org.apache.jmeter.testelement.AbstractTestElementpublic org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry e)
sample in interface org.apache.jmeter.samplers.Samplerpublic boolean interrupt()
interrupt in interface org.apache.jmeter.samplers.Interruptiblepublic org.apache.jmeter.samplers.Sampler next()
next in interface org.apache.jmeter.control.Controllerpublic boolean isDone()
isDone in interface org.apache.jmeter.control.Controllerpublic void initialize()
initialize in interface org.apache.jmeter.control.Controllerpublic void triggerEndOfLoop()
triggerEndOfLoop in interface org.apache.jmeter.control.Controllerpublic void threadFinished(org.apache.jmeter.threads.JMeterThread thread)
threadFinished in interface org.apache.jmeter.threads.JMeterThreadMonitorpublic void addIterationListener(org.apache.jmeter.engine.event.LoopIterationListener listener)
addIterationListener in interface org.apache.jmeter.control.Controllerpublic void removeIterationListener(org.apache.jmeter.engine.event.LoopIterationListener iterationListener)
removeIterationListener in interface org.apache.jmeter.control.Controllerpublic boolean getGenerateParent()
public void setGenerateParent(boolean value)
public void threadStarted()
threadStarted in interface org.apache.jmeter.testelement.ThreadListenerpublic void threadFinished()
threadFinished in interface org.apache.jmeter.testelement.ThreadListenerCopyright © 2018. All rights reserved.