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

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

public class WsdlDelayTestStep
extends WsdlTestStepWithProperties

TestStep that delays execution for a number of milliseconds

Author:
ole.matzura

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
WsdlDelayTestStep(WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean forLoadTest)
           
 
Method Summary
 boolean cancel()
           
 java.lang.String getDefaultSourcePropertyName()
          Default property to use when creating property-transfers where this step is source
 java.lang.String getDefaultTargetPropertyName()
          Default property to use when creating property-transfers where this step is target
 int getDelay()
           
 java.lang.String getDelayString()
           
 java.lang.String getLabel()
           
 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 testRunner, TestCaseRunContext context)
           
 void setDelay(int delay)
           
 void setDelayString(java.lang.String delayString)
           
 
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, dependsOn, finish, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
afterLoad, beforeSave, dependsOn, getConfig, getDescription, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, release, 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

WsdlDelayTestStep

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

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface TestStep
Overrides:
getLabel 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

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

setDelayString

public void setDelayString(java.lang.String delayString)

getDelayString

public java.lang.String getDelayString()

getDelay

public int getDelay()

setDelay

public void setDelay(int delay)

run

public TestStepResult run(TestCaseRunner testRunner,
                          TestCaseRunContext context)

cancel

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


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