org.apache.jmeter.protocol.http.modifier

## Class RegExUserParameters

- java.lang.Object
- - org.apache.jmeter.testelement.AbstractTestElement
  - - org.apache.jmeter.protocol.http.modifier.RegExUserParameters

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Searchable, PreProcessor, TestElement

      public class RegExUserParameters
      extends AbstractTestElement
      implements java.io.Serializable, PreProcessor

  This component allows you to specify reference name of a regular expression that extracts names and values of HTTP request parameters. Regular expression group numbers must be specified for parameter's name and also for parameter's value. Replacement will only occur for parameters in the Sampler that uses this RegEx User Parameters which name matches
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `REG_EX_PARAM_NAMES_GR_NR`
    `static java.lang.String` | `REG_EX_PARAM_VALUES_GR_NR`
    `static java.lang.String` | `REG_EX_REF_NAME`

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

      `COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RegExUserParameters()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.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.
    `java.lang.String` | `getRegExParamValuesGrNr()`
    `java.lang.String` | `getRegExRefName()`
    `java.lang.String` | `getRegParamNamesGrNr()`
    `void` | `process()`
    `void` | `setRegExParamNamesGrNr(java.lang.String str)`
    `void` | `setRegExParamValuesGrNr(java.lang.String str)`
    `void` | `setRegExRefName(java.lang.String str)`

    - ### Methods inherited from class org.apache.jmeter.testelement.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, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.jmeter.testelement.TestElement

      `removed`

- - ### Field Detail

    - #### REG_EX_REF_NAME

          public static final java.lang.String REG_EX_REF_NAME

      See Also:
        Constant Field Values

    - #### REG_EX_PARAM_NAMES_GR_NR

          public static final java.lang.String REG_EX_PARAM_NAMES_GR_NR

      See Also:
        Constant Field Values

    - #### REG_EX_PARAM_VALUES_GR_NR

          public static final java.lang.String REG_EX_PARAM_VALUES_GR_NR

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### RegExUserParameters

          public RegExUserParameters()

  - ### Method Detail

    - #### process

          public void process()

      Specified by:
        `process` in interface `PreProcessor`

    - #### clone

          public java.lang.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.
      Specified by:
        `clone` in interface `TestElement`
      Overrides:
        `clone` in class `AbstractTestElement`

    - #### setRegExRefName

          public void setRegExRefName(java.lang.String str)

    - #### getRegExRefName

          public java.lang.String getRegExRefName()

    - #### setRegExParamNamesGrNr

          public void setRegExParamNamesGrNr(java.lang.String str)

    - #### getRegParamNamesGrNr

          public java.lang.String getRegParamNamesGrNr()

    - #### setRegExParamValuesGrNr

          public void setRegExParamValuesGrNr(java.lang.String str)

    - #### getRegExParamValuesGrNr

          public java.lang.String getRegExParamValuesGrNr()

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