com.eviware.soapui.impl.wsdl.teststeps
Class HttpTestRequest

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<T>
          extended by com.eviware.soapui.impl.support.AbstractHttpRequest<com.eviware.soapui.config.HttpRequestConfig>
              extended by com.eviware.soapui.impl.support.http.HttpRequest
                  extended by com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequest
All Implemented Interfaces:
AbstractHttpRequestInterface<com.eviware.soapui.config.HttpRequestConfig>, HttpRequestInterface<com.eviware.soapui.config.HttpRequestConfig>, AttachmentContainer, MutableAttachmentContainer, MutableTestPropertyHolder, HttpTestRequestInterface<com.eviware.soapui.config.HttpRequestConfig>, TestRequest, Request, ModelItem, PropertyExpansionContainer, TestPropertyHolder, Assertable, PropertyChangeNotifier

public class HttpTestRequest
extends HttpRequest
implements HttpTestRequestInterface<com.eviware.soapui.config.HttpRequestConfig>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.eviware.soapui.impl.support.http.HttpRequest
HttpRequest.HttpContentPart
 
Nested classes/interfaces inherited from class com.eviware.soapui.impl.support.AbstractHttpRequest
AbstractHttpRequest.RequestIconAnimator<T extends AbstractHttpRequest<?>>
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.Assertable
Assertable.AssertionStatus
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.iface.Request
Request.SubmitException
 
Field Summary
 
Fields inherited from interface com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestInterface
RESPONSE_PROPERTY, STATUS_PROPERTY
 
Fields inherited from interface com.eviware.soapui.impl.support.AbstractHttpRequestInterface
BIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, log, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, STRIP_WHITESPACES
 
Fields inherited from interface com.eviware.soapui.model.iface.Request
ENCODING_PROPERTY, ENDPOINT_PROPERTY, REQUEST_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Fields inherited from interface com.eviware.soapui.impl.wsdl.AttachmentContainer
ATTACHMENTS_PROPERTY
 
Constructor Summary
protected HttpTestRequest(com.eviware.soapui.config.HttpRequestConfig config, HttpTestRequestStep testStep, boolean forLoadTest)
           
 
Method Summary
 WsdlMessageAssertion addAssertion(java.lang.String assertionLabel)
           
 void addAssertionsListener(AssertionsListener listener)
           
 void assertResponse(SubmitContext context)
           
 TestAssertion cloneAssertion(TestAssertion source, java.lang.String name)
           
 java.lang.String getAssertableContent()
           
 TestAssertionRegistry.AssertableType getAssertableType()
           
 WsdlMessageAssertion getAssertionAt(int c)
           
 WsdlMessageAssertion getAssertionByName(java.lang.String name)
           
 int getAssertionCount()
           
 java.util.List<TestAssertion> getAssertionList()
           
 java.util.Map<java.lang.String,TestAssertion> getAssertions()
           
 Assertable.AssertionStatus getAssertionStatus()
           
 java.lang.String getDefaultAssertableContent()
           
 javax.swing.ImageIcon getIcon()
           
 Interface getInterface()
           
 ModelItem getParent()
           
 java.lang.String getResponseContentAsString()
           
 WsdlTestCase getTestCase()
           
 HttpTestRequestStep getTestStep()
           
 WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy)
           
protected  void initIcons()
           
 TestAssertion moveAssertion(int ix, int offset)
           
 void removeAssertion(TestAssertion assertion)
           
 void removeAssertionsListener(AssertionsListener listener)
           
 void setResponse(HttpResponse response, SubmitContext context)
           
 void updateConfig(com.eviware.soapui.config.HttpRequestConfig request)
           
 
Methods inherited from class com.eviware.soapui.impl.support.http.HttpRequest
addProperty, addTestPropertyListener, getAttachmentPart, getDefinedAttachmentParts, getMediaType, getMethod, getModelItem, getOperation, getParams, getPath, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, getRequestParts, getResponseContentAsXml, getResponseParts, hasProperty, hasRequestBody, isPostQueryString, moveProperty, removeProperty, removeTestPropertyListener, renameProperty, setMediaType, setMethod, setPostQueryString, setPropertyValue, 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, getPropertyExpansions, getRequestContent, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getUsername, hasEndpoint, importAttachment, initIconAnimator, isEntitizeProperties, isFollowRedirects, isMultipartEnabled, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, release, removeAttachment, removeAttachmentsChangeListener, removeSubmitListener, resolve, setAfterRequestInjection, setBindAddress, setDomain, setDumpFile, setEncoding, setEndpoint, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setRemoveEmptyContent, setRequestContent, 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.testsuite.Assertable
getModelItem
 
