com.eviware.soapui.impl.wsdl.teststeps
Class HttpTestRequestStep
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
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.HttpTestRequestStep
- All Implemented Interfaces:
- HttpRequestTestStep, HttpTestRequestStepInterface, ModelItem, PropertyExpansionContainer, TestModelItem, TestPropertyHolder, Assertable, ResultContainer, TestStep, PropertyChangeNotifier, java.beans.PropertyChangeListener, java.util.EventListener
public class HttpTestRequestStep
- extends WsdlTestStepWithProperties
- implements HttpTestRequestStepInterface
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, createPanelBuilder, finish, getLabel, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, setDisabled |
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem |
afterLoad, dependsOn, getConfig, getId, getName, getParent, getSettings, getWsdlModelItemByName, setConfig, setIcon, setSettings |
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 |
HttpTestRequestStep
public HttpTestRequestStep(WsdlTestCase testCase,
com.eviware.soapui.config.TestStepConfig config,
boolean forLoadTest)
buildTestRequest
protected HttpTestRequest buildTestRequest(boolean forLoadTest)
createDefaultRawResponseContent
protected java.lang.String createDefaultRawResponseContent()
createDefaultResponseXmlContent
protected java.lang.String createDefaultResponseXmlContent()
createDefaultRequestContent
protected java.lang.String createDefaultRequestContent()
getRequestStepConfig
public com.eviware.soapui.config.HttpRequestConfig getRequestStepConfig()
clone
public WsdlTestStep clone(WsdlTestCase targetTestCase,
java.lang.String name)
- Description copied from class:
WsdlTestStep
- Called after cloning for custom behaviour
- Specified by:
clone
in interface HttpTestRequestStepInterface
- Overrides:
clone
in class WsdlTestStep
- Parameters:
targetTestCase
- step we were cloned from
release
public void release()
- Specified by:
release
in interface HttpTestRequestStepInterface
- Overrides:
release
in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
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.
- Specified by:
resetConfigOnMove
in interface HttpTestRequestStepInterface
- 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
getIcon
public javax.swing.ImageIcon getIcon()
- Specified by:
getIcon
in interface HttpTestRequestStepInterface
- Specified by:
getIcon
in interface ModelItem
- Overrides:
getIcon
in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
getTestRequest
public HttpTestRequest getTestRequest()
- Specified by:
getTestRequest
in interface HttpRequestTestStep
- Specified by:
getTestRequest
in interface HttpTestRequestStepInterface
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface HttpTestRequestStepInterface
- Overrides:
setName
in class WsdlTestStep
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
run
public TestStepResult run(TestCaseRunner runner,
TestCaseRunContext runContext)
- Specified by:
run
in interface HttpTestRequestStepInterface
- Specified by:
run
in interface TestStep
getAssertionAt
public WsdlMessageAssertion getAssertionAt(int index)
- Specified by:
getAssertionAt
in interface Assertable
getAssertionCount
public int getAssertionCount()
- Specified by:
getAssertionCount
in interface Assertable
cancel
public boolean cancel()
- Specified by:
cancel
in interface HttpTestRequestStepInterface
- Specified by:
cancel
in interface TestStep
- Overrides:
cancel
in class WsdlTestStep
dependsOn
public boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
- Specified by:
dependsOn
in interface HttpTestRequestStepInterface
- Overrides:
dependsOn
in class WsdlTestStep
beforeSave
public void beforeSave()
- Specified by:
beforeSave
in interface HttpTestRequestStepInterface
- Overrides:
beforeSave
in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface HttpTestRequestStepInterface
- Specified by:
getDescription
in interface ModelItem
- Overrides:
getDescription
in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface HttpTestRequestStepInterface
- Overrides:
setDescription
in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
getChildren
public java.util.List<? extends ModelItem> getChildren()
- Specified by:
getChildren
in interface HttpTestRequestStepInterface
- Specified by:
getChildren
in interface ModelItem
- Overrides:
getChildren
in class AbstractModelItem
getPropertyExpansions
public PropertyExpansion[] getPropertyExpansions()
- Specified by:
getPropertyExpansions
in interface PropertyExpansionContainer
getHttpRequest
public AbstractHttpRequest<?> getHttpRequest()
- Specified by:
getHttpRequest
in interface HttpRequestTestStep
- Specified by:
getHttpRequest
in interface HttpTestRequestStepInterface
addAssertion
public TestAssertion addAssertion(java.lang.String type)
- 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
getAssertionByName
public TestAssertion getAssertionByName(java.lang.String name)
- Specified by:
getAssertionByName
in interface Assertable
getAssertionList
public java.util.List<TestAssertion> getAssertionList()
- Specified by:
getAssertionList
in interface Assertable
getAssertionStatus
public Assertable.AssertionStatus getAssertionStatus()
- Specified by:
getAssertionStatus
in interface Assertable
getInterface
public Interface getInterface()
- Specified by:
getInterface
in interface Assertable
getTestStep
public TestStep getTestStep()
- Specified by:
getTestStep
in interface HttpRequestTestStep
- Specified by:
getTestStep
in interface HttpTestRequestStepInterface
removeAssertion
public void removeAssertion(TestAssertion assertion)
- Specified by:
removeAssertion
in interface Assertable
removeAssertionsListener
public void removeAssertionsListener(AssertionsListener listener)
- Specified by:
removeAssertionsListener
in interface Assertable
moveAssertion
public TestAssertion moveAssertion(int ix,
int offset)
- Specified by:
moveAssertion
in interface Assertable
getAssertions
public java.util.Map<java.lang.String,TestAssertion> getAssertions()
- Specified by:
getAssertions
in interface Assertable
prepare
public void prepare(TestCaseRunner testRunner,
TestCaseRunContext testRunContext)
throws java.lang.Exception
- Specified by:
prepare
in interface HttpTestRequestStepInterface
- Specified by:
prepare
in interface TestStep
- Overrides:
prepare
in class WsdlTestStep
- Throws:
java.lang.Exception
getDefaultSourcePropertyName
public java.lang.String getDefaultSourcePropertyName()
- Description copied from class:
WsdlTestStep
- Default property to use when creating property-transfers where this step
is source
- Specified by:
getDefaultSourcePropertyName
in interface HttpTestRequestStepInterface
- 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
- Specified by:
getDefaultTargetPropertyName
in interface HttpTestRequestStepInterface
- Overrides:
getDefaultTargetPropertyName
in class WsdlTestStep
getDefaultAssertableContent
public java.lang.String getDefaultAssertableContent()
- Specified by:
getDefaultAssertableContent
in interface Assertable
resolve
public void resolve(ResolveContext<?> context)
- Specified by:
resolve
in interface HttpTestRequestStepInterface
- Overrides:
resolve
in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
Copyright © 2005-2009 eviware.com. All Rights Reserved.