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 |
| 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, getPropertyOrNull, 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, traversePropertypublic 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 PreProcessorpublic void iterationStart(LoopIterationEvent event)
LoopIterationListeneriterationStart in interface LoopIterationListenerevent - the eventLoopIterationListener.iterationStart(LoopIterationEvent)public Object clone()
clone in interface org.apache.jmeter.testelement.TestElementclone in class AbstractTestElementObject.clone()Copyright © 1998-2023 Apache Software Foundation. All Rights Reserved.