public class TestAction
extends org.apache.jmeter.samplers.AbstractSampler
implements org.apache.jmeter.samplers.Interruptible
| Modifier and Type | Field and Description |
|---|---|
static int |
PAUSE |
static int |
RESTART_NEXT_LOOP |
static int |
STOP |
static int |
STOP_NOW |
static int |
TEST |
static int |
THREAD |
| Constructor and Description |
|---|
TestAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(org.apache.jmeter.config.ConfigTestElement configElement) |
int |
getAction() |
java.lang.String |
getDurationAsString() |
int |
getTarget() |
boolean |
interrupt() |
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry e) |
void |
setAction(int action) |
void |
setDuration(java.lang.String duration) |
void |
setTarget(int target) |
addPropertiesValues, addProperty, addProperty, addTestElement, 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, 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 int STOP
public static final int PAUSE
public static final int STOP_NOW
public static final int RESTART_NEXT_LOOP
public static final int THREAD
public static final int TEST
public org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry e)
sample in interface org.apache.jmeter.samplers.Samplerpublic void setTarget(int target)
public int getTarget()
public void setAction(int action)
public int getAction()
public void setDuration(java.lang.String duration)
public java.lang.String getDurationAsString()
public boolean applies(org.apache.jmeter.config.ConfigTestElement configElement)
applies in interface org.apache.jmeter.engine.util.ConfigMergabilityIndicatorapplies in class org.apache.jmeter.samplers.AbstractSamplerAbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)public boolean interrupt()
interrupt in interface org.apache.jmeter.samplers.InterruptibleCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.