org.apache.jmeter.modifiers

Class UserParameters

Implemented Interfaces:
Cloneable, Serializable, LoopIterationListener, PreProcessor, Serializable, TestElement

public class UserParameters
extends AbstractTestElement
implements Serializable, PreProcessor, LoopIterationListener

Field Summary

static String
NAMES
static String
PER_ITERATION
static String
THREAD_VALUES

Fields inherited from interface org.apache.jmeter.testelement.TestElement

COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS

Method Summary

Object
clone()
CollectionProperty
getNames()
CollectionProperty
getThreadLists()
boolean
isPerIteration()
void
iterationStart(LoopIterationEvent event)
protected void
mergeIn(TestElement element)
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.

Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty

Field Details

NAMES

public static final String NAMES

PER_ITERATION

public static final String PER_ITERATION

THREAD_VALUES

public static final String THREAD_VALUES

Method Details

clone

public Object clone()
Specified by:
clone in interface TestElement
Overrides:
clone in interface AbstractTestElement

getNames

public CollectionProperty getNames()

getThreadLists

public CollectionProperty getThreadLists()

isPerIteration

public boolean isPerIteration()

iterationStart

public void iterationStart(LoopIterationEvent event)
Specified by:
iterationStart in interface LoopIterationListener

mergeIn

protected void mergeIn(TestElement element)
Overrides:
mergeIn in interface AbstractTestElement

process

public void process()
Specified by:
process in interface PreProcessor

setNames

public void setNames(Collection list)

setNames

public 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(CollectionProperty).

setPerIteration

public void setPerIteration(boolean perIter)

setThreadLists

public void setThreadLists(Collection 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.

setThreadLists

public 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.

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.