public class JSONPostProcessor extends AbstractScopedTestElement implements Serializable, PostProcessor, ThreadListener
| Modifier and Type | Field and Description |
|---|---|
static boolean |
COMPUTE_CONCATENATION_DEFAULT_VALUE |
| 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, getProps, getSampleList, getSchema, 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, getPropertyOrNull, 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, traversePropertypublic static final boolean COMPUTE_CONCATENATION_DEFAULT_VALUE
public void process()
PostProcessorprocess in interface PostProcessorpublic 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()
ThreadListenerthreadStarted in interface ThreadListenerpublic void threadFinished()
ThreadListenerthreadFinished in interface ThreadListenerpublic void setMatchNumbers(String matchNumber)
public String getMatchNumbers()
public int[] getMatchNumbersAsInt(int arraySize)
Copyright © 1998-2023 Apache Software Foundation. All Rights Reserved.