Package org.apache.jmeter.modifiers
Class SampleTimeout
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,org.apache.jmeter.gui.Searchable,org.apache.jmeter.samplers.SampleMonitor,org.apache.jmeter.testelement.TestElement,org.apache.jmeter.testelement.ThreadListener
public class SampleTimeout extends AbstractTestElement implements Serializable, ThreadListener, SampleMonitor
Sample timeout implementation using Executor threads
- Since:
3.0
-
-
Field Summary
Fields Modifier and Type Field Description public transient JMeterContextthreadContextpublic transient StringthreadNamepublic final static TestElement.CompanionCompanionpublic final static StringNAMEpublic final static StringGUI_CLASSpublic final static StringENABLEDpublic final static StringTEST_CLASSpublic final static StringCOMMENTS
-
Constructor Summary
Constructors Constructor Description SampleTimeout()No-arg constructor.
-
Method Summary
Modifier and Type Method Description voidsetTimeout(String timeout)Set the timeout for this timer. StringgetTimeout()Get the timeout value for display. voidsampleStarting(Sampler sampler)voidsampleEnded(Sampler sampler)voidthreadStarted()voidthreadFinished()StringtoString()Provide a description of this class. -
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse -
Methods inherited from class org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProps, getSchema, getString, removed, set -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setTimeout
void setTimeout(String timeout)
Set the timeout for this timer.
- Parameters:
timeout- The timeout for this timer
-
getTimeout
String getTimeout()
Get the timeout value for display.
- Returns:
the timeout value for display.
-
sampleStarting
void sampleStarting(Sampler sampler)
-
sampleEnded
void sampleEnded(Sampler sampler)
-
threadStarted
void threadStarted()
-
threadFinished
void threadFinished()
-
-
-
-