public class JSONPathAssertion extends org.apache.jmeter.testelement.AbstractTestElement implements Serializable, org.apache.jmeter.assertions.Assertion
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPECT_NULL |
static String |
EXPECTEDVALUE |
static String |
INPUT_FORMAT |
static String |
INPUT_JSON |
static String |
INPUT_YAML |
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 |
getInputFormat() |
String |
getJsonPath() |
org.apache.jmeter.assertions.AssertionResult |
getResult(org.apache.jmeter.samplers.SampleResult samplerResult) |
boolean |
isExpectNull() |
boolean |
isInvert() |
boolean |
isJsonValidationBool() |
boolean |
isUseRegex() |
void |
setExpectedValue(String expectedValue) |
void |
setExpectNull(boolean val) |
void |
setInputFormat(String inputFormat) |
void |
setInvert(boolean invert) |
void |
setIsRegex(boolean flag) |
void |
setJsonPath(String jsonPath) |
void |
setJsonValidationBool(boolean jsonValidation) |
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 INPUT_JSON
public static final String INPUT_YAML
public static final String INPUT_FORMAT
public 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 void setInputFormat(String inputFormat)
public String getInputFormat()
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.AssertionCopyright © 2018. All rights reserved.