com.eviware.soapui.impl.wsdl.panels.teststeps.amf
Class AMFRequest
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.model.support.AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
com.eviware.soapui.impl.wsdl.panels.teststeps.amf.AMFRequest
- All Implemented Interfaces:
- TestRequest, Request, ModelItem, Assertable, PropertyChangeNotifier
public class AMFRequest
- extends AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
- implements Assertable, TestRequest
| Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AMF_SCRIPT_HEADERS
public static final java.lang.String AMF_SCRIPT_HEADERS
- See Also:
- Constant Field Values
AMF_SCRIPT_PARAMETERS
public static final java.lang.String AMF_SCRIPT_PARAMETERS
- See Also:
- Constant Field Values
AMF_SCRIPT_ERROR
public static final java.lang.String AMF_SCRIPT_ERROR
- See Also:
- Constant Field Values
AMF_RESPONSE_CONTENT
public static final java.lang.String AMF_RESPONSE_CONTENT
- See Also:
- Constant Field Values
AMF_REQUEST
public static final java.lang.String AMF_REQUEST
- See Also:
- Constant Field Values
RAW_AMF_REQUEST
public static final java.lang.String RAW_AMF_REQUEST
- See Also:
- Constant Field Values
AMF_RESPONSE_PROPERTY
public static final java.lang.String AMF_RESPONSE_PROPERTY
- See Also:
- Constant Field Values
AMFRequest
public AMFRequest(AMFRequestTestStep testStep,
boolean forLoadTest)
submit
public AMFSubmit submit(SubmitContext submitContext,
boolean async)
throws Request.SubmitException
- Specified by:
submit in interface Request
- Throws:
Request.SubmitException
executeAmfScript
public boolean executeAmfScript(SubmitContext context)
getAssertionStatus
public Assertable.AssertionStatus getAssertionStatus()
- Specified by:
getAssertionStatus in interface Assertable
getAssertions
public java.util.Map<java.lang.String,TestAssertion> getAssertions()
- Specified by:
getAssertions in interface Assertable
getDefaultAssertableContent
public java.lang.String getDefaultAssertableContent()
- Specified by:
getDefaultAssertableContent in interface Assertable
getInterface
public Interface getInterface()
- Specified by:
getInterface in interface Assertable
getModelItem
public ModelItem getModelItem()
- Specified by:
getModelItem in interface Assertable
moveAssertion
public TestAssertion moveAssertion(int ix,
int offset)
- Specified by:
moveAssertion in interface Assertable
removeAssertion
public void removeAssertion(TestAssertion assertion)
- Specified by:
removeAssertion in interface Assertable
removeAssertionsListener
public void removeAssertionsListener(AssertionsListener listener)
- Specified by:
removeAssertionsListener in interface Assertable
setResponse
public void setResponse(AMFResponse response)
getResponse
public AMFResponse getResponse()
- Specified by:
getResponse in interface TestRequest
getResponseContent
public java.lang.String getResponseContent()
initIcons
public void initIcons()
initIconAnimator
protected AMFRequest.RequestIconAnimator<?> initIconAnimator()
getIconAnimator
public AMFRequest.RequestIconAnimator<?> getIconAnimator()
setIconAnimator
public void setIconAnimator(AMFRequest.RequestIconAnimator<?> iconAnimator)
getIcon
public javax.swing.ImageIcon getIcon()
- Specified by:
getIcon in interface ModelItem
setIcon
public void setIcon(javax.swing.ImageIcon icon)
- Specified by:
setIcon in class AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
setPropertyNames
public void setPropertyNames(java.lang.String[] propertyNames)
getPropertyNames
public java.lang.String[] getPropertyNames()
setScriptEngine
public void setScriptEngine(SoapUIScriptEngine scriptEngine)
getScriptEngine
public SoapUIScriptEngine getScriptEngine()
getEndpoint
public java.lang.String getEndpoint()
- Specified by:
getEndpoint in interface Request
setEndpoint
public void setEndpoint(java.lang.String endpoint)
- Specified by:
setEndpoint in interface Request
getAmfCall
public java.lang.String getAmfCall()
setScript
public void setScript(java.lang.String script)
getScript
public java.lang.String getScript()
setAmfCall
public void setAmfCall(java.lang.String amfCall)
getPropertyMap
public java.util.HashMap<java.lang.String,TestProperty> getPropertyMap()
setPropertyMap
public void setPropertyMap(java.util.HashMap<java.lang.String,TestProperty> map)
setArguments
public void setArguments(java.util.List<java.lang.Object> arguments)
clearArguments
public void clearArguments()
getArguments
public java.util.List<java.lang.Object> getArguments()
addArgument
public java.util.List<java.lang.Object> addArgument(java.lang.Object obj)
argumentsToArray
public java.lang.Object[] argumentsToArray()
addSubmitListener
public void addSubmitListener(SubmitListener listener)
- Specified by:
addSubmitListener in interface Request
dependsOn
public boolean dependsOn(ModelItem modelItem)
- Specified by:
dependsOn in interface Request
getAttachments
public Attachment[] getAttachments()
- Specified by:
getAttachments in interface Request
getEncoding
public java.lang.String getEncoding()
- Specified by:
getEncoding in interface Request
getOperation
public Operation getOperation()
- Specified by:
getOperation in interface Request
getRequestContent
public java.lang.String getRequestContent()
- Specified by:
getRequestContent in interface Request
getRequestParts
public MessagePart[] getRequestParts()
- Specified by:
getRequestParts in interface Request
getResponseParts
public MessagePart[] getResponseParts()
- Specified by:
getResponseParts in interface Request
getTimeout
public java.lang.String getTimeout()
- Specified by:
getTimeout in interface Request
removeSubmitListener
public void removeSubmitListener(SubmitListener listener)
- Specified by:
removeSubmitListener in interface Request
setEncoding
public void setEncoding(java.lang.String string)
- Specified by:
setEncoding in interface Request
getChildren
public java.util.List<? extends ModelItem> getChildren()
- Specified by:
getChildren in interface ModelItem- Overrides:
getChildren in class AbstractModelItem
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface ModelItem
getId
public java.lang.String getId()
- Specified by:
getId in interface ModelItem
getName
public java.lang.String getName()
- Specified by:
getName in interface ModelItem
getParent
public ModelItem getParent()
- Specified by:
getParent in interface ModelItem
getSettings
public Settings getSettings()
- Specified by:
getSettings in interface ModelItem
getSubmitListeners
public SubmitListener[] getSubmitListeners()
getTestStep
public AMFRequestTestStep getTestStep()
- Specified by:
getTestStep in interface TestRequest- Specified by:
getTestStep in interface Assertable
importAssertion
public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source,
boolean overwrite,
boolean createCopy,
java.lang.String newName)
- Specified by:
importAssertion in interface TestRequest
addAssertion
public TestAssertion addAssertion(java.lang.String selection)
- Specified by:
addAssertion in interface Assertable
addAssertionsListener
public void addAssertionsListener(AssertionsListener listener)
- Specified by:
addAssertionsListener in interface Assertable
cloneAssertion
public TestAssertion cloneAssertion(TestAssertion source,
java.lang.String name)
- Specified by:
cloneAssertion in interface Assertable
getAssertableContent
public java.lang.String getAssertableContent()
- Specified by:
getAssertableContent in interface Assertable
getAssertableType
public TestAssertionRegistry.AssertableType getAssertableType()
- Specified by:
getAssertableType in interface Assertable
getAssertionAt
public TestAssertion getAssertionAt(int c)
- Specified by:
getAssertionAt in interface Assertable
getAssertionByName
public TestAssertion getAssertionByName(java.lang.String name)
- Specified by:
getAssertionByName in interface Assertable
getAssertionCount
public int getAssertionCount()
- Specified by:
getAssertionCount in interface Assertable
getAssertionList
public java.util.List<TestAssertion> getAssertionList()
- Specified by:
getAssertionList in interface Assertable
requestAsXML
public java.lang.String requestAsXML()
setHttpHeaders
public void setHttpHeaders(StringToStringsMap httpHeaders)
getHttpHeaders
public StringToStringsMap getHttpHeaders()
setAmfHeaders
public void setAmfHeaders(StringToObjectMap amfHeaders)
getAmfHeaders
public StringToObjectMap getAmfHeaders()
setAmfHeadersString
public void setAmfHeadersString(StringToStringMap amfHeadersString)
getAmfHeadersString
public StringToStringMap getAmfHeadersString()
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword in interface Request
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername in interface Request
isDiscardResponse
public boolean isDiscardResponse()
- Specified by:
isDiscardResponse in interface TestRequest
setDiscardResponse
public void setDiscardResponse(boolean discardResponse)
Copyright © 2005-2011 eviware.com. All Rights Reserved.