Class RegExUserParameters
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.http.modifier.RegExUserParameters
- All Implemented Interfaces:
Serializable
,Cloneable
,Searchable
,PreProcessor
,TestElement
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:
-
Field Summary
FieldsFields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
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
process()
void
void
void
setRegExRefName
(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
-
Field Details
-
REG_EX_REF_NAME
- See Also:
-
REG_EX_PARAM_NAMES_GR_NR
- See Also:
-
REG_EX_PARAM_VALUES_GR_NR
- See Also:
-
-
Constructor Details
-
RegExUserParameters
public RegExUserParameters()
-
-
Method Details
-
process
public void process()- Specified by:
process
in interfacePreProcessor
-
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 interfaceTestElement
- Overrides:
clone
in classAbstractTestElement
- See Also:
-
setRegExRefName
-
getRegExRefName
-
setRegExParamNamesGrNr
-
getRegParamNamesGrNr
-
setRegExParamValuesGrNr
-
getRegExParamValuesGrNr
-