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

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.WsdlTestRequestStep
All Implemented Interfaces:
ModelItem, PropertyExpansionContainer, TestModelItem, TestPropertyHolder, Assertable, OperationTestStep, ResultContainer, TestStep, PropertyChangeNotifier, java.beans.PropertyChangeListener, java.util.EventListener

public class WsdlTestRequestStep
extends WsdlTestStepWithProperties
implements OperationTestStep, java.beans.PropertyChangeListener, PropertyExpansionContainer, Assertable

WsdlTestStep that executes a WsdlTestRequest

Author:
Ole.Matzura

Nested Class Summary
 class WsdlTestRequestStep.InternalInterfaceListener
           
 class WsdlTestRequestStep.InternalProjectListener
           
 class WsdlTestRequestStep.RequestHeaderHolder
           
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.Assertable
Assertable.AssertionStatus
 
Field Summary
 
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
WsdlTestRequestStep(WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean forLoadTest)
           
 
Method Summary
 TestAssertion addAssertion(java.lang.String selection)
           
 void addAssertionsListener(AssertionsListener listener)
           
 void beforeSave()
           
 boolean cancel()
           
 WsdlTestStep clone(WsdlTestCase targetTestCase, java.lang.String name)
          Called after cloning for custom behaviour
 TestAssertion cloneAssertion(TestAssertion source, java.lang.String name)
           
 boolean dependsOn(AbstractWsdlModelItem modelItem)
           
 java.lang.String getAssertableContent()
           
 WsdlAssertionRegistry.AssertableType getAssertableType()
           
 WsdlMessageAssertion getAssertionAt(int index)
           
 TestAssertion getAssertionByName(java.lang.String name)
           
 int getAssertionCount()
           
 java.util.List<TestAssertion> getAssertionList()
           
 java.util.Map<java.lang.String,TestAssertion> getAssertions()
           
 Assertable.AssertionStatus getAssertionStatus()
           
 java.util.List<? extends ModelItem> getChildren()
           
 java.lang.String getDescription()
           
 javax.swing.ImageIcon getIcon()
           
 Interface getInterface()
           
 java.lang.String getInterfaceName()
           
 Operation getOperation()
           
 java.lang.String getOperationName()
           
 PropertyExpansion[] getPropertyExpansions()
           
 java.util.Collection<WsdlInterface> getRequiredInterfaces()
           
 WsdlTestRequest getTestRequest()
           
 TestStep getTestStep()
           
 void propertyChange(java.beans.PropertyChangeEvent arg0)
           
 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 runner, TestRunContext runContext)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setOperation(WsdlOperation operation)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
addProperty, addTestPropertyListener, deleteProperty, firePropertyAdded, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getProperties, getProperty, getPropertyNames, getPropertyValue, hasProperties, hasProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
createPanelBuilder, finish, getLabel, getModelItem, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
afterLoad, afterLoad, getConfig, getId, getName, getParent, getSettings, getWsdlModelItemByName, setConfig, 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, toString, wait, wait, wait
 
Methods inherited from interface com.eviware.soapui.model.testsuite.TestStep
finish, getLabel, getTestCase, isDisabled, prepare
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
getId, getName, getParent, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.eviware.soapui.model.TestPropertyHolder
addTestPropertyListener, getModelItem, getProperties, getProperty, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
 
Methods inherited from interface com.eviware.soapui.model.testsuite.Assertable
getModelItem
 

Constructor Detail

WsdlTestRequestStep

public WsdlTestRequestStep(WsdlTestCase testCase,
                           com.eviware.soapui.config.TestStepConfig config,
                           boolean forLoadTest)
Method Detail

clone

public WsdlTestStep clone(WsdlTestCase targetTestCase,
                          java.lang.String name)
Description copied from class: WsdlTestStep
Called after cloning for custom behaviour

Overrides:
clone in class WsdlTestStep

getInterfaceName

public java.lang.String getInterfaceName()

getOperationName

public java.lang.String getOperationName()

release

public void release()
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.

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 ModelItem
Overrides:
getIcon in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>

getTestRequest

public WsdlTestRequest getTestRequest()

setName

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

propertyChange

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

run

public TestStepResult run(TestRunner runner,
                          TestRunContext runContext)
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 TestStep
Overrides:
cancel in class WsdlTestStep

getRequiredInterfaces

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

dependsOn

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

beforeSave

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

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ModelItem
Overrides:
getDescription in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>

setDescription

public void setDescription(java.lang.String description)
Overrides:
setDescription in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>

setOperation

public void setOperation(WsdlOperation operation)

getChildren

public java.util.List<? extends ModelItem> getChildren()
Specified by:
getChildren in interface ModelItem
Overrides:
getChildren in class WsdlTestStep

getPropertyExpansions

public PropertyExpansion[] getPropertyExpansions()
Specified by:
getPropertyExpansions in interface PropertyExpansionContainer

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 WsdlAssertionRegistry.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

getOperation

public Operation getOperation()
Specified by:
getOperation in interface OperationTestStep

getTestStep

public TestStep getTestStep()

removeAssertion

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

removeAssertionsListener

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

getAssertions

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


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