public abstract class JsonPathAssertionBase extends ProXPathContainsAssertion
Modifier and Type | Class and Description |
---|---|
static class |
JsonPathAssertionBase.JsonAssertionFactory |
ProXPathContainsAssertion.Factory, ProXPathContainsAssertion.SelectFromPropertyActionInvoker, ProXPathContainsAssertion.SelectPopupMenuListener, ProXPathContainsAssertion.SelectXPathAction, ProXPathContainsAssertion.SelectXPathMatchAction
DESCRIPTION, ID, LABEL
allowWildcards, configurationDialog, expectedContent, ignoreComments, ignoreNamespaceDifferences, path
assertionErrors, assertionStatus, NO_RESPONSE
Constructor and Description |
---|
JsonPathAssertionBase(com.eviware.soapui.config.TestAssertionConfig assertionConfig,
com.eviware.soapui.model.testsuite.Assertable assertable) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAssertXmlContent() |
Object |
getAssertionContent(String assertableContent,
com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) |
Object |
getAssertionContent(String assertableContent,
com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context,
boolean isCountAssertion) |
String |
getContentAreaBorderTitle() |
String |
getContentAreaToolTipText() |
String |
getPathAreaBorderTitle() |
String |
getPathAreaDescription() |
String |
getPathAreaTitle() |
String |
getPathAreaToolTipText() |
protected String |
getPathString(String assertableContent) |
protected com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext |
getPropertyExpansionContext() |
protected String |
getQueryType() |
protected String |
internalAssertProperty(com.eviware.soapui.model.TestPropertyHolder source,
String propertyName,
com.eviware.soapui.model.iface.MessageExchange messageExchange,
com.eviware.soapui.model.iface.SubmitContext context) |
protected String |
internalAssertRequest(com.eviware.soapui.model.iface.MessageExchange messageExchange,
com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) |
protected String |
internalAssertResponse(com.eviware.soapui.model.iface.MessageExchange messageExchange,
com.eviware.soapui.model.iface.SubmitContext context) |
protected com.fasterxml.jackson.databind.JsonNode |
readObjectValue(String assertableContent,
String expandedPath) |
protected String |
readStringValue(String assertableContent,
String expandedPath) |
boolean |
requiresXmlContent() |
protected void |
throwAssertionException(String path,
Throwable exception) |
addMatchEditorActions, addPathEditorActions, getAssertion
assertContent, getHelpURL, selectFromCurrent
addConfigurationValues, addXmlContentActions, configure, createConfiguration, getConfigurationDialogTitle, getContentArea, getExpectedContent, getPath, getPathArea, getPropertyExpansions, getXPathReferences, isAllowWildcards, isIgnoreComments, isIgnoreNamespaceDifferences, setAllowWildcards, setContent, setExpectedContent, setExpectedContent, setIgnoreComments, setIgnoreNamespaceDifferences, setPath, throwAssertionException
appliesToRequest, assertProperty, assertRequest, assertResponse, createEventBusMessage, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getIndexOfAssertion, getLabel, getName, getParent, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, prepare, prepare, release, resolve, setAssertable, setConfiguration, setDisabled, setErrors, setName, setStatus, updateConfig
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, getChildren, getDashboardDbId, getProject, initItemOrder, isNotifyPropertyChanged, notifyPropertyChanged, removeModelItemFromConfig, removePropertyChangeListener, removePropertyChangeListener, setDashboardDbId, setNotifyPropertyChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JsonPathAssertionBase(com.eviware.soapui.config.TestAssertionConfig assertionConfig, com.eviware.soapui.model.testsuite.Assertable assertable)
protected String getQueryType()
getQueryType
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion
public boolean requiresXmlContent()
requiresXmlContent
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion
protected String internalAssertResponse(com.eviware.soapui.model.iface.MessageExchange messageExchange, com.eviware.soapui.model.iface.SubmitContext context) throws com.eviware.soapui.model.testsuite.AssertionException
internalAssertResponse
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
com.eviware.soapui.model.testsuite.AssertionException
protected String internalAssertRequest(com.eviware.soapui.model.iface.MessageExchange messageExchange, com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) throws com.eviware.soapui.model.testsuite.AssertionException
internalAssertRequest
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
com.eviware.soapui.model.testsuite.AssertionException
protected String internalAssertProperty(com.eviware.soapui.model.TestPropertyHolder source, String propertyName, com.eviware.soapui.model.iface.MessageExchange messageExchange, com.eviware.soapui.model.iface.SubmitContext context) throws com.eviware.soapui.model.testsuite.AssertionException
internalAssertProperty
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
com.eviware.soapui.model.testsuite.AssertionException
protected com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext getPropertyExpansionContext()
public boolean canAssertXmlContent()
canAssertXmlContent
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
protected void throwAssertionException(String path, Throwable exception) throws com.eviware.soapui.model.testsuite.AssertionException
throwAssertionException
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion
com.eviware.soapui.model.testsuite.AssertionException
public String getPathAreaTitle()
getPathAreaTitle
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public String getPathAreaDescription()
getPathAreaDescription
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public String getPathAreaToolTipText()
getPathAreaToolTipText
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public String getPathAreaBorderTitle()
getPathAreaBorderTitle
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public String getContentAreaToolTipText()
getContentAreaToolTipText
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public String getContentAreaBorderTitle()
getContentAreaBorderTitle
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public Object getAssertionContent(String assertableContent, com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context, boolean isCountAssertion) throws com.eviware.soapui.model.testsuite.AssertionException
com.eviware.soapui.model.testsuite.AssertionException
protected com.fasterxml.jackson.databind.JsonNode readObjectValue(String assertableContent, String expandedPath)
Copyright © 2019. All rights reserved.