public class JsonPathRegExAssertion extends JsonPathAssertionBase implements RequestAssertion, ResponseAssertion
| Modifier and Type | Class and Description | 
|---|---|
| static class  | JsonPathRegExAssertion.Factory | 
JsonPathAssertionBase.JsonAssertionFactoryAbstractXmlContainsAssertion.InternalDifferenceListener| 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, pathassertionErrors, assertionStatusCONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Constructor and Description | 
|---|
| JsonPathRegExAssertion(TestAssertionConfig assertionConfig,
                      Assertable assertable) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addConfigurationValues(XmlObjectConfigurationBuilder builder) | 
| String | assertContent(String assertableContent,
             SubmitContext 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, getContentAreaBorderTitle, getContentAreaToolTipText, getPathAreaBorderTitle, getPathAreaDescription, getPathAreaTitle, getPathAreaToolTipText, getPathString, getPropertyExpansionContext, internalAssertProperty, internalAssertRequest, internalAssertResponse, readStringValue, throwAssertionExceptiongetQueryTypeaddMatchEditorActions, addPathEditorActions, createConfiguration, getContentArea, getExpectedContent, getPath, getPathArea, getPropertyExpansions, getXPathReferences, isAllowWildcards, isIgnoreComments, isIgnoreNamespaceDifferences, setAllowWildcards, setContent, setExpectedContent, setExpectedContent, setIgnoreComments, setIgnoreNamespaceDifferencesassertProperty, assertRequest, assertResponse, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getIndexOfAssertion, getLabel, getName, getParent, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, prepare, release, resolve, setAssertable, setConfiguration, setDisabled, setName, updateConfigaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertRequestassertResponsegetChildren, getProjectaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic static final String ID
public static final String LABEL
public static final String DESCRIPTION
public static final String REG_EX_PROPERTY_NAME
public JsonPathRegExAssertion(TestAssertionConfig assertionConfig, Assertable assertable)
public String getHelpURL()
getHelpURL in class XPathContainsAssertionprotected JsonPathRegExAssertion getAssertion()
getAssertion in class AbstractXmlContainsAssertionpublic String getConfigurationDialogTitle()
getConfigurationDialogTitle in class AbstractXmlContainsAssertionprotected void addConfigurationValues(XmlObjectConfigurationBuilder builder)
addConfigurationValues in class AbstractXmlContainsAssertionpublic boolean configure()
configure in interface TestAssertionconfigure in class AbstractXmlContainsAssertionpublic void selectFromCurrent()
selectFromCurrent in class XPathContainsAssertionpublic void setPath(String path)
setPath in class AbstractXmlContainsAssertionpublic String assertContent(String assertableContent, SubmitContext context, String type) throws AssertionException
assertContent in class XPathContainsAssertionAssertionExceptionpublic void setRegularExpression(String regularExpression)
public String getRegularExpression()
Copyright © 2019. All Rights Reserved.