public class JSONPostProcessor extends AbstractScopedTestElement implements java.io.Serializable, PostProcessor, ThreadListener
| Modifier and Type | Field and Description |
|---|---|
static boolean |
COMPUTE_CONCATENATION_DEFAULT_VALUE |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
JSONPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getComputeConcatenation() |
java.lang.String |
getDefaultValues() |
java.lang.String |
getJsonPathExpressions() |
java.lang.String |
getMatchNumbers() |
int[] |
getMatchNumbersAsInt(int arraySize) |
java.lang.String |
getRefNames() |
void |
process()
Provides the PostProcessor with a SampleResult object from which to
extract values for use in future Queries.
|
void |
setComputeConcatenation(boolean computeConcatenation) |
void |
setDefaultValues(java.lang.String defaultValue) |
void |
setJsonPathExpressions(java.lang.String jsonPath) |
void |
setMatchNumbers(java.lang.String matchNumber) |
void |
setRefNames(java.lang.String refName) |
void |
threadFinished()
Called for each thread after all samples have been processed.
|
void |
threadStarted()
Called for each thread before starting sampling.
|
fetchScope, getSampleList, getScopeName, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariableaddPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, 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, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitremovedpublic static final boolean COMPUTE_CONCATENATION_DEFAULT_VALUE
public void process()
PostProcessorprocess in interface PostProcessorpublic java.lang.String getJsonPathExpressions()
public void setJsonPathExpressions(java.lang.String jsonPath)
public java.lang.String getRefNames()
public void setRefNames(java.lang.String refName)
public java.lang.String getDefaultValues()
public void setDefaultValues(java.lang.String defaultValue)
public boolean getComputeConcatenation()
public void setComputeConcatenation(boolean computeConcatenation)
public void threadStarted()
ThreadListenerthreadStarted in interface ThreadListenerJMeterThread.threadStarted()public void threadFinished()
ThreadListenerthreadFinished in interface ThreadListenerJMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)public void setMatchNumbers(java.lang.String matchNumber)
public java.lang.String getMatchNumbers()
public int[] getMatchNumbersAsInt(int arraySize)
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.