public class SimpleContainsAssertion extends WsdlMessageAssertion implements RequestAssertion, ResponseAssertion
Modifier and Type | Class and Description |
---|---|
static class |
SimpleContainsAssertion.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
ID |
static String |
LABEL |
assertionErrors, assertionStatus
CONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
SimpleContainsAssertion(TestAssertionConfig assertionConfig,
Assertable assertable) |
Modifier and Type | Method and Description |
---|---|
boolean |
configure() |
protected org.apache.xmlbeans.XmlObject |
createConfiguration() |
PropertyExpansion[] |
getPropertyExpansions() |
String |
getToken() |
protected String |
internalAssertProperty(TestPropertyHolder source,
String propertyName,
MessageExchange messageExchange,
SubmitContext context) |
protected String |
internalAssertRequest(MessageExchange messageExchange,
SubmitContext context) |
String |
internalAssertResponse(MessageExchange messageExchange,
SubmitContext context) |
boolean |
isIgnoreCase() |
boolean |
isUseRegEx() |
void |
setIgnoreCase(boolean ignoreCase) |
void |
setToken(String token) |
void |
setUseRegEx(boolean useRegEx) |
assertProperty, 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, updateConfig
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertRequest
assertResponse
getChildren, getProject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String ID
public static final String LABEL
public static final String DESCRIPTION
public SimpleContainsAssertion(TestAssertionConfig assertionConfig, Assertable assertable)
public String internalAssertResponse(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertResponse
in class WsdlMessageAssertion
AssertionException
protected String internalAssertProperty(TestPropertyHolder source, String propertyName, MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertProperty
in class WsdlMessageAssertion
AssertionException
public boolean configure()
configure
in interface TestAssertion
configure
in class WsdlMessageAssertion
public boolean isUseRegEx()
public void setUseRegEx(boolean useRegEx)
public boolean isIgnoreCase()
public void setIgnoreCase(boolean ignoreCase)
public String getToken()
public void setToken(String token)
protected org.apache.xmlbeans.XmlObject createConfiguration()
protected String internalAssertRequest(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertRequest
in class WsdlMessageAssertion
AssertionException
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface PropertyExpansionContainer
getPropertyExpansions
in class WsdlMessageAssertion
Copyright © 2019. All Rights Reserved.