Class JSONPostProcessor
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,org.apache.jmeter.gui.Searchable,org.apache.jmeter.processor.PostProcessor,org.apache.jmeter.testelement.TestElement,org.apache.jmeter.testelement.ThreadListener
public class JSONPostProcessor extends AbstractScopedTestElement implements Serializable, PostProcessor, ThreadListener
JSON-PATH based extractor
- Since:
3.0
-
-
Field Summary
Fields Modifier and Type Field Description public final static booleanCOMPUTE_CONCATENATION_DEFAULT_VALUEpublic 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 JSONPostProcessor()
-
Method Summary
Modifier and Type Method Description voidprocess()StringgetJsonPathExpressions()voidsetJsonPathExpressions(String jsonPath)StringgetRefNames()voidsetRefNames(String refName)StringgetDefaultValues()voidsetDefaultValues(String defaultValue)booleangetComputeConcatenation()voidsetComputeConcatenation(boolean computeConcatenation)voidthreadStarted()voidthreadFinished()voidsetMatchNumbers(String matchNumber)StringgetMatchNumbers()Array<int>getMatchNumbersAsInt(int arraySize)-
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, 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.AbstractScopedTestElement
fetchScope, getProps, getSchema, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable -
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()
-
getJsonPathExpressions
String getJsonPathExpressions()
-
setJsonPathExpressions
void setJsonPathExpressions(String jsonPath)
-
getRefNames
String getRefNames()
-
setRefNames
void setRefNames(String refName)
-
getDefaultValues
String getDefaultValues()
-
setDefaultValues
void setDefaultValues(String defaultValue)
-
getComputeConcatenation
boolean getComputeConcatenation()
-
setComputeConcatenation
void setComputeConcatenation(boolean computeConcatenation)
-
threadStarted
void threadStarted()
-
threadFinished
void threadFinished()
-
setMatchNumbers
void setMatchNumbers(String matchNumber)
-
getMatchNumbers
String getMatchNumbers()
-
getMatchNumbersAsInt
Array<int> getMatchNumbersAsInt(int arraySize)
-
-
-
-