public class AMFRequest extends AbstractModelItem implements Assertable, TestRequest, AnimatableItem
Modifier and Type | Class and Description |
---|---|
static class |
AMFRequest.RequestIconAnimator<T extends AMFRequest> |
Request.SubmitException
Assertable.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_PROPERTY
DESCRIPTION_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, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public 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 Request
Request.SubmitException
public boolean executeAmfScript(SubmitContext context)
public Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus
in interface Assertable
public Map<String,TestAssertion> getAssertions()
getAssertions
in interface Assertable
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface Assertable
public Interface getInterface()
getInterface
in interface Assertable
public ModelItem getModelItem()
getModelItem
in interface Assertable
public TestAssertion moveAssertion(int ix, int offset)
moveAssertion
in interface Assertable
public void removeAssertion(TestAssertion assertion)
removeAssertion
in interface Assertable
public void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener
in interface Assertable
public void setResponse(AMFResponse response)
public AMFResponse getResponse()
getResponse
in interface TestRequest
public 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 AnimatableItem
public void setPropertyNames(String[] propertyNames)
public String[] getPropertyNames()
public void setScriptEngine(SoapUIScriptEngine scriptEngine)
public SoapUIScriptEngine getScriptEngine()
public String getEndpoint()
getEndpoint
in interface Request
public void setEndpoint(String endpoint)
setEndpoint
in interface Request
public 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 Request
public boolean dependsOn(ModelItem modelItem)
public Attachment[] getAttachments()
getAttachments
in interface Request
public String getEncoding()
getEncoding
in interface Request
public Operation getOperation()
getOperation
in interface Request
public String getRequestContent()
getRequestContent
in interface Request
public MessagePart[] getRequestParts()
getRequestParts
in interface Request
public MessagePart[] getResponseParts()
getResponseParts
in interface Request
public String getTimeout()
getTimeout
in interface Request
public void removeSubmitListener(SubmitListener listener)
removeSubmitListener
in interface Request
public void setEncoding(String string)
setEncoding
in interface Request
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public String getDescription()
getDescription
in interface ModelItem
public String getName()
getName
in interface ModelItem
getName
in interface AnimatableItem
public Settings getSettings()
getSettings
in interface ModelItem
public SubmitListener[] getSubmitListeners()
public AMFRequestTestStep getTestStep()
getTestStep
in interface TestRequest
getTestStep
in interface Assertable
public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
importAssertion
in interface TestRequest
public TestAssertion addAssertion(String selection)
addAssertion
in interface Assertable
public void addAssertionsListener(AssertionsListener listener)
addAssertionsListener
in interface Assertable
public TestAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion
in interface Assertable
public String getAssertableContentAsXml()
getAssertableContentAsXml
in interface Assertable
public String getAssertableContent()
getAssertableContent
in interface Assertable
public TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType
in interface Assertable
public TestAssertion getAssertionAt(int c)
getAssertionAt
in interface Assertable
public TestAssertion getAssertionByName(String name)
getAssertionByName
in interface Assertable
public int getAssertionCount()
getAssertionCount
in interface Assertable
public List<TestAssertion> getAssertionList()
getAssertionList
in interface Assertable
public 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 Request
public String getUsername()
getUsername
in interface Request
public String getAuthType()
getAuthType
in interface Request
public boolean isDiscardResponse()
isDiscardResponse
in interface TestRequest
public void setDiscardResponse(boolean discardResponse)
Copyright © 2019. All Rights Reserved.