Class UserParameters
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,org.apache.jmeter.engine.event.LoopIterationListener
,org.apache.jmeter.gui.Searchable
,org.apache.jmeter.processor.PreProcessor
,org.apache.jmeter.testelement.TestElement
public class UserParameters extends AbstractTestElement implements Serializable, PreProcessor, LoopIterationListener
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
NAMES
public final static String
THREAD_VALUES
public final static String
PER_ITERATION
public transient JMeterContext
threadContext
public transient String
threadName
public final static TestElement.Companion
Companion
public final static String
NAME
public final static String
GUI_CLASS
public final static String
ENABLED
public final static String
TEST_CLASS
public final static String
COMMENTS
-
Constructor Summary
Constructors Constructor Description UserParameters()
-
Method Summary
Modifier and Type Method Description CollectionProperty
getNames()
CollectionProperty
getThreadLists()
void
setNames(Collection<out Object> 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
setThreadLists(Collection<out Object> threadLists)
The thread list is a list of lists. void
setThreadLists(CollectionProperty threadLists)
The thread list is a list of lists. boolean
isPerIteration()
void
setPerIteration(boolean perIter)
void
process()
void
iterationStart(LoopIterationEvent event)
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. -
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, 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
-
getNames
CollectionProperty getNames()
-
getThreadLists
CollectionProperty getThreadLists()
-
setNames
void setNames(Collection<out Object> list)
The list of names of the variables to hold values. This list must come in the same order as the sub lists that are given to setThreadLists.
- Parameters:
list
- The ordered list of names
-
setNames
void setNames(CollectionProperty list)
The list of names of the variables to hold values. This list must come in the same order as the sub lists that are given to setThreadLists.
- Parameters:
list
- The ordered list of names
-
setThreadLists
void setThreadLists(Collection<out Object> threadLists)
The thread list is a list of lists. Each list within the parent list is a collection of values for a simulated user. As many different sets of values can be supplied in this fashion to cause JMeter to set different values to variables for different test threads.
- Parameters:
threadLists
- The list of lists of values for each user thread
-
setThreadLists
void setThreadLists(CollectionProperty threadLists)
The thread list is a list of lists. Each list within the parent list is a collection of values for a simulated user. As many different sets of values can be supplied in this fashion to cause JMeter to set different values to variables for different test threads.
- Parameters:
threadLists
- The list of lists of values for each user thread
-
isPerIteration
boolean isPerIteration()
-
setPerIteration
void setPerIteration(boolean perIter)
-
process
void process()
-
iterationStart
void iterationStart(LoopIterationEvent event)
-
-
-
-