com.eviware.soapui.impl.wsdl.teststeps.assertions.basic
Class SimpleContainsAssertion
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.SimpleContainsAssertion
- All Implemented Interfaces:
- ModelItem, PropertyExpansionContainer, RequestAssertion, ResponseAssertion, TestAssertion, PropertyChangeNotifier
public class SimpleContainsAssertion
- extends WsdlMessageAssertion
- implements RequestAssertion, ResponseAssertion
Assertion that checks for a specified text token in the associated
WsdlTestRequests response XML message
- Author:
- Ole.Matzura
|
Field Summary |
static java.lang.String |
ID
|
static java.lang.String |
LABEL
|
| Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion |
assertRequest, assertResponse, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getLabel, getName, getParent, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, prepare, release, resolve, setConfiguration, setDisabled, setName, updateConfig |
| Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
SimpleContainsAssertion
public SimpleContainsAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig,
Assertable assertable)
internalAssertResponse
public java.lang.String internalAssertResponse(MessageExchange messageExchange,
SubmitContext context)
throws AssertionException
- Specified by:
internalAssertResponse in class WsdlMessageAssertion
- Throws:
AssertionException
configure
public boolean configure()
- Specified by:
configure in interface TestAssertion- Overrides:
configure in class WsdlMessageAssertion
isUseRegEx
public boolean isUseRegEx()
setUseRegEx
public void setUseRegEx(boolean useRegEx)
isIgnoreCase
public boolean isIgnoreCase()
setIgnoreCase
public void setIgnoreCase(boolean ignoreCase)
getToken
public java.lang.String getToken()
setToken
public void setToken(java.lang.String token)
createConfiguration
protected org.apache.xmlbeans.XmlObject createConfiguration()
internalAssertRequest
protected java.lang.String internalAssertRequest(MessageExchange messageExchange,
SubmitContext context)
throws AssertionException
- Specified by:
internalAssertRequest in class WsdlMessageAssertion
- Throws:
AssertionException
getPropertyExpansions
public PropertyExpansion[] getPropertyExpansions()
- Specified by:
getPropertyExpansions in interface PropertyExpansionContainer- Overrides:
getPropertyExpansions in class WsdlMessageAssertion
Copyright © 2005-2011 eviware.com. All Rights Reserved.