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 StringREG_EX_REF_NAMEpublic final static StringREG_EX_PARAM_NAMES_GR_NRpublic final static StringREG_EX_PARAM_VALUES_GR_NRpublic transient JMeterContextthreadContextpublic transient StringthreadNamepublic final static TestElement.CompanionCompanionpublic final static StringNAMEpublic final static StringGUI_CLASSpublic final static StringENABLEDpublic final static StringTEST_CLASSpublic final static StringCOMMENTS
-
Constructor Summary
Constructors Constructor Description RegExUserParameters()
-
Method Summary
Modifier and Type Method Description voidprocess()Objectclone()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. voidsetRegExRefName(String str)StringgetRegExRefName()voidsetRegExParamNamesGrNr(String str)StringgetRegParamNamesGrNr()voidsetRegExParamValuesGrNr(String str)StringgetRegExParamValuesGrNr()-
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()
-
-
-
-