Package org.apache.jmeter.modifiers
Class UserParameters
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.modifiers.UserParameters
- All Implemented Interfaces:
- Serializable,- Cloneable,- LoopIterationListener,- Searchable,- PreProcessor,- org.apache.jmeter.testelement.TestElement
public class UserParameters
extends AbstractTestElement
implements Serializable, PreProcessor, LoopIterationListener
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElementorg.apache.jmeter.testelement.TestElement.Companion
- 
Field SummaryFieldsFields inherited from interface org.apache.jmeter.testelement.TestElementCOMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()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.getNames()booleanvoiditerationStart(LoopIterationEvent event) Called when a loop iteration is about to start.voidprocess()voidsetNames(Collection<?> list) The list of names of the variables to hold values.voidsetNames(CollectionProperty list) The list of names of the variables to hold values.voidsetPerIteration(boolean perIter) voidsetThreadLists(Collection<?> threadLists) The thread list is a list of lists.voidsetThreadLists(CollectionProperty threadLists) The thread list is a list of lists.Methods inherited from class org.apache.jmeter.testelement.AbstractTestElementaddPropertiesValues, 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, traversePropertyMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.testelement.TestElementget, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set
- 
Field Details- 
NAMES- See Also:
 
- 
THREAD_VALUES- See Also:
 
- 
PER_ITERATION- See Also:
 
 
- 
- 
Constructor Details- 
UserParameterspublic UserParameters()
 
- 
- 
Method Details- 
getNames
- 
getThreadLists
- 
setNamesThe list of names of the variables to hold values. This list must come in the same order as the sub lists that are given tosetThreadLists(Collection).- Parameters:
- list- The ordered list of names
 
- 
setNamesThe list of names of the variables to hold values. This list must come in the same order as the sub lists that are given tosetThreadLists(CollectionProperty).- Parameters:
- list- The ordered list of names
 
- 
setThreadListsThe 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
 
- 
setThreadListsThe 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
 
- 
isPerIterationpublic boolean isPerIteration()
- 
setPerIterationpublic void setPerIteration(boolean perIter) 
- 
processpublic void process()- Specified by:
- processin interface- PreProcessor
 
- 
iterationStartDescription copied from interface:LoopIterationListenerCalled when a loop iteration is about to start.- Specified by:
- iterationStartin interface- LoopIterationListener
- Parameters:
- event- the event
- See Also:
 
- 
cloneA 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. This means that the lock object is common to all instances- Specified by:
- clonein interface- org.apache.jmeter.testelement.TestElement
- Overrides:
- clonein class- AbstractTestElement
- See Also:
 
 
-