public class GroovyScriptAssertion extends WsdlMessageAssertion implements RequestAssertion, ResponseAssertion
Modifier and Type | Class and Description |
---|---|
static class |
GroovyScriptAssertion.Factory |
protected class |
GroovyScriptAssertion.GroovyScriptAssertionPanel |
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 |
---|
GroovyScriptAssertion(TestAssertionConfig assertionConfig,
Assertable modelItem) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildDialog() |
boolean |
configure() |
protected org.apache.xmlbeans.XmlObject |
createConfiguration() |
protected GroovyScriptAssertion.GroovyScriptAssertionPanel |
getScriptAssertionPanel() |
String |
getScriptText() |
protected String |
internalAssertProperty(TestPropertyHolder source,
String propertyName,
MessageExchange messageExchange,
SubmitContext context) |
protected String |
internalAssertRequest(MessageExchange messageExchange,
SubmitContext context) |
protected String |
internalAssertResponse(MessageExchange messageExchange,
SubmitContext context) |
void |
release() |
void |
setScriptText(String scriptText) |
assertProperty, assertRequest, assertResponse, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getIndexOfAssertion, getLabel, getName, getParent, getPropertyExpansions, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, prepare, 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 GroovyScriptAssertion(TestAssertionConfig assertionConfig, Assertable modelItem)
protected String internalAssertRequest(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertRequest
in class WsdlMessageAssertion
AssertionException
protected 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
protected void buildDialog()
protected GroovyScriptAssertion.GroovyScriptAssertionPanel getScriptAssertionPanel()
protected org.apache.xmlbeans.XmlObject createConfiguration()
public String getScriptText()
public void setScriptText(String scriptText)
public void release()
release
in class WsdlMessageAssertion
Copyright © 2019. All Rights Reserved.