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

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.WsdlGotoTestStep
All Implemented Interfaces:
ModelItem, XPathReferenceContainer, TestModelItem, TestPropertyHolder, ResultContainer, TestStep, PropertyChangeNotifier

public class WsdlGotoTestStep
extends WsdlTestStepWithProperties
implements XPathReferenceContainer

TestStep that moves execution to another step based on the contents of a XML Property

Author:
ole.matzura

Nested Class Summary
 class WsdlGotoTestStep.GotoCondition
           
 
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
WsdlGotoTestStep(WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean forLoadTest)
           
 
Method Summary
 WsdlGotoTestStep.GotoCondition addCondition(java.lang.String name)
           
 boolean cancel()
           
 WsdlGotoTestStep.GotoCondition getConditionAt(int index)
           
 int getConditionCount()
           
 PropertyExpansion[] getPropertyExpansions()
           
 XPathReference[] getXPathReferences()
           
 boolean hasProperties()
           
 void postInit(com.eviware.soapui.config.TestStepConfig config)
          Called after creation of all teststeps, should be used for inter-test-step initializations
 void release()
           
 void removeConditionAt(int index)
           
 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 context)
           
 WsdlGotoTestStep.GotoCondition runConditions(WsdlTestRequestStep previousStep, TestRunContext context)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
addProperty, addTestPropertyListener, deleteProperty, firePropertyAdded, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getProperties, getProperty, getPropertyNames, getPropertyValue, hasProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
clone, createPanelBuilder, dependsOn, finish, getChildren, getLabel, getModelItem, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
afterLoad, afterLoad, beforeSave, getConfig, getDescription, getIcon, 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, 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.ModelItem
getDescription, getIcon, getId, getName, getParent, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

WsdlGotoTestStep

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

postInit

public void postInit(com.eviware.soapui.config.TestStepConfig config)
Description copied from class: WsdlTestStep
Called after creation of all teststeps, should be used for inter-test-step initializations

Overrides:
postInit in class WsdlTestStep

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

run

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

runConditions

public WsdlGotoTestStep.GotoCondition runConditions(WsdlTestRequestStep previousStep,
                                                    TestRunContext context)

cancel

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

getConditionCount

public int getConditionCount()

getConditionAt

public WsdlGotoTestStep.GotoCondition getConditionAt(int index)

addCondition

public WsdlGotoTestStep.GotoCondition addCondition(java.lang.String name)

removeConditionAt

public void removeConditionAt(int index)

release

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

hasProperties

public boolean hasProperties()
Overrides:
hasProperties in class WsdlTestStepWithProperties

getPropertyExpansions

public PropertyExpansion[] getPropertyExpansions()

getXPathReferences

public XPathReference[] getXPathReferences()
Specified by:
getXPathReferences in interface XPathReferenceContainer


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