Methods inherited from interface com.eviware.soapui.impl.support.http.HttpRequestInterface
getMediaType, getParams, getPath, getResponseContentAsXml, hasRequestBody, isPostQueryString, setMediaType, setMethod, setPostQueryString
 
Methods inherited from interface com.eviware.soapui.impl.support.AbstractHttpRequestInterface
beforeSave, copyAttachmentsTo, getAfterRequestInjection, getBindAddress, getDomain, getDumpFile, getIconAnimator, getMaxSize, getMethod, getPassword, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getUsername, hasEndpoint, importAttachment, isEntitizeProperties, isFollowRedirects, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, release, resolve, setBindAddress, setDomain, setDumpFile, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setSslKeystore, setStripWhitespaces, setUsername
 
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
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
getChildren, getDescription, getId, getName, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.eviware.soapui.model.propertyexpansion.PropertyExpansionContainer
getPropertyExpansions
 
Methods inherited from interface com.eviware.soapui.impl.wsdl.MutableAttachmentContainer
attachFile, removeAttachment
 
Methods inherited from interface com.eviware.soapui.impl.wsdl.AttachmentContainer
addAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachmentPart, getAttachments, getAttachmentsForPart, getDefinedAttachmentParts, getModelItem, isMultipartEnabled, removeAttachmentsChangeListener
 
Methods inherited from interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
addProperty, moveProperty, removeProperty, renameProperty
 
Methods inherited from interface com.eviware.soapui.model.TestPropertyHolder
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
 

Constructor Detail

HttpTestRequest

protected HttpTestRequest(com.eviware.soapui.config.HttpRequestConfig config,
                          HttpTestRequestStep testStep,
                          boolean forLoadTest)
Method Detail

initIcons

protected void initIcons()

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.HttpRequestConfig>
Overrides:
setResponse in class AbstractHttpRequest<com.eviware.soapui.config.HttpRequestConfig>

assertResponse

public void assertResponse(SubmitContext context)
Specified by:
assertResponse in interface HttpTestRequestInterface<com.eviware.soapui.config.HttpRequestConfig>

getIcon

public javax.swing.ImageIcon getIcon()
Specified by:
getIcon in interface AbstractHttpRequestInterface<com.eviware.soapui.config.HttpRequestConfig>
Specified by:
getIcon in interface ModelItem
Overrides:
getIcon in class AbstractHttpRequest<com.eviware.soapui.config.HttpRequestConfig>

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

addAssertionsListener

public void addAssertionsListener(AssertionsListener listener)
Specified by:
addAssertionsListener in interface Assertable

removeAssertionsListener

public void removeAssertionsListener(AssertionsListener listener)
Specified by:
removeAssertionsListener in interface Assertable

getResponseContentAsString

public java.lang.String getResponseContentAsString()
Specified by:
getResponseContentAsString in interface HttpTestRequestInterface<com.eviware.soapui.config.HttpRequestConfig>

getAssertableContent

public java.lang.String getAssertableContent()
Specified by:
getAssertableContent in interface Assertable

getTestStep

public HttpTestRequestStep getTestStep()
Specified by:
getTestStep in interface HttpTestRequestInterface<com.eviware.soapui.config.HttpRequestConfig>
Specified by:
getTestStep in interface TestRequest

cloneAssertion

public TestAssertion cloneAssertion(TestAssertion source,
                                    java.lang.String name)
Specified by:
cloneAssertion in interface Assertable

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

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

getAssertableType

public TestAssertionRegistry.AssertableType getAssertableType()
Specified by:
getAssertableType in interface Assertable

getInterface

public Interface getInterface()
Specified by:
getInterface in interface Assertable

updateConfig

public void updateConfig(com.eviware.soapui.config.HttpRequestConfig request)
Specified by:
updateConfig in interface HttpRequestInterface<com.eviware.soapui.config.HttpRequestConfig>
Specified by:
updateConfig in interface HttpTestRequestInterface<com.eviware.soapui.config.HttpRequestConfig>
Overrides:
updateConfig in class HttpRequest

getTestCase

public WsdlTestCase getTestCase()
Specified by:
getTestCase in interface HttpTestRequestInterface<com.eviware.soapui.config.HttpRequestConfig>

getParent

public ModelItem getParent()
Specified by:
getParent in interface ModelItem
Overrides:
getParent in class AbstractWsdlModelItem<com.eviware.soapui.config.HttpRequestConfig>

importAssertion

public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source,
                                            boolean overwrite,
                                            boolean createCopy)
Specified by:
importAssertion in interface TestRequest


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