public class JSONPostProcessor extends AbstractScopedTestElement implements 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() |
String |
getDefaultValues() |
String |
getJsonPathExpressions() |
String |
getMatchNumbers() |
int[] |
getMatchNumbersAsInt(int arraySize) |
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(String defaultValue) |
void |
setJsonPathExpressions(String jsonPath) |
void |
setMatchNumbers(String matchNumber) |
void |
setRefNames(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, setScopeVariable
addPropertiesValues, 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, traverseProperty
public static final boolean COMPUTE_CONCATENATION_DEFAULT_VALUE
public void process()
PostProcessor
process
in interface PostProcessor
public String getJsonPathExpressions()
public void setJsonPathExpressions(String jsonPath)
public String getRefNames()
public void setRefNames(String refName)
public String getDefaultValues()
public void setDefaultValues(String defaultValue)
public boolean getComputeConcatenation()
public void setComputeConcatenation(boolean computeConcatenation)
public void threadStarted()
ThreadListener
threadStarted
in interface ThreadListener
JMeterThread.threadStarted()
public void threadFinished()
ThreadListener
threadFinished
in interface ThreadListener
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
public void setMatchNumbers(String matchNumber)
public String getMatchNumbers()
public int[] getMatchNumbersAsInt(int arraySize)
Copyright © 1998-2016 Apache Software Foundation. All Rights Reserved.