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

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.model.support.AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
          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)
           
 void afterLoad()
           
 boolean cancel()
           
 WsdlGotoTestStep.GotoCondition getConditionAt(int index)
           
 int getConditionCount()
           
 PropertyExpansion[] getPropertyExpansions()
           
 XPathReference[] getXPathReferences()
           
 boolean hasProperties()
           
 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(TestCaseRunner runner, TestCaseRunContext context)
           
 WsdlGotoTestStep.GotoCondition runConditions(HttpRequestTestStep previousStep, TestCaseRunContext context)
           
 
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, hasProperty, moveProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
afterCopy, clone, createPanelBuilder, dependsOn, finish, getDefaultSourcePropertyName, getDefaultTargetPropertyName, getLabel, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
beforeSave, 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, getChildren, 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.ModelItem
getChildren, 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

afterLoad

public void afterLoad()
Overrides:
afterLoad 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

run

public TestStepResult run(TestCaseRunner runner,
                          TestCaseRunContext context)
Specified by:
run in interface TestStep

runConditions

public WsdlGotoTestStep.GotoCondition runConditions(HttpRequestTestStep previousStep,
                                                    TestCaseRunContext 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-2010 eviware.com. All Rights Reserved.