public class CounterConfig extends AbstractTestElement implements Serializable, LoopIterationListener, NoThreadClone, ThreadListener
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
CounterConfig() |
| Modifier and Type | Method and Description |
|---|---|
long |
getEnd() |
String |
getEndAsString() |
String |
getFormat() |
long |
getIncrement() |
String |
getIncrementAsString() |
long |
getStart() |
String |
getStartAsString() |
String |
getVarName() |
boolean |
isPerUser() |
boolean |
isResetOnThreadGroupIteration() |
void |
iterationStart(LoopIterationEvent event)
Called when a loop iteration is about to start.
|
void |
setEnd(long end) |
void |
setEnd(String end) |
void |
setFormat(String format) |
void |
setIncrement(long inc) |
void |
setIncrement(String incr) |
void |
setIsPerUser(boolean isPer) |
void |
setResetOnThreadGroupIteration(boolean value) |
void |
setStart(long start) |
void |
setStart(String start) |
void |
setVarName(String name) |
void |
threadFinished()
Called for each thread after all samples have been processed.
|
void |
threadStarted()
Called for each thread before starting sampling.
|
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, waitremovedpublic void iterationStart(LoopIterationEvent event)
LoopIterationListeneriterationStart in interface LoopIterationListenerevent - the eventLoopIterationListener.iterationStart(LoopIterationEvent)public void setStart(long start)
public void setStart(String start)
public long getStart()
public String getStartAsString()
public void setEnd(long end)
public void setEnd(String end)
public void setResetOnThreadGroupIteration(boolean value)
value - boolean indicating if counter must be reset on Thread Group Iterationpublic boolean isResetOnThreadGroupIteration()
public long getEnd()
public String getEndAsString()
public void setIncrement(long inc)
public void setIncrement(String incr)
public long getIncrement()
public String getIncrementAsString()
public void setIsPerUser(boolean isPer)
public boolean isPerUser()
public void setVarName(String name)
public String getVarName()
public void setFormat(String format)
public String getFormat()
public void threadStarted()
ThreadListenerthreadStarted in interface ThreadListenerpublic void threadFinished()
ThreadListenerthreadFinished in interface ThreadListenerCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.