com.eviware.soapui.impl.wsdl.teststeps
Class HttpTestRequest
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.model.support.AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<T>
com.eviware.soapui.impl.support.AbstractHttpRequest<com.eviware.soapui.config.HttpRequestConfig>
com.eviware.soapui.impl.support.http.HttpRequest
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, JMSHeaderContainer, JMSPropertyContainer, 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>
| Methods inherited from class com.eviware.soapui.impl.support.http.HttpRequest |
addProperty, addTestPropertyListener, getAttachmentPart, getDefinedAttachmentParts, getDownloadIncludedResources, getJMSHeaderConfig, getJMSPropertiesConfig, getMediaType, getMethod, getModelItem, getMultiValueDelimiter, getOperation, getParams, getPath, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyExpansions, getPropertyList, getPropertyNames, getPropertyValue, getRequestParts, getResponseContentAsXml, getResponseParts, hasProperty, hasRequestBody, isPostQueryString, isSendEmptyParameters, moveProperty, notifyPropertyChanged, removeProperty, removeTestPropertyListener, renameProperty, setDownloadIncludedResources, setMediaType, setMethod, setMultiValueDelimiter, setPostQueryString, setPropertyValue, setSendEmptyParameters, submit |
| Methods inherited from class com.eviware.soapui.impl.support.AbstractHttpRequest |
addAttachmentsChangeListener, addExternalDependencies, addSubmitListener, attachBinaryData, attachFile, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, getAttachmentsList, getBindAddress, getDomain, getDumpFile, getEncoding, getEndpoint, getIconAnimator, getMaxSize, getPassword, getRequestContent, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getTimeout, getUsername, hasEndpoint, importAttachment, initIconAnimator, isEntitizeProperties, isFollowRedirects, isMultipartEnabled, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, removeAttachment, removeAttachmentsChangeListener, removeSubmitListener, resolve, setAfterRequestInjection, setAttachmentAt, setBindAddress, setDomain, setDumpFile, setEncoding, setEndpoint, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setRequestHeaders, setSslKeystore, setStripWhitespaces, setTimeout, setUsername |
| Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem |
afterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, 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.impl.support.AbstractHttpRequestInterface |
addExternalDependencies, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getBindAddress, getDomain, getDumpFile, getIconAnimator, getMaxSize, getMethod, getPassword, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getUsername, hasEndpoint, importAttachment, isEntitizeProperties, isFollowRedirects, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, 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, getAttachments, getEncoding, getEndpoint, getOperation, getRequestContent, getRequestParts, getResponseParts, getTimeout, removeSubmitListener, setEncoding, setEndpoint, submit |
| Methods inherited from interface com.eviware.soapui.model.TestPropertyHolder |
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue |
HttpTestRequest
protected HttpTestRequest(com.eviware.soapui.config.HttpRequestConfig config,
HttpTestRequestStep testStep,
boolean forLoadTest)
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- Specified by:
getTestStep in interface Assertable
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,
java.lang.String newName)
- Specified by:
importAssertion in interface TestRequest
isDiscardResponse
public boolean isDiscardResponse()
- Specified by:
isDiscardResponse in interface TestRequest
setDiscardResponse
public void setDiscardResponse(boolean discardResponse)
release
public void release()
- Specified by:
release in interface AbstractHttpRequestInterface<com.eviware.soapui.config.HttpRequestConfig>- Overrides:
release in class HttpRequest
Copyright © 2005-2011 eviware.com. All Rights Reserved.