public class RestTestRequest extends RestRequest implements RestTestRequestInterface
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | RestTestRequest.TestRequestIconAnimator | 
RestRequest.ParameterMessagePart, RestRequest.RestContentPartAbstractHttpRequest.RequestIconAnimator<T extends AbstractHttpRequest<?>>Assertable.AssertionStatusRestRequestInterface.HttpMethodBASIC_AUTH_PROFILE, CR_ESCAPE_SEQUENCE, SELECTED_AUTH_PROFILE_PROPERTY_NAMERESPONSE_PROPERTY, STATUS_PROPERTYDEFAULT_MEDIATYPE, log, REST_XML_REQUESTBIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, STRIP_WHITESPACES| Constructor and Description | 
|---|
| RestTestRequest(RestMethod method,
               RestRequestConfig callConfig,
               RestTestRequestStep testStep,
               boolean forLoadTest) | 
addJMSHeaderExpansions, addProperty, addTestPropertyListener, getAccept, getAttachmentPart, getDefinedAttachmentParts, getJMSHeaderConfig, getJMSPropertiesConfig, getMediaType, getMethod, getMultiValueDelimiter, getParams, getPath, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyExpansions, getPropertyList, getPropertyNames, getPropertyValue, getRepresentations, getRepresentations, getRepresentations, getRequestParts, getResponseContentAsXml, getResponseMediaTypes, getResponseParts, getRestMethod, hasEndpoint, hasProperty, hasRequestBody, initIconAnimator, isPostQueryString, moveProperty, propertyChange, removeProperty, removeTestPropertyListener, renameProperty, resetPropertyValues, setAccept, setMediaType, setMethod, setMultiValueDelimiter, setPostQueryString, setPropertyValue, submit, updateParamsaddAttachmentsChangeListener, 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, importAttachment, isEntitizeProperties, isFollowRedirects, isMultipartEnabled, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, removeAttachment, removeAttachmentsChangeListener, removeBasicAuthenticationProfile, removeSubmitListener, setAfterRequestInjection, setAttachmentAt, setBindAddress, setDomain, setDumpFile, setEncoding, setEndpoint, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPreemptive, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setRequestHeaders, setSelectedAuthProfileAndAuthType, setSslKeystore, setStripWhitespaces, setTimeout, setUsernameafterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResponsegetAccept, getRepresentations, getRepresentations, getRepresentations, getResponseMediaTypes, getRestMethod, hasEndpoint, setAcceptgetMultiValueDelimiter, getParams, getPath, getResponseContentAsXml, hasRequestBody, isPostQueryString, setMethod, setPostQueryStringaddExternalDependencies, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAuthType, getBindAddress, getDomain, getDumpFile, getIconAnimator, getMaxSize, getMethod, getPassword, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getUsername, importAttachment, isEntitizeProperties, isFollowRedirects, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, setBindAddress, setDomain, setDumpFile, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setSslKeystore, setStripWhitespaces, setUsernameaddProperty, moveProperty, removeProperty, renamePropertyaddTestPropertyListener, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValuegetMediaType, setMediaTypepropertyChangepublic RestTestRequest(RestMethod method, RestRequestConfig callConfig, RestTestRequestStep testStep, boolean forLoadTest)
public ModelItem getParent()
getParent in interface ModelItemgetParent in class RestRequestpublic WsdlTestCase getTestCase()
getTestCase in interface HttpTestRequestInterface<RestRequestConfig>protected void initIcons()
public int getAssertionCount()
getAssertionCount in interface Assertablepublic WsdlMessageAssertion getAssertionAt(int c)
getAssertionAt in interface Assertablepublic void setResponse(HttpResponse response, SubmitContext context)
setResponse in interface RestRequestInterfacesetResponse in interface AbstractHttpRequestInterface<RestRequestConfig>setResponse in class AbstractHttpRequest<RestRequestConfig>public void assertResponse(SubmitContext context)
assertResponse in interface HttpTestRequestInterface<RestRequestConfig>public WsdlMessageAssertion addAssertion(String assertionLabel)
addAssertion in interface Assertablepublic void removeAssertion(TestAssertion assertion)
removeAssertion in interface Assertablepublic TestAssertion moveAssertion(int ix, int offset)
moveAssertion in interface Assertablepublic Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus in interface Assertablepublic ImageIcon getIcon()
getIcon in interface AbstractHttpRequestInterface<RestRequestConfig>getIcon in interface ModelItemgetIcon in class AbstractHttpRequest<RestRequestConfig>public void addAssertionsListener(AssertionsListener listener)
addAssertionsListener in interface Assertablepublic void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener in interface Assertablepublic void updateConfig(RestRequestConfig request)
updateConfig in interface HttpRequestInterface<RestRequestConfig>updateConfig in interface HttpTestRequestInterface<RestRequestConfig>updateConfig in class RestRequestpublic void release()
release in interface RestRequestInterfacerelease in interface AbstractHttpRequestInterface<RestRequestConfig>release in interface Releasablerelease in class RestRequestpublic String getAssertableContentAsXml()
getAssertableContentAsXml in interface Assertablepublic String getAssertableContent()
getAssertableContent in interface Assertablepublic RestTestRequestStep getTestStep()
getTestStep in interface HttpTestRequestInterface<RestRequestConfig>getTestStep in interface RestTestRequestInterfacegetTestStep in interface TestRequestgetTestStep in interface Assertablepublic RestService getInterface()
getInterface in interface Assertablepublic RestResource getOperation()
getOperation in interface RequestgetOperation in class RestRequestpublic TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType in interface Assertablepublic TestAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion in interface Assertablepublic WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
importAssertion in interface RestTestRequestInterfaceimportAssertion in interface TestRequestpublic List<TestAssertion> getAssertionList()
getAssertionList in interface Assertablepublic WsdlMessageAssertion getAssertionByName(String name)
getAssertionByName in interface Assertablepublic ModelItem getModelItem()
AttachmentContainergetModelItem in interface AttachmentContainergetModelItem in interface TestPropertyHoldergetModelItem in interface AssertablegetModelItem in class RestRequestpublic Map<String,TestAssertion> getAssertions()
getAssertions in interface Assertablepublic String getDefaultAssertableContent()
getDefaultAssertableContent in interface Assertablepublic String getResponseContentAsString()
getResponseContentAsString in interface HttpTestRequestInterface<RestRequestConfig>public void setPath(String fullPath)
setPath in interface RestRequestInterfacesetPath in class RestRequestpublic void setRestMethod(RestMethod restMethod)
setRestMethod in interface RestTestRequestInterfacesetRestMethod in class RestRequestpublic RestResource getResource()
getResource in interface RestRequestInterfacegetResource in class RestRequestpublic String getRestMethodName()
getRestMethodName in interface RestTestRequestInterfacepublic void resolve(ResolveContext<?> context)
resolve in interface AbstractHttpRequestInterface<RestRequestConfig>resolve in interface RestTestRequestInterfaceresolve in class AbstractHttpRequest<RestRequestConfig>public String getServiceName()
getServiceName in interface RestTestRequestInterfacepublic boolean isDiscardResponse()
isDiscardResponse in interface TestRequestpublic void setDiscardResponse(boolean discardResponse)
Copyright © 2019. All Rights Reserved.