public class HttpTestRequest extends HttpRequest implements HttpTestRequestInterface<HttpRequestConfig>
HttpRequest.HttpContentPart
AbstractHttpRequest.RequestIconAnimator<T extends AbstractHttpRequest<?>>
Assertable.AssertionStatus
Request.SubmitException
BASIC_AUTH_PROFILE, CR_ESCAPE_SEQUENCE, SELECTED_AUTH_PROFILE_PROPERTY_NAME
RESPONSE_PROPERTY, STATUS_PROPERTY
BIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, log, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, STRIP_WHITESPACES
ENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
ATTACHMENTS_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
HttpTestRequest(HttpRequestConfig config,
HttpTestRequestStep testStep,
boolean forLoadTest) |
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
addAttachmentsChangeListener, addBasicAuthenticationProfile, addExternalDependencies, addSubmitListener, attachBinaryData, attachFile, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, getAttachmentsList, getAuthType, getBasicAuthenticationProfiles, getBasicAuthType, getBindAddress, getDomain, getDumpFile, getEncoding, getEndpoint, getIconAnimator, getMaxSize, getPassword, getPreemptive, getRequestContent, getRequestHeaders, getResponse, getSelectedAuthProfile, getSslKeystore, getSubmitListeners, getTimeout, getUsername, hasEndpoint, importAttachment, initIconAnimator, isEntitizeProperties, isFollowRedirects, isMultipartEnabled, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, release, removeAttachment, removeAttachmentsChangeListener, removeBasicAuthenticationProfile, removeSubmitListener, resolve, setAfterRequestInjection, setAttachmentAt, setBindAddress, setDomain, setDumpFile, setEncoding, setEndpoint, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPreemptive, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setRequestHeaders, setSelectedAuthProfileAndAuthType, setSslKeystore, setStripWhitespaces, setTimeout, setUsername
afterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResponse
getModelItem
getMultiValueDelimiter, getParams, getPath, getResponseContentAsXml, hasRequestBody, isPostQueryString, setMethod, setPostQueryString
addExternalDependencies, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAuthType, 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
addSubmitListener, dependsOn, getAttachments, getEncoding, getEndpoint, getOperation, getRequestContent, getRequestParts, getResponseParts, getTimeout, removeSubmitListener, setEncoding, setEndpoint, submit
getChildren, getDescription, getId, getName, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
getPropertyExpansions
attachFile, removeAttachment
addAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachmentPart, getAttachments, getAttachmentsForPart, getDefinedAttachmentParts, getModelItem, isMultipartEnabled, removeAttachmentsChangeListener
addProperty, moveProperty, removeProperty, renameProperty
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
getMediaType, setMediaType
protected HttpTestRequest(HttpRequestConfig config, HttpTestRequestStep testStep, boolean forLoadTest)
protected void initIcons()
public int getAssertionCount()
getAssertionCount
in interface Assertable
public WsdlMessageAssertion getAssertionAt(int c)
getAssertionAt
in interface Assertable
public void setResponse(HttpResponse response, SubmitContext context)
setResponse
in interface AbstractHttpRequestInterface<HttpRequestConfig>
setResponse
in class AbstractHttpRequest<HttpRequestConfig>
public void assertResponse(SubmitContext context)
assertResponse
in interface HttpTestRequestInterface<HttpRequestConfig>
public ImageIcon getIcon()
getIcon
in interface AbstractHttpRequestInterface<HttpRequestConfig>
getIcon
in interface ModelItem
getIcon
in class AbstractHttpRequest<HttpRequestConfig>
public WsdlMessageAssertion addAssertion(String assertionLabel)
addAssertion
in interface Assertable
public void removeAssertion(TestAssertion assertion)
removeAssertion
in interface Assertable
public TestAssertion moveAssertion(int ix, int offset)
moveAssertion
in interface Assertable
public Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus
in interface Assertable
public void addAssertionsListener(AssertionsListener listener)
addAssertionsListener
in interface Assertable
public void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener
in interface Assertable
public String getResponseContentAsString()
getResponseContentAsString
in interface HttpTestRequestInterface<HttpRequestConfig>
public String getAssertableContentAsXml()
getAssertableContentAsXml
in interface Assertable
public String getAssertableContent()
getAssertableContent
in interface Assertable
public HttpTestRequestStep getTestStep()
getTestStep
in interface HttpTestRequestInterface<HttpRequestConfig>
getTestStep
in interface TestRequest
getTestStep
in interface Assertable
public TestAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion
in interface Assertable
public List<TestAssertion> getAssertionList()
getAssertionList
in interface Assertable
public WsdlMessageAssertion getAssertionByName(String name)
getAssertionByName
in interface Assertable
public Map<String,TestAssertion> getAssertions()
getAssertions
in interface Assertable
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface Assertable
public TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType
in interface Assertable
public Interface getInterface()
getInterface
in interface Assertable
public void updateConfig(HttpRequestConfig request)
updateConfig
in interface HttpRequestInterface<HttpRequestConfig>
updateConfig
in interface HttpTestRequestInterface<HttpRequestConfig>
updateConfig
in class HttpRequest
public WsdlTestCase getTestCase()
getTestCase
in interface HttpTestRequestInterface<HttpRequestConfig>
public ModelItem getParent()
getParent
in interface ModelItem
getParent
in class AbstractWsdlModelItem<HttpRequestConfig>
public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
importAssertion
in interface TestRequest
public boolean isDiscardResponse()
isDiscardResponse
in interface TestRequest
public void setDiscardResponse(boolean discardResponse)
Copyright © 2019. All Rights Reserved.