public class JSONPathAssertion extends org.apache.jmeter.testelement.AbstractTestElement implements Serializable, org.apache.jmeter.assertions.Assertion, org.apache.jmeter.testelement.ThreadListener
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPECT_NULL |
static String |
EXPECTEDVALUE |
static String |
INVERT |
static String |
ISREGEX |
static String |
JSONPATH |
static String |
JSONVALIDATION |
| Constructor and Description |
|---|
JSONPathAssertion() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpectedValue() |
String |
getJsonPath() |
org.apache.jmeter.assertions.AssertionResult |
getResult(org.apache.jmeter.samplers.SampleResult samplerResult) |
boolean |
isExpectNull() |
boolean |
isInvert() |
boolean |
isJsonValidationBool() |
boolean |
isUseRegex() |
static String |
objectToString(Object subj) |
void |
setExpectedValue(String expectedValue) |
void |
setExpectNull(boolean val) |
void |
setInvert(boolean invert) |
void |
setIsRegex(boolean flag) |
void |
setJsonPath(String jsonPath) |
void |
setJsonValidationBool(boolean jsonValidation) |
void |
threadFinished() |
void |
threadStarted() |
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, traversePropertypublic static final String JSONPATH
public static final String EXPECTEDVALUE
public static final String JSONVALIDATION
public static final String EXPECT_NULL
public static final String INVERT
public static final String ISREGEX
public String getJsonPath()
public void setJsonPath(String jsonPath)
public String getExpectedValue()
public void setExpectedValue(String expectedValue)
public void setJsonValidationBool(boolean jsonValidation)
public void setExpectNull(boolean val)
public boolean isExpectNull()
public boolean isJsonValidationBool()
public void setInvert(boolean invert)
public boolean isInvert()
public void setIsRegex(boolean flag)
public boolean isUseRegex()
public org.apache.jmeter.assertions.AssertionResult getResult(org.apache.jmeter.samplers.SampleResult samplerResult)
getResult in interface org.apache.jmeter.assertions.Assertionpublic void threadStarted()
threadStarted in interface org.apache.jmeter.testelement.ThreadListenerpublic void threadFinished()
threadFinished in interface org.apache.jmeter.testelement.ThreadListenerCopyright © 1998-2020 Apache Software Foundation. All Rights Reserved.