public class CrossSiteScriptAssertion extends WsdlMessageAssertion implements ResponseAssertion
Modifier and Type | Class and Description |
---|---|
protected static interface |
CrossSiteScriptAssertion.CrossSiteScripSeparateHTMLConfigDialog |
static class |
CrossSiteScriptAssertion.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
CHECK_RESPONSE |
static String |
CHECK_SEPARATE_HTML |
static String |
DESCRIPTION |
static String |
GROOVY_SCRIPT |
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 |
---|
CrossSiteScriptAssertion(TestAssertionConfig assertionConfig,
Assertable assertable) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildDialog() |
protected GroovyEditorComponent |
buildGroovyPanel() |
boolean |
configure() |
protected org.apache.xmlbeans.XmlObject |
createConfiguration() |
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() |
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
assertResponse
getChildren, getProject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String ID
public static final String LABEL
public static final String DESCRIPTION
public static final String GROOVY_SCRIPT
public static final String CHECK_RESPONSE
public static final String CHECK_SEPARATE_HTML
public CrossSiteScriptAssertion(TestAssertionConfig assertionConfig, Assertable assertable)
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
protected String internalAssertRequest(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertRequest
in class WsdlMessageAssertion
AssertionException
protected org.apache.xmlbeans.XmlObject createConfiguration()
public boolean configure()
configure
in interface TestAssertion
configure
in class WsdlMessageAssertion
protected GroovyEditorComponent buildGroovyPanel()
protected void buildDialog()
public void release()
release
in class WsdlMessageAssertion
Copyright © 2019. All Rights Reserved.