com.eviware.soapui.impl.wsdl.teststeps.assertions
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.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
|
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion |
assertRequest, assertResponse, getAssertable, getChildren, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getLabel, getName, getParent, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, release, setConfiguration, setDisabled, setName, updateConfig |
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
SimpleContainsAssertion
public SimpleContainsAssertion(com.eviware.soapui.config.RequestAssertionConfig assertionConfig,
Assertable assertable)
internalAssertResponse
public java.lang.String internalAssertResponse(WsdlMessageExchange 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
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(WsdlMessageExchange 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-2007 eviware.com. All Rights Reserved.