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
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      UserParameters()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
    • Constructor Detail

      • UserParameters

        UserParameters()
    • Method Detail

      • getNames

         CollectionProperty getNames()
      • 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
      • clone

         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