public class JMESPathAssertion extends org.apache.jmeter.testelement.AbstractTestElement implements Serializable, org.apache.jmeter.assertions.Assertion, org.apache.jmeter.testelement.TestStateListener
| Constructor and Description |
|---|
JMESPathAssertion() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpectedValue() |
String |
getJmesPath() |
org.apache.jmeter.assertions.AssertionResult |
getResult(org.apache.jmeter.samplers.SampleResult samplerResult) |
boolean |
isExpectNull() |
boolean |
isInvert() |
boolean |
isJsonValidationBool() |
boolean |
isUseRegex() |
static String |
objectToString(com.fasterxml.jackson.databind.ObjectMapper mapper,
com.fasterxml.jackson.databind.JsonNode element) |
void |
setExpectedValue(String expectedValue) |
void |
setExpectNull(boolean val) |
void |
setInvert(boolean invert) |
void |
setIsRegex(boolean flag) |
void |
setJmesPath(String jmesPath) |
void |
setJsonValidationBool(boolean jsonValidation) |
void |
testEnded() |
void |
testEnded(String host) |
void |
testStarted() |
void |
testStarted(String host) |
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 org.apache.jmeter.assertions.AssertionResult getResult(org.apache.jmeter.samplers.SampleResult samplerResult)
getResult in interface org.apache.jmeter.assertions.Assertionpublic static String objectToString(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.JsonNode element) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic void testStarted()
testStarted in interface org.apache.jmeter.testelement.TestStateListenerpublic void testStarted(String host)
testStarted in interface org.apache.jmeter.testelement.TestStateListenerpublic void testEnded()
testEnded in interface org.apache.jmeter.testelement.TestStateListenerpublic void testEnded(String host)
testEnded in interface org.apache.jmeter.testelement.TestStateListenerpublic String getJmesPath()
public void setJmesPath(String jmesPath)
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()
Copyright © 1998-2020 Apache Software Foundation. All Rights Reserved.