org.apache.jmeter.sampler
Class TestAction
- Cloneable, Sampler, Serializable, TestElement
Dummy Sampler used to pause or stop a thread or the test;
intended for use in Conditional Controllers.
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 |
PAUSE
public static final int PAUSE
STOP
public static final int STOP
STOP_NOW
public static final int STOP_NOW
TEST
public static final int TEST
THREAD
public static final int THREAD
TestAction
public TestAction()
getAction
public int getAction()
getDurationAsString
public String getDurationAsString()
getTarget
public int getTarget()
sample
public SampleResult sample(Entry e)
Obtains statistics about the given Entry, and packages the information
into a SampleResult.
- sample in interface Sampler
setAction
public void setAction(int action)
setDuration
public void setDuration(String duration)
setTarget
public void setTarget(int target)
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.