com.eviware.soapui.impl.wsdl.teststeps.assertions
Class GroovyScriptAssertion

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
          extended by com.eviware.soapui.impl.wsdl.teststeps.assertions.GroovyScriptAssertion
All Implemented Interfaces:
ModelItem, PropertyExpansionContainer, RequestAssertion, ResponseAssertion, TestAssertion, PropertyChangeNotifier

public class GroovyScriptAssertion
extends WsdlMessageAssertion
implements RequestAssertion, ResponseAssertion

Assertion performed by a custom Grooy Script

Author:
ole.matzura

Field Summary
static java.lang.String ID
           
static java.lang.String LABEL
           
 
Fields inherited from interface com.eviware.soapui.model.testsuite.TestAssertion
CONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
GroovyScriptAssertion(com.eviware.soapui.config.RequestAssertionConfig assertionConfig, Assertable modelItem)
           
 
Method Summary
 boolean configure()
           
protected  org.apache.xmlbeans.XmlObject createConfiguration()
           
protected  java.lang.String internalAssertRequest(WsdlMessageExchange messageExchange, SubmitContext context)
           
protected  java.lang.String internalAssertResponse(WsdlMessageExchange messageExchange, SubmitContext context)
           
 void release()
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
assertRequest, assertResponse, getAssertable, getChildren, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getLabel, getName, getParent, getPropertyExpansions, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, setConfiguration, setDisabled, setName, updateConfig
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.eviware.soapui.model.testsuite.RequestAssertion
assertRequest
 
Methods inherited from interface com.eviware.soapui.model.testsuite.ResponseAssertion
assertResponse
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

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
Constructor Detail

GroovyScriptAssertion

public GroovyScriptAssertion(com.eviware.soapui.config.RequestAssertionConfig assertionConfig,
                             Assertable modelItem)
Method Detail

internalAssertRequest

protected java.lang.String internalAssertRequest(WsdlMessageExchange messageExchange,
                                                 SubmitContext context)
                                          throws AssertionException
Specified by:
internalAssertRequest in class WsdlMessageAssertion
Throws:
AssertionException

internalAssertResponse

protected 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

createConfiguration

protected org.apache.xmlbeans.XmlObject createConfiguration()

release

public void release()
Overrides:
release in class WsdlMessageAssertion


Copyright © 2005-2007 eviware.com. All Rights Reserved.