public class UserParameters extends AbstractTestElement implements Serializable, PreProcessor, LoopIterationListener
Modifier and Type | Field and Description |
---|---|
static String |
NAMES |
static String |
PER_ITERATION |
static String |
THREAD_VALUES |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
UserParameters() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
A new instance is created for each thread group, and the
clone() method is then called to create copies for each thread in a
thread group.
|
CollectionProperty |
getNames() |
CollectionProperty |
getThreadLists() |
boolean |
isPerIteration() |
void |
iterationStart(LoopIterationEvent event)
Called when a loop iteration is about to start.
|
void |
process() |
void |
setNames(Collection<?> list)
The list of names of the variables to hold values.
|
void |
setNames(CollectionProperty list)
The list of names of the variables to hold values.
|
void |
setPerIteration(boolean perIter) |
void |
setThreadLists(Collection<?> threadLists)
The thread list is a list of lists.
|
void |
setThreadLists(CollectionProperty threadLists)
The thread list is a list of lists.
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, 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, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
removed
public static final String NAMES
public static final String THREAD_VALUES
public static final String PER_ITERATION
public CollectionProperty getNames()
public CollectionProperty getThreadLists()
public void setNames(Collection<?> list)
setThreadLists(Collection)
.list
- The ordered list of namespublic void setNames(CollectionProperty list)
setThreadLists(CollectionProperty)
.list
- The ordered list of namespublic void setThreadLists(Collection<?> threadLists)
threadLists
- The list of lists of values for each user threadpublic void setThreadLists(CollectionProperty threadLists)
threadLists
- The list of lists of values for each user threadpublic boolean isPerIteration()
public void setPerIteration(boolean perIter)
public void process()
process
in interface PreProcessor
public void iterationStart(LoopIterationEvent event)
LoopIterationListener
iterationStart
in interface LoopIterationListener
event
- the eventLoopIterationListener.iterationStart(LoopIterationEvent)
public Object clone()
clone
in interface TestElement
clone
in class AbstractTestElement
Object.clone()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.