public class AMFRequest extends AbstractModelItem implements Assertable, TestRequest, AnimatableItem
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AMFRequest.RequestIconAnimator<T extends AMFRequest> | 
Request.SubmitExceptionAssertable.AssertionStatus| Modifier and Type | Field and Description | 
|---|---|
| static String | AMF_REQUEST | 
| static String | AMF_RESPONSE_CONTENT | 
| static String | AMF_RESPONSE_PROPERTY | 
| static String | AMF_SCRIPT_ERROR | 
| static String | AMF_SCRIPT_HEADERS | 
| static String | AMF_SCRIPT_PARAMETERS | 
| static String | RAW_AMF_REQUEST | 
ENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Constructor and Description | 
|---|
| AMFRequest(AMFRequestTestStep testStep,
          boolean forLoadTest) | 
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic static final String AMF_SCRIPT_HEADERS
public static final String AMF_SCRIPT_PARAMETERS
public static final String AMF_SCRIPT_ERROR
public static final String AMF_RESPONSE_CONTENT
public static final String AMF_REQUEST
public static final String RAW_AMF_REQUEST
public static final String AMF_RESPONSE_PROPERTY
public AMFRequest(AMFRequestTestStep testStep, boolean forLoadTest)
public AMFSubmit submit(SubmitContext submitContext, boolean async) throws Request.SubmitException
submit in interface RequestRequest.SubmitExceptionpublic boolean executeAmfScript(SubmitContext context)
public Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus in interface Assertablepublic Map<String,TestAssertion> getAssertions()
getAssertions in interface Assertablepublic String getDefaultAssertableContent()
getDefaultAssertableContent in interface Assertablepublic Interface getInterface()
getInterface in interface Assertablepublic ModelItem getModelItem()
getModelItem in interface Assertablepublic TestAssertion moveAssertion(int ix, int offset)
moveAssertion in interface Assertablepublic void removeAssertion(TestAssertion assertion)
removeAssertion in interface Assertablepublic void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener in interface Assertablepublic void setResponse(AMFResponse response)
public AMFResponse getResponse()
getResponse in interface TestRequestpublic String getResponseContent()
public void initIcons()
protected AMFRequest.RequestIconAnimator<?> initIconAnimator()
public AMFRequest.RequestIconAnimator<?> getIconAnimator()
public void setIconAnimator(AMFRequest.RequestIconAnimator<?> iconAnimator)
public void setIcon(ImageIcon icon)
setIcon in interface AnimatableItempublic void setPropertyNames(String[] propertyNames)
public String[] getPropertyNames()
public void setScriptEngine(SoapUIScriptEngine scriptEngine)
public SoapUIScriptEngine getScriptEngine()
public String getEndpoint()
getEndpoint in interface Requestpublic void setEndpoint(String endpoint)
setEndpoint in interface Requestpublic String getAmfCall()
public void setScript(String script)
public String getScript()
public void setAmfCall(String amfCall)
public HashMap<String,TestProperty> getPropertyMap()
public void setPropertyMap(HashMap<String,TestProperty> map)
public void clearArguments()
public Object[] argumentsToArray()
public void addSubmitListener(SubmitListener listener)
addSubmitListener in interface Requestpublic boolean dependsOn(ModelItem modelItem)
public Attachment[] getAttachments()
getAttachments in interface Requestpublic String getEncoding()
getEncoding in interface Requestpublic Operation getOperation()
getOperation in interface Requestpublic String getRequestContent()
getRequestContent in interface Requestpublic MessagePart[] getRequestParts()
getRequestParts in interface Requestpublic MessagePart[] getResponseParts()
getResponseParts in interface Requestpublic String getTimeout()
getTimeout in interface Requestpublic void removeSubmitListener(SubmitListener listener)
removeSubmitListener in interface Requestpublic void setEncoding(String string)
setEncoding in interface Requestpublic List<? extends ModelItem> getChildren()
getChildren in interface ModelItemgetChildren in class AbstractModelItempublic String getDescription()
getDescription in interface ModelItempublic String getName()
getName in interface ModelItemgetName in interface AnimatableItempublic Settings getSettings()
getSettings in interface ModelItempublic SubmitListener[] getSubmitListeners()
public AMFRequestTestStep getTestStep()
getTestStep in interface TestRequestgetTestStep in interface Assertablepublic WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
importAssertion in interface TestRequestpublic TestAssertion addAssertion(String selection)
addAssertion in interface Assertablepublic void addAssertionsListener(AssertionsListener listener)
addAssertionsListener in interface Assertablepublic TestAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion in interface Assertablepublic String getAssertableContentAsXml()
getAssertableContentAsXml in interface Assertablepublic String getAssertableContent()
getAssertableContent in interface Assertablepublic TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType in interface Assertablepublic TestAssertion getAssertionAt(int c)
getAssertionAt in interface Assertablepublic TestAssertion getAssertionByName(String name)
getAssertionByName in interface Assertablepublic int getAssertionCount()
getAssertionCount in interface Assertablepublic List<TestAssertion> getAssertionList()
getAssertionList in interface Assertablepublic String requestAsXML()
public void setHttpHeaders(StringToStringsMap httpHeaders)
public StringToStringsMap getHttpHeaders()
public void setAmfHeaders(StringToObjectMap amfHeaders)
public StringToObjectMap getAmfHeaders()
public void setAmfHeadersString(StringToStringMap amfHeadersString)
public StringToStringMap getAmfHeadersString()
public String getPassword()
getPassword in interface Requestpublic String getUsername()
getUsername in interface Requestpublic String getAuthType()
getAuthType in interface Requestpublic boolean isDiscardResponse()
isDiscardResponse in interface TestRequestpublic void setDiscardResponse(boolean discardResponse)
Copyright © 2019. All Rights Reserved.