com.eviware.soapui.impl.wsdl.teststeps
Class WsdlAsyncResponseTestStep

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
          extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
              extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
                  extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlAsyncResponseTestStep
All Implemented Interfaces:
ModelItem, TestModelItem, TestPropertyHolder, Assertable, ResultContainer, TestStep, PropertyChangeNotifier, java.beans.PropertyChangeListener, java.util.EventListener

public class WsdlAsyncResponseTestStep
extends WsdlTestStepWithProperties
implements java.beans.PropertyChangeListener, Assertable


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.Assertable
Assertable.AssertionStatus
 
Field Summary
static java.lang.String MATCHING_VALUE_PROPERTY
           
static java.lang.String STATUS_PROPERTY
           
static java.lang.String TIMEOUT_PROPERTY
           
 
Fields inherited from interface com.eviware.soapui.model.testsuite.TestStep
DISABLED_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
WsdlAsyncResponseTestStep(WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean forLoadTest)
          Constructor
 
Method Summary
 WsdlMessageAssertion addAssertion(java.lang.String assertion)
           
 void addAssertionsListener(AssertionsListener listener)
           
 void beforeSave()
           
 boolean cancel()
           
 WsdlMessageAssertion cloneAssertion(TestAssertion testAssertion, java.lang.String s)
           
 void createMockService()
           
 boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
           
 void finish(TestRunner testrunner, TestRunContext testruncontext)
           
 java.lang.String getAssertableContent()
           
 TestAssertionRegistry.AssertableType getAssertableType()
           
 WsdlMessageAssertion getAssertionAt(int i)
           
 WsdlMessageAssertion getAssertionByName(java.lang.String s)
           
 int getAssertionCount()
           
 java.util.List<TestAssertion> getAssertionList()
           
 java.util.Map<java.lang.String,TestAssertion> getAssertions()
           
 Assertable.AssertionStatus getAssertionStatus()
           
 java.util.List<WsdlMessageAssertion> getChildren()
           
 long getContentLength()
           
 java.lang.String getDefaultAssertableContent()
           
 java.lang.String getDefaultSourcePropertyName()
          Default property to use when creating property-transfers where this step is source
 java.lang.String getDefaultTargetPropertyName()
          Default property to use when creating property-transfers where this step is target
 java.lang.String getEncoding()
           
 WsdlInterface getInterface()
           
 java.lang.String getMatchingValue()
           
 WsdlMockResponse getMockResponse()
           
 WsdlOperation getOperation()
           
 java.lang.String getOutgoingWss()
           
 java.lang.String getPath()
           
 int getPort()
           
 PropertyExpansion[] getPropertyExpansions()
           
 java.lang.String getRequestQuery()
           
 java.util.Collection<WsdlInterface> getRequiredInterfaces()
           
 long getResponseDelay()
           
 java.lang.String getResponseHttpStatus()
           
 TestStep getTestStep()
           
 long getTimeout()
           
 boolean isEncodeAttachments()
           
 boolean isForceMtom()
           
 boolean isInlineFilesEnabled()
           
 boolean isMtomEnabled()
           
 boolean isMultipartEnabled()
           
 boolean isRemoveEmptyContent()
           
 boolean isStripWhitespaces()
           
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 void release()
           
 void removeAssertion(TestAssertion assertion)
           
 void removeAssertionsListener(AssertionsListener listener)
           
 void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
          Called from WsdlTestCase when moving a teststep due to no move functionality in xmlbeans generated arrays.
 TestStepResult run(TestRunner testRunner, TestRunContext context)
           
 void setEncodeAttachments(boolean encodeAttachments)
           
 void setEncoding(java.lang.String encoding)
           
 void setForceMtom(boolean forceMtom)
           
 void setInlineFilesEnabled(boolean inlineFilesEnabled)
           
 void setInterface(java.lang.String interfaceName)
           
 void setMatchingValue(java.lang.String value)
           
 void setMtomEnabled(boolean mtomEnabled)
           
 void setMultipartEnabled(boolean multipartEnabled)
           
 void setName(java.lang.String name)
           
 void setOperation(java.lang.String operationName)
           
 void setOutgoingWss(java.lang.String outgoingWss)
           
 void setPath(java.lang.String path)
           
 void setPort(int port)
           
 void setRemoveEmptyContent(boolean removeEmptyContent)
           
 void setRequestQuery(java.lang.String query)
           
 void setResponseDelay(long delay)
           
 void setResponseHttpStatus(java.lang.String status)
           
 void setStripWhitespaces(boolean stripWhitespaces)
           
 void setTimeout(long newTimeout)
           
 java.lang.String toString()
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
addProperty, addProperty, addTestPropertyListener, deleteProperty, firePropertyAdded, firePropertyMoved, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getProperties, getProperty, getPropertyAt, getPropertyCount, getPropertyNames, getPropertyValue, hasProperties, hasProperty, moveProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
clone, createPanelBuilder, getLabel, getModelItem, getPropertiesLabel, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
afterLoad, dependsOn, getConfig, getDescription, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setSettings
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.eviware.soapui.model.testsuite.Assertable
getModelItem
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
getDescription, getIcon, getId, getName, getParent, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

STATUS_PROPERTY

public static final java.lang.String STATUS_PROPERTY

TIMEOUT_PROPERTY

public static final java.lang.String TIMEOUT_PROPERTY

MATCHING_VALUE_PROPERTY

public static final java.lang.String MATCHING_VALUE_PROPERTY
Constructor Detail

WsdlAsyncResponseTestStep

public WsdlAsyncResponseTestStep(WsdlTestCase testCase,
                                 com.eviware.soapui.config.TestStepConfig config,
                                 boolean forLoadTest)
Constructor

Parameters:
testCase -
config -
forLoadTest -
Method Detail

resetConfigOnMove

public void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
Description copied from class: WsdlTestStep
Called from WsdlTestCase when moving a teststep due to no move functionality in xmlbeans generated arrays.

Overrides:
resetConfigOnMove in class WsdlTestStep
Parameters:
config - the new config to use, will be a copy of the existing one. The current will be invalid

cancel

public boolean cancel()
Specified by:
cancel in interface TestStep
Overrides:
cancel in class WsdlTestStep

createMockService

public void createMockService()

run

public TestStepResult run(TestRunner testRunner,
                          TestRunContext context)
Specified by:
run in interface TestStep

finish

public void finish(TestRunner testrunner,
                   TestRunContext testruncontext)
Specified by:
finish in interface TestStep
Overrides:
finish in class WsdlTestStep

getMockResponse

public WsdlMockResponse getMockResponse()

setPort

public void setPort(int port)

getPort

public int getPort()

setPath

public void setPath(java.lang.String path)

getPath

public java.lang.String getPath()

setRequestQuery

public void setRequestQuery(java.lang.String query)

getRequestQuery

public java.lang.String getRequestQuery()

setMatchingValue

public void setMatchingValue(java.lang.String value)

getMatchingValue

public java.lang.String getMatchingValue()

getContentLength

public long getContentLength()

getEncoding

public java.lang.String getEncoding()

setEncoding

public void setEncoding(java.lang.String encoding)

isMtomEnabled

public boolean isMtomEnabled()

setMtomEnabled

public void setMtomEnabled(boolean mtomEnabled)

getOutgoingWss

public java.lang.String getOutgoingWss()

setOutgoingWss

public void setOutgoingWss(java.lang.String outgoingWss)

isForceMtom

public boolean isForceMtom()

setForceMtom

public void setForceMtom(boolean forceMtom)

isInlineFilesEnabled

public boolean isInlineFilesEnabled()

setInlineFilesEnabled

public void setInlineFilesEnabled(boolean inlineFilesEnabled)

isMultipartEnabled

public boolean isMultipartEnabled()

setMultipartEnabled

public void setMultipartEnabled(boolean multipartEnabled)

getResponseDelay

public long getResponseDelay()

setResponseDelay

public void setResponseDelay(long delay)

getResponseHttpStatus

public java.lang.String getResponseHttpStatus()

setResponseHttpStatus

public void setResponseHttpStatus(java.lang.String status)

isEncodeAttachments

public boolean isEncodeAttachments()

isRemoveEmptyContent

public boolean isRemoveEmptyContent()

isStripWhitespaces

public boolean isStripWhitespaces()

setEncodeAttachments

public void setEncodeAttachments(boolean encodeAttachments)

setRemoveEmptyContent

public void setRemoveEmptyContent(boolean removeEmptyContent)

setStripWhitespaces

public void setStripWhitespaces(boolean stripWhitespaces)

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

addAssertion

public WsdlMessageAssertion addAssertion(java.lang.String assertion)
Specified by:
addAssertion in interface Assertable

addAssertionsListener

public void addAssertionsListener(AssertionsListener listener)
Specified by:
addAssertionsListener in interface Assertable

getAssertionAt

public WsdlMessageAssertion getAssertionAt(int i)
Specified by:
getAssertionAt in interface Assertable

getAssertionCount

public int getAssertionCount()
Specified by:
getAssertionCount in interface Assertable

removeAssertionsListener

public void removeAssertionsListener(AssertionsListener listener)
Specified by:
removeAssertionsListener in interface Assertable

getAssertionStatus

public Assertable.AssertionStatus getAssertionStatus()
Specified by:
getAssertionStatus in interface Assertable

removeAssertion

public void removeAssertion(TestAssertion assertion)
Specified by:
removeAssertion in interface Assertable

getAssertableContent

public java.lang.String getAssertableContent()
Specified by:
getAssertableContent in interface Assertable

getTestStep

public TestStep getTestStep()

setName

public void setName(java.lang.String name)
Overrides:
setName in class WsdlTestStep

getInterface

public WsdlInterface getInterface()
Specified by:
getInterface in interface Assertable

getOperation

public WsdlOperation getOperation()

setInterface

public void setInterface(java.lang.String interfaceName)

setOperation

public void setOperation(java.lang.String operationName)

release

public void release()
Overrides:
release in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>

getAssertableType

public TestAssertionRegistry.AssertableType getAssertableType()
Specified by:
getAssertableType in interface Assertable

getRequiredInterfaces

public java.util.Collection<WsdlInterface> getRequiredInterfaces()
Overrides:
getRequiredInterfaces in class WsdlTestStep

getDefaultSourcePropertyName

public java.lang.String getDefaultSourcePropertyName()
Description copied from class: WsdlTestStep
Default property to use when creating property-transfers where this step is source

Overrides:
getDefaultSourcePropertyName in class WsdlTestStep

getDefaultTargetPropertyName

public java.lang.String getDefaultTargetPropertyName()
Description copied from class: WsdlTestStep
Default property to use when creating property-transfers where this step is target

Overrides:
getDefaultTargetPropertyName in class WsdlTestStep

beforeSave

public void beforeSave()
Overrides:
beforeSave in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long newTimeout)

dependsOn

public boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
Overrides:
dependsOn in class WsdlTestStep

cloneAssertion

public WsdlMessageAssertion cloneAssertion(TestAssertion testAssertion,
                                           java.lang.String s)
Specified by:
cloneAssertion in interface Assertable

getAssertionList

public java.util.List<TestAssertion> getAssertionList()
Specified by:
getAssertionList in interface Assertable

getChildren

public java.util.List<WsdlMessageAssertion> getChildren()
Specified by:
getChildren in interface ModelItem
Overrides:
getChildren in class AbstractModelItem

getPropertyExpansions

public PropertyExpansion[] getPropertyExpansions()

getAssertionByName

public WsdlMessageAssertion getAssertionByName(java.lang.String s)
Specified by:
getAssertionByName in interface Assertable

getAssertions

public java.util.Map<java.lang.String,TestAssertion> getAssertions()
Specified by:
getAssertions in interface Assertable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDefaultAssertableContent

public java.lang.String getDefaultAssertableContent()
Specified by:
getDefaultAssertableContent in interface Assertable


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