public class WsdlTestRequest extends WsdlRequest implements Assertable, TestRequest
Modifier and Type | Class and Description |
---|---|
protected static class |
WsdlTestRequest.TestRequestIconAnimator |
AbstractHttpRequest.RequestIconAnimator<T extends AbstractHttpRequest<?>>
Request.SubmitException
Assertable.AssertionStatus
Modifier and Type | Field and Description |
---|---|
static String |
RESPONSE_PROPERTY |
static String |
STATUS_PROPERTY |
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
BASIC_AUTH_PROFILE, CR_ESCAPE_SEQUENCE, SELECTED_AUTH_PROFILE_PROPERTY_NAME
ENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
ATTACHMENTS_PROPERTY
BIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, STRIP_WHITESPACES
Constructor and Description |
---|
WsdlTestRequest(WsdlOperation operation,
WsdlRequestConfig callConfig,
WsdlTestRequestStep testStep,
boolean forLoadTest) |
addJMSHeaderExpansions, addWsaPropertyExpansions, copyTo, getAction, getAttachmentEncoding, getAttachmentPart, getContentLength, getDefinedAttachmentParts, getIncomingWss, getJMSHeaderConfig, getJMSPropertiesConfig, 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, propertyChange, setEncodeAttachments, setExpandMtomResponseAttachments, setForceMtom, setIncomingWss, setInlineFilesEnabled, setInlineResponseAttachments, setMtomEnabled, setOperation, setOutgoingWss, setRequestContent, setSkipSoapAction, setWsAddressing, setWsaEnabled, setWsReliableMessaging, setWsrmEnabled, setWssPasswordType, setWssTimeToLive, 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, getSelectedAuthProfile, getSslKeystore, getSubmitListeners, getTimeout, getUsername, hasEndpoint, 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, 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, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResponse
addSubmitListener, dependsOn, getAttachments, getAuthType, getEncoding, getEndpoint, getOperation, getPassword, getRequestContent, getRequestParts, getResponseParts, getTimeout, getUsername, removeSubmitListener, setEncoding, setEndpoint, submit
getChildren, getDescription, getId, getName, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
addAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, isMultipartEnabled, removeAttachmentsChangeListener
public static final String RESPONSE_PROPERTY
public static final String STATUS_PROPERTY
public WsdlTestRequest(WsdlOperation operation, WsdlRequestConfig callConfig, WsdlTestRequestStep testStep, boolean forLoadTest)
public WsdlTestCase getTestCase()
public ModelItem getParent()
getParent
in interface ModelItem
getParent
in class AbstractWsdlModelItem<WsdlRequestConfig>
protected void initIcons()
protected AbstractHttpRequest.RequestIconAnimator<?> initIconAnimator()
initIconAnimator
in class AbstractHttpRequest<WsdlRequestConfig>
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<WsdlRequestConfig>
setResponse
in class AbstractHttpRequest<WsdlRequestConfig>
public void assertResponse(SubmitContext context)
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 ImageIcon getIcon()
getIcon
in interface AbstractHttpRequestInterface<WsdlRequestConfig>
getIcon
in interface ModelItem
getIcon
in class AbstractHttpRequest<WsdlRequestConfig>
public void addAssertionsListener(AssertionsListener listener)
addAssertionsListener
in interface Assertable
public void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener
in interface Assertable
public void updateConfig(WsdlRequestConfig request)
updateConfig
in class WsdlRequest
public void release()
release
in interface AbstractHttpRequestInterface<WsdlRequestConfig>
release
in interface Releasable
release
in class WsdlRequest
public String getAssertableContentAsXml()
getAssertableContentAsXml
in interface Assertable
public String getAssertableContent()
getAssertableContent
in interface Assertable
public WsdlTestRequestStep getTestStep()
getTestStep
in interface TestRequest
getTestStep
in interface Assertable
public WsdlInterface getInterface()
getInterface
in interface Assertable
public TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType
in interface Assertable
public String getInterfaceName()
public String getOperationName()
public TestAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion
in interface Assertable
public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
importAssertion
in interface TestRequest
public List<TestAssertion> getAssertionList()
getAssertionList
in interface Assertable
public WsdlMessageAssertion getAssertionByName(String name)
getAssertionByName
in interface Assertable
public ModelItem getModelItem()
AttachmentContainer
getModelItem
in interface AttachmentContainer
getModelItem
in interface Assertable
getModelItem
in class WsdlRequest
public Map<String,TestAssertion> getAssertions()
getAssertions
in interface Assertable
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface Assertable
public void resolve(ResolveContext<?> context)
resolve
in interface AbstractHttpRequestInterface<WsdlRequestConfig>
resolve
in class AbstractHttpRequest<WsdlRequestConfig>
public boolean isDiscardResponse()
isDiscardResponse
in interface TestRequest
public void setDiscardResponse(boolean discardResponse)
Copyright © 2019. All Rights Reserved.