Class UserParameters
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.modifiers.UserParameters
- All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, Searchable, PreProcessor, TestElement
public class UserParameters
extends AbstractTestElement
implements Serializable, PreProcessor, LoopIterationListener
- See Also:
-
Field Summary
FieldsFields inherited from interface TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getNames()booleanvoiditerationStart(LoopIterationEvent event) Called when a loop iteration is about to start.protected voidmergeIn(TestElement element) Add to this the properties of element (by reference)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 AbstractTestElement
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, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
-
Field Details
-
NAMES
- See Also:
-
THREAD_VALUES
- See Also:
-
PER_ITERATION
- See Also:
-
-
Constructor Details
-
UserParameters
public UserParameters()
-
-
Method Details
-
getNames
-
getThreadLists
-
setNames
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 tosetThreadLists(Collection).- Parameters:
list- The ordered list of names
-
setNames
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 tosetThreadLists(CollectionProperty).- Parameters:
list- The ordered list of names
-
setThreadLists
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
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
public boolean isPerIteration() -
setPerIteration
public void setPerIteration(boolean perIter) -
process
public void process()- Specified by:
processin interfacePreProcessor
-
iterationStart
Description copied from interface:LoopIterationListenerCalled when a loop iteration is about to start.- Specified by:
iterationStartin interfaceLoopIterationListener- Parameters:
event- the event- See Also:
-
clone
- Specified by:
clonein interfaceTestElement- Overrides:
clonein classAbstractTestElement
-
mergeIn
Add to this the properties of element (by reference)- Overrides:
mergeInin classAbstractTestElement- Parameters:
element-TestElement
-