Class RegExUserParameters
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,org.apache.jmeter.gui.Searchable
,org.apache.jmeter.processor.PreProcessor
,org.apache.jmeter.testelement.TestElement
public class RegExUserParameters extends AbstractTestElement implements 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
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
REG_EX_REF_NAME
public final static String
REG_EX_PARAM_NAMES_GR_NR
public final static String
REG_EX_PARAM_VALUES_GR_NR
public transient JMeterContext
threadContext
public transient String
threadName
public final static TestElement.Companion
Companion
public final static String
NAME
public final static String
GUI_CLASS
public final static String
ENABLED
public final static String
TEST_CLASS
public final static String
COMMENTS
-
Constructor Summary
Constructors Constructor Description RegExUserParameters()
-
Method Summary
Modifier and Type Method Description void
process()
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. void
setRegExRefName(String str)
String
getRegExRefName()
void
setRegExParamNamesGrNr(String str)
String
getRegParamNamesGrNr()
void
setRegExParamValuesGrNr(String str)
String
getRegExParamValuesGrNr()
-
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
-
-
Method Detail
-
process
void process()
-
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.
-
setRegExRefName
void setRegExRefName(String str)
-
getRegExRefName
String getRegExRefName()
-
setRegExParamNamesGrNr
void setRegExParamNamesGrNr(String str)
-
getRegParamNamesGrNr
String getRegParamNamesGrNr()
-
setRegExParamValuesGrNr
void setRegExParamValuesGrNr(String str)
-
getRegExParamValuesGrNr
String getRegExParamValuesGrNr()
-
-
-
-