com.eviware.soapui.impl.wsdl.panels.teststeps.amf
Class AMFRequest

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.model.support.AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
          extended by 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


Nested Class Summary
static class AMFRequest.RequestIconAnimator<T extends AMFRequest>
           
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.iface.Request
Request.SubmitException
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.Assertable
Assertable.AssertionStatus
 
Field Summary
static java.lang.String AMF_REQUEST
           
static java.lang.String AMF_RESPONSE_CONTENT
           
static java.lang.String AMF_RESPONSE_PROPERTY
           
static java.lang.String AMF_SCRIPT_ERROR
           
static java.lang.String AMF_SCRIPT_HEADERS
           
static java.lang.String AMF_SCRIPT_PARAMETERS
           
static java.lang.String RAW_AMF_REQUEST
           
 
Fields inherited from interface com.eviware.soapui.model.iface.Request
ENCODING_PROPERTY, ENDPOINT_PROPERTY, REQUEST_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
AMFRequest(AMFRequestTestStep testStep)
           
 
Method Summary
 java.util.List<java.lang.Object> addArgument(java.lang.Object obj)
           
 TestAssertion addAssertion(java.lang.String selection)
           
 void addAssertionsListener(AssertionsListener listener)
           
 void addSubmitListener(SubmitListener listener)
           
 java.lang.Object[] argumentsToArray()
           
 void clearArguments()
           
 TestAssertion cloneAssertion(TestAssertion source, java.lang.String name)
           
 boolean dependsOn(ModelItem modelItem)
           
 boolean executeAmfScript(SubmitContext context)
           
 java.lang.String getAmfCall()
           
 StringToObjectMap getAmfHeaders()
           
 StringToStringMap getAmfHeadersString()
           
 java.util.List<java.lang.Object> getArguments()
           
 java.lang.String getAssertableContent()
           
 TestAssertionRegistry.AssertableType getAssertableType()
           
 TestAssertion getAssertionAt(int c)
           
 TestAssertion getAssertionByName(java.lang.String name)
           
 int getAssertionCount()
           
 java.util.List<TestAssertion> getAssertionList()
           
 java.util.Map<java.lang.String,TestAssertion> getAssertions()
           
 Assertable.AssertionStatus getAssertionStatus()
           
 Attachment[] getAttachments()
           
 java.util.List<? extends ModelItem> getChildren()
           
 java.lang.String getDefaultAssertableContent()
           
 java.lang.String getDescription()
           
 java.lang.String getEncoding()
           
 java.lang.String getEndpoint()
           
 StringToStringMap getHttpHeaders()
           
 javax.swing.ImageIcon getIcon()
           
 AMFRequest.RequestIconAnimator<?> getIconAnimator()
           
 java.lang.String getId()
           
 Interface getInterface()
           
 ModelItem getModelItem()
           
 java.lang.String getName()
           
 Operation getOperation()
           
 ModelItem getParent()
           
 java.lang.String getPassword()
           
 java.util.HashMap<java.lang.String,TestProperty> getPropertyMap()
           
 java.lang.String[] getPropertyNames()
           
 java.lang.String getRequestContent()
           
 MessagePart[] getRequestParts()
           
 AMFResponse getResponse()
           
 java.lang.String getResponseContent()
           
 MessagePart[] getResponseParts()
           
 java.lang.String getScript()
           
 SoapUIScriptEngine getScriptEngine()
           
 Settings getSettings()
           
 SubmitListener[] getSubmitListeners()
           
 AMFRequestTestStep getTestStep()
           
 java.lang.String getTimeout()
           
 java.lang.String getUsername()
           
 WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy)
           
protected  AMFRequest.RequestIconAnimator<?> initIconAnimator()
           
 void initIcons()
           
 TestAssertion moveAssertion(int ix, int offset)
           
 void removeAssertion(TestAssertion assertion)
           
 void removeAssertionsListener(AssertionsListener listener)
           
 void removeSubmitListener(SubmitListener listener)
           
 java.lang.String requestAsXML()
           
 void setAmfCall(java.lang.String amfCall)
           
 void setAmfHeaders(StringToObjectMap amfHeaders)
           
 void setAmfHeadersString(StringToStringMap amfHeadersString)
           
 void setArguments(java.util.List<java.lang.Object> arguments)
           
 void setEncoding(java.lang.String string)
           
 void setEndpoint(java.lang.String endpoint)
           
 void setHttpHeaders(StringToStringMap httpHeaders)
           
 void setIcon(javax.swing.ImageIcon icon)
           
 void setIconAnimator(AMFRequest.RequestIconAnimator<?> iconAnimator)
           
 void setPropertyMap(java.util.HashMap<java.lang.String,TestProperty> map)
           
 void setPropertyNames(java.lang.String[] propertyNames)
           
 void setResponse(AMFResponse response)
           
 void setScript(java.lang.String script)
           
 void setScriptEngine(SoapUIScriptEngine scriptEngine)
           
 AMFSubmit submit(SubmitContext submitContext, boolean async)
           
 
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
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

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
Constructor Detail

AMFRequest

public AMFRequest(AMFRequestTestStep testStep)
Method Detail

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()

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

importAssertion

public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source,
                                            boolean overwrite,
                                            boolean createCopy)
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(StringToStringMap httpHeaders)

getHttpHeaders

public StringToStringMap 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


Copyright © 2005-2010 eviware.com. All Rights Reserved.