public class JsonPathRegExAssertion extends JsonPathAssertionBase implements com.eviware.soapui.model.testsuite.RequestAssertion, com.eviware.soapui.model.testsuite.ResponseAssertion
Modifier and Type | Class and Description |
---|---|
static class |
JsonPathRegExAssertion.Factory |
JsonPathAssertionBase.JsonAssertionFactory
ProXPathContainsAssertion.SelectFromPropertyActionInvoker, ProXPathContainsAssertion.SelectPopupMenuListener, ProXPathContainsAssertion.SelectXPathAction, ProXPathContainsAssertion.SelectXPathMatchAction
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
ID |
static String |
LABEL |
static String |
REG_EX_PROPERTY_NAME |
allowWildcards, configurationDialog, expectedContent, ignoreComments, ignoreNamespaceDifferences, path
assertionErrors, assertionStatus, NO_RESPONSE
Constructor and Description |
---|
JsonPathRegExAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig,
com.eviware.soapui.model.testsuite.Assertable assertable) |
Modifier and Type | Method and Description |
---|---|
protected void |
addConfigurationValues(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder) |
String |
assertContent(String assertableContent,
com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context,
String type) |
boolean |
configure() |
protected JsonPathRegExAssertion |
getAssertion() |
String |
getConfigurationDialogTitle() |
String |
getHelpURL() |
String |
getRegularExpression() |
void |
selectFromCurrent() |
void |
setPath(String path) |
void |
setRegularExpression(String regularExpression) |
canAssertXmlContent, getAssertionContent, getAssertionContent, getContentAreaBorderTitle, getContentAreaToolTipText, getPathAreaBorderTitle, getPathAreaDescription, getPathAreaTitle, getPathAreaToolTipText, getPathString, getPropertyExpansionContext, getQueryType, internalAssertProperty, internalAssertRequest, internalAssertResponse, readObjectValue, readStringValue, requiresXmlContent, throwAssertionException
addMatchEditorActions, addPathEditorActions
addXmlContentActions, createConfiguration, getContentArea, getExpectedContent, getPath, getPathArea, getPropertyExpansions, getXPathReferences, isAllowWildcards, isIgnoreComments, isIgnoreNamespaceDifferences, setAllowWildcards, setContent, setExpectedContent, setExpectedContent, setIgnoreComments, setIgnoreNamespaceDifferences, 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 static final String ID
public static final String LABEL
public static final String DESCRIPTION
public static final String REG_EX_PROPERTY_NAME
public JsonPathRegExAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig, com.eviware.soapui.model.testsuite.Assertable assertable)
protected JsonPathRegExAssertion getAssertion()
getAssertion
in class ProXPathContainsAssertion
public String getConfigurationDialogTitle()
getConfigurationDialogTitle
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
protected void addConfigurationValues(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder)
addConfigurationValues
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public boolean configure()
configure
in interface com.eviware.soapui.model.testsuite.TestAssertion
configure
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public void selectFromCurrent()
selectFromCurrent
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion
public void setPath(String path)
setPath
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion
public String assertContent(String assertableContent, com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context, String type) throws com.eviware.soapui.model.testsuite.AssertionException
assertContent
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion
com.eviware.soapui.model.testsuite.AssertionException
public String getHelpURL()
getHelpURL
in class com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.XPathContainsAssertion
public String getRegularExpression()
public void setRegularExpression(String regularExpression)
Copyright © 2019. All rights reserved.