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:
  • Field Details

  • Constructor Details

    • UserParameters

      public UserParameters()
  • Method Details

    • getNames

      public CollectionProperty getNames()
    • getThreadLists

      public CollectionProperty getThreadLists()
    • setNames

      public void setNames(Collection<?> 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(Collection).
      Parameters:
      list - The ordered list of names
    • 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).
      Parameters:
      list - The ordered list of names
    • 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.
      Parameters:
      threadLists - The list of lists of values for each user thread
    • 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.
      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:
      process in interface PreProcessor
    • iterationStart

      public void iterationStart(LoopIterationEvent event)
      Description copied from interface: LoopIterationListener
      Called when a loop iteration is about to start.
      Specified by:
      iterationStart in interface LoopIterationListener
      Parameters:
      event - the event
      See Also:
    • clone

      public 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. This means that the lock object is common to all instances
      Specified by:
      clone in interface org.apache.jmeter.testelement.TestElement
      Overrides:
      clone in class AbstractTestElement
      See Also: