com.eviware.soapui.impl.wsdl.teststeps
Class WsdlMockResponseTestStep
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.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
com.eviware.soapui.impl.wsdl.teststeps.WsdlMockResponseTestStep
- All Implemented Interfaces:
- ModelItem, PropertyExpansionContainer, TestModelItem, TestPropertyHolder, Assertable, OperationTestStep, ResultContainer, TestStep, PropertyChangeNotifier, java.beans.PropertyChangeListener, java.util.EventListener
public class WsdlMockResponseTestStep
- extends WsdlTestStepWithProperties
- implements OperationTestStep, java.beans.PropertyChangeListener, Assertable, PropertyExpansionContainer
| Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties |
addProperty, addProperty, addTestPropertyListener, deleteProperty, firePropertyAdded, firePropertyMoved, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getProperties, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperties, hasProperty, moveProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue |
| Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep |
afterCopy, clone, createPanelBuilder, getLabel, getModelItem, getPropertiesLabel, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, setDisabled |
| Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem |
addExternalDependencies, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemByName, setConfig, setDescription, setIcon, setSettings |
| 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.model.TestPropertyHolder |
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue |
STATUS_PROPERTY
public static final java.lang.String STATUS_PROPERTY
TIMEOUT_PROPERTY
public static final java.lang.String TIMEOUT_PROPERTY
WsdlMockResponseTestStep
public WsdlMockResponseTestStep(WsdlTestCase testCase,
com.eviware.soapui.config.TestStepConfig config,
boolean forLoadTest)
afterLoad
public void afterLoad()
- Overrides:
afterLoad in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
getIcon
public javax.swing.ImageIcon getIcon()
- Specified by:
getIcon in interface ModelItem- Overrides:
getIcon in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
initIcons
public void initIcons()
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
prepare
public void prepare(TestCaseRunner testRunner,
TestCaseRunContext testRunContext)
throws java.lang.Exception
- Specified by:
prepare in interface TestStep- Overrides:
prepare in class WsdlTestStep
- Throws:
java.lang.Exception
initTestMockResponse
protected void initTestMockResponse(TestCaseRunContext testRunContext)
run
public TestStepResult run(TestCaseRunner testRunner,
TestCaseRunContext context)
- Specified by:
run in interface TestStep
finish
public void finish(TestCaseRunner testRunner,
TestCaseRunContext testRunContext)
- Specified by:
finish in interface TestStep- Overrides:
finish in class WsdlTestStep
getLastResult
public WsdlMockResult getLastResult()
getMockResponse
public WsdlMockResponse getMockResponse()
setPort
public void setPort(int port)
getPath
public java.lang.String getPath()
getHost
public java.lang.String getHost()
getContentLength
public long getContentLength()
getPort
public int getPort()
getEncoding
public java.lang.String getEncoding()
setEncoding
public void setEncoding(java.lang.String encoding)
isMtomEnabled
public boolean isMtomEnabled()
setMtomEnabled
public void setMtomEnabled(boolean enabled)
getOutgoingWss
public java.lang.String getOutgoingWss()
setOutgoingWss
public void setOutgoingWss(java.lang.String outgoingWss)
setQuery
public void setQuery(java.lang.String s)
getQuery
public java.lang.String getQuery()
getMatch
public java.lang.String getMatch()
setMatch
public void setMatch(java.lang.String s)
isForceMtom
public boolean isForceMtom()
setForceMtom
public void setForceMtom(boolean forceMtom)
isInlineFilesEnabled
public boolean isInlineFilesEnabled()
setInlineFilesEnabled
public void setInlineFilesEnabled(boolean inlineFilesEnabled)
getStartStep
public java.lang.String getStartStep()
setStartStep
public void setStartStep(java.lang.String startStep)
isMultipartEnabled
public boolean isMultipartEnabled()
setMultipartEnabled
public void setMultipartEnabled(boolean enabled)
isHandleFault
public boolean isHandleFault()
setHandleFault
public void setHandleFault(boolean handleFault)
isHandleResponse
public boolean isHandleResponse()
setHandleResponse
public void setHandleResponse(boolean handleResponse)
getResponseDelay
public long getResponseDelay()
setResponseDelay
public void setResponseDelay(long delay)
getResponseHttpStatus
public java.lang.String getResponseHttpStatus()
setResponseHttpStatus
public void setResponseHttpStatus(java.lang.String httpStatus)
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)
setPath
public void setPath(java.lang.String path)
setHost
public void setHost(java.lang.String host)
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener
addAssertion
public WsdlMessageAssertion addAssertion(java.lang.String assertionName)
- Specified by:
addAssertion in interface Assertable
addAssertionsListener
public void addAssertionsListener(AssertionsListener listener)
- Specified by:
addAssertionsListener in interface Assertable
getAssertionAt
public WsdlMessageAssertion getAssertionAt(int c)
- 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
moveAssertion
public TestAssertion moveAssertion(int ix,
int offset)
- Specified by:
moveAssertion in interface Assertable
getAssertableContent
public java.lang.String getAssertableContent()
- Specified by:
getAssertableContent in interface Assertable
getTestStep
public TestStep getTestStep()
- Specified by:
getTestStep in interface Assertable
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()
- Specified by:
getOperation in interface OperationTestStep
setInterface
public void setInterface(java.lang.String string)
setOperation
public void setOperation(java.lang.String string)
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<Interface> 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 timeout)
dependsOn
public boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
- Overrides:
dependsOn in class WsdlTestStep
cloneAssertion
public WsdlMessageAssertion cloneAssertion(TestAssertion source,
java.lang.String name)
- Specified by:
cloneAssertion in interface Assertable
getAssertionList
public java.util.List<TestAssertion> getAssertionList()
- Specified by:
getAssertionList in interface Assertable
getChildren
public java.util.List<? extends ModelItem> getChildren()
- Specified by:
getChildren in interface ModelItem- Overrides:
getChildren in class AbstractModelItem
getPropertyExpansions
public PropertyExpansion[] getPropertyExpansions()
- Specified by:
getPropertyExpansions in interface PropertyExpansionContainer
getAssertionByName
public WsdlMessageAssertion getAssertionByName(java.lang.String name)
- Specified by:
getAssertionByName 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
resolve
public void resolve(ResolveContext<?> context)
- Overrides:
resolve in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
Copyright © 2005-2011 eviware.com. All Rights Reserved.