com.eviware.soapui.impl.wsdl.teststeps
Class WsdlTestRequest
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<T>
com.eviware.soapui.impl.support.AbstractHttpRequest<com.eviware.soapui.config.WsdlRequestConfig>
com.eviware.soapui.impl.wsdl.WsdlRequest
com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequest
- All Implemented Interfaces:
- AbstractHttpRequestInterface<com.eviware.soapui.config.WsdlRequestConfig>, AttachmentContainer, MutableAttachmentContainer, WsaContainer, WsrmContainer, TestRequest, WsdlAttachmentContainer, Request, ModelItem, PropertyExpansionContainer, Assertable, PropertyChangeNotifier
public class WsdlTestRequest
- extends WsdlRequest
- implements Assertable, TestRequest
WsdlRequest extension that adds WsdlAssertions
- Author:
- Ole.Matzura
Fields inherited from class com.eviware.soapui.impl.wsdl.WsdlRequest |
ENABLE_INLINE_FILES, ENCODE_ATTACHMENTS, EXPAND_MTOM_RESPONSE_ATTACHMENTS, FORCE_MTOM, INCOMING_WSS, INLINE_RESPONSE_ATTACHMENTS, log, OPERATION_PROPERTY, OUGOING_WSS, PW_TYPE_DIGEST, PW_TYPE_NONE, PW_TYPE_TEXT, RESPONSE_CONTENT_PROPERTY, SKIP_SOAP_ACTION, WSS_TIMETOLIVE |
Methods inherited from class com.eviware.soapui.impl.wsdl.WsdlRequest |
addWsaPropertyExpansions, copyTo, getAttachmentEncoding, getAttachmentPart, getContentLength, getDefinedAttachmentParts, getIncomingWss, getMethod, getOperation, getOutgoingWss, getPropertyExpansions, getRequestParts, getResponse, getResponseContent, getResponseContentAsXml, getResponseParts, getWsaConfig, getWsrmConfig, getWssPasswordType, getWssTimeToLive, initEndpoints, isEncodeAttachments, isExpandMtomResponseAttachments, isForceMtom, isInlineFilesEnabled, isInlineResponseAttachments, isMtomEnabled, isSkipSoapAction, isWsAddressing, isWsaEnabled, isWsReliableMessaging, isWsrmEnabled, setEncodeAttachments, setExpandMtomResponseAttachments, setForceMtom, setIncomingWss, setInlineFilesEnabled, setInlineResponseAttachments, setMtomEnabled, setOperation, setOutgoingWss, setRequestContent, setSkipSoapAction, setWsAddressing, setWsaEnabled, setWsReliableMessaging, setWsrmEnabled, setWssPasswordType, setWssTimeToLive, submit |
Methods inherited from class com.eviware.soapui.impl.support.AbstractHttpRequest |
addAttachmentsChangeListener, addSubmitListener, attachFile, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, getAttachmentsList, getBindAddress, getDomain, getDumpFile, getEncoding, getEndpoint, getIconAnimator, getMaxSize, getPassword, getRequestContent, getRequestHeaders, getSslKeystore, getSubmitListeners, getUsername, hasEndpoint, importAttachment, isEntitizeProperties, isFollowRedirects, isMultipartEnabled, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, removeAttachment, removeAttachmentsChangeListener, removeSubmitListener, setAfterRequestInjection, setBindAddress, setDomain, setDumpFile, setEncoding, setEndpoint, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setRemoveEmptyContent, setRequestHeaders, setSslKeystore, setStripWhitespaces, setUsername |
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem |
afterLoad, dependsOn, getConfig, getDescription, getId, getName, getSettings, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettings |
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, 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.iface.Request |
addSubmitListener, dependsOn, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getAttachments, getEncoding, getEndpoint, getOperation, getRequestContent, getRequestParts, getResponseParts, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removeSubmitListener, setEncoding, setEndpoint, submit |
RESPONSE_PROPERTY
public static final java.lang.String RESPONSE_PROPERTY
STATUS_PROPERTY
public static final java.lang.String STATUS_PROPERTY
WsdlTestRequest
public WsdlTestRequest(WsdlOperation operation,
com.eviware.soapui.config.WsdlRequestConfig callConfig,
WsdlTestRequestStep testStep,
boolean forLoadTest)
getTestCase
public WsdlTestCase getTestCase()
getParent
public ModelItem getParent()
- Specified by:
getParent
in interface ModelItem
- Overrides:
getParent
in class AbstractWsdlModelItem<com.eviware.soapui.config.WsdlRequestConfig>
initIcons
protected void initIcons()
initIconAnimator
protected AbstractHttpRequest.RequestIconAnimator<?> initIconAnimator()
- Overrides:
initIconAnimator
in class AbstractHttpRequest<com.eviware.soapui.config.WsdlRequestConfig>
getAssertionCount
public int getAssertionCount()
- Specified by:
getAssertionCount
in interface Assertable
getAssertionAt
public WsdlMessageAssertion getAssertionAt(int c)
- Specified by:
getAssertionAt
in interface Assertable
setResponse
public void setResponse(HttpResponse response,
SubmitContext context)
- Specified by:
setResponse
in interface AbstractHttpRequestInterface<com.eviware.soapui.config.WsdlRequestConfig>
- Overrides:
setResponse
in class AbstractHttpRequest<com.eviware.soapui.config.WsdlRequestConfig>
assertResponse
public void assertResponse(SubmitContext context)
addAssertion
public WsdlMessageAssertion addAssertion(java.lang.String assertionLabel)
- Specified by:
addAssertion
in interface Assertable
removeAssertion
public void removeAssertion(TestAssertion assertion)
- Specified by:
removeAssertion
in interface Assertable
moveAssertion
public TestAssertion moveAssertion(int ix,
int offset)
- Specified by:
moveAssertion
in interface Assertable
getAssertionStatus
public Assertable.AssertionStatus getAssertionStatus()
- Specified by:
getAssertionStatus
in interface Assertable
getIcon
public javax.swing.ImageIcon getIcon()
- Specified by:
getIcon
in interface AbstractHttpRequestInterface<com.eviware.soapui.config.WsdlRequestConfig>
- Specified by:
getIcon
in interface ModelItem
- Overrides:
getIcon
in class AbstractHttpRequest<com.eviware.soapui.config.WsdlRequestConfig>
addAssertionsListener
public void addAssertionsListener(AssertionsListener listener)
- Specified by:
addAssertionsListener
in interface Assertable
removeAssertionsListener
public void removeAssertionsListener(AssertionsListener listener)
- Specified by:
removeAssertionsListener
in interface Assertable
updateConfig
public void updateConfig(com.eviware.soapui.config.WsdlRequestConfig request)
- Called when a testrequest is moved in a testcase
- Overrides:
updateConfig
in class WsdlRequest
release
public void release()
- Specified by:
release
in interface AbstractHttpRequestInterface<com.eviware.soapui.config.WsdlRequestConfig>
- Overrides:
release
in class WsdlRequest
getAssertableContent
public java.lang.String getAssertableContent()
- Specified by:
getAssertableContent
in interface Assertable
getTestStep
public WsdlTestRequestStep getTestStep()
- Specified by:
getTestStep
in interface TestRequest
getInterface
public WsdlInterface getInterface()
- Specified by:
getInterface
in interface Assertable
getAssertableType
public TestAssertionRegistry.AssertableType getAssertableType()
- Specified by:
getAssertableType
in interface Assertable
getInterfaceName
public java.lang.String getInterfaceName()
getOperationName
public java.lang.String getOperationName()
cloneAssertion
public TestAssertion cloneAssertion(TestAssertion source,
java.lang.String name)
- Specified by:
cloneAssertion
in interface Assertable
importAssertion
public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source,
boolean overwrite,
boolean createCopy)
- Specified by:
importAssertion
in interface TestRequest
getAssertionList
public java.util.List<TestAssertion> getAssertionList()
- Specified by:
getAssertionList
in interface Assertable
getAssertionByName
public WsdlMessageAssertion getAssertionByName(java.lang.String name)
- Specified by:
getAssertionByName
in interface Assertable
getModelItem
public ModelItem getModelItem()
- Description copied from interface:
AttachmentContainer
- Returns ModelItem associated with this container
- Specified by:
getModelItem
in interface AttachmentContainer
- Specified by:
getModelItem
in interface Assertable
- Overrides:
getModelItem
in class WsdlRequest
getAssertions
public java.util.Map<java.lang.String,TestAssertion> getAssertions()
- Specified by:
getAssertions
in interface Assertable
getDefaultAssertableContent
public java.lang.String getDefaultAssertableContent()
- Specified by:
getDefaultAssertableContent
in interface Assertable
resolve
public void resolve(ResolveContext<?> context)
- Specified by:
resolve
in interface AbstractHttpRequestInterface<com.eviware.soapui.config.WsdlRequestConfig>
- Overrides:
resolve
in class AbstractHttpRequest<com.eviware.soapui.config.WsdlRequestConfig>
Copyright © 2005-2009 eviware.com. All Rights Reserved.