com.eviware.soapui.impl.wsdl.loadtest
Class WsdlLoadTest
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.LoadTestConfig>
com.eviware.soapui.impl.wsdl.loadtest.WsdlLoadTest
- All Implemented Interfaces:
- ModelItem, LoadTest, PropertyChangeNotifier
public class WsdlLoadTest
- extends AbstractWsdlModelItem<com.eviware.soapui.config.LoadTestConfig>
- implements LoadTest
TestCase implementation for LoadTests
- Author:
- Ole.Matzura
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem |
afterLoad, beforeSave, dependsOn, getConfig, getDescription, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettings |
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THREADCOUNT_PROPERTY
public static final java.lang.String THREADCOUNT_PROPERTY
STARTDELAY_PROPERTY
public static final java.lang.String STARTDELAY_PROPERTY
TESTLIMIT_PROPERTY
public static final java.lang.String TESTLIMIT_PROPERTY
HISTORYLIMIT_PROPERTY
public static final java.lang.String HISTORYLIMIT_PROPERTY
LIMITTYPE_PROPERRY
public static final java.lang.String LIMITTYPE_PROPERRY
SAMPLEINTERVAL_PROPERRY
public static final java.lang.String SAMPLEINTERVAL_PROPERRY
MAXASSERTIONERRORS_PROPERTY
public static final java.lang.String MAXASSERTIONERRORS_PROPERTY
SETUP_SCRIPT_PROPERTY
public static final java.lang.String SETUP_SCRIPT_PROPERTY
TEARDOWN_SCRIPT_PROPERTY
public static final java.lang.String TEARDOWN_SCRIPT_PROPERTY
DEFAULT_STRATEGY_INTERVAL
public static final int DEFAULT_STRATEGY_INTERVAL
- See Also:
- Constant Field Values
WsdlLoadTest
public WsdlLoadTest(WsdlTestCase testCase,
com.eviware.soapui.config.LoadTestConfig config)
getStatisticsModel
public LoadTestStatistics getStatisticsModel()
getStatisticsLogger
public WsdlLoadTest.StatisticsLogger getStatisticsLogger()
getThreadCount
public long getThreadCount()
setThreadCount
public void setThreadCount(long threadCount)
getResetStatisticsOnThreadCountChange
public boolean getResetStatisticsOnThreadCountChange()
setResetStatisticsOnThreadCountChange
public void setResetStatisticsOnThreadCountChange(boolean value)
getCancelOnReachedLimit
public boolean getCancelOnReachedLimit()
setCancelOnReachedLimit
public void setCancelOnReachedLimit(boolean value)
getCancelExcessiveThreads
public boolean getCancelExcessiveThreads()
setCancelExcessiveThreads
public void setCancelExcessiveThreads(boolean value)
getLogStatisticsOnThreadChange
public boolean getLogStatisticsOnThreadChange()
setLogStatisticsOnThreadChange
public void setLogStatisticsOnThreadChange(boolean value)
getStatisticsLogFolder
public java.lang.String getStatisticsLogFolder()
setStatisticsLogFolder
public void setStatisticsLogFolder(java.lang.String value)
getCalculateTPSOnTimePassed
public boolean getCalculateTPSOnTimePassed()
setCalculateTPSOnTimePassed
public void setCalculateTPSOnTimePassed(boolean value)
getStartDelay
public int getStartDelay()
setStartDelay
public void setStartDelay(int startDelay)
getHistoryLimit
public long getHistoryLimit()
setHistoryLimit
public void setHistoryLimit(long historyLimit)
getTestLimit
public long getTestLimit()
setTestLimit
public void setTestLimit(long testLimit)
getMaxAssertionErrors
public long getMaxAssertionErrors()
setMaxAssertionErrors
public void setMaxAssertionErrors(long testLimit)
getStatisticsLogInterval
public long getStatisticsLogInterval()
setStatisticsLogInterval
public void setStatisticsLogInterval(int sampleInterval)
getSampleInterval
public long getSampleInterval()
setSampleInterval
public void setSampleInterval(int sampleInterval)
getLimitType
public com.eviware.soapui.config.LoadTestLimitTypesConfig.Enum getLimitType()
setLimitType
public void setLimitType(com.eviware.soapui.config.LoadTestLimitTypesConfig.Enum limitType)
getTestCase
public WsdlTestCase getTestCase()
- Specified by:
getTestCase
in interface LoadTest
run
public WsdlLoadTestRunner run()
- Specified by:
run
in interface LoadTest
getLoadStrategy
public LoadStrategy getLoadStrategy()
setLoadStrategy
public void setLoadStrategy(LoadStrategy loadStrategy)
addAssertion
public LoadTestAssertion addAssertion(java.lang.String type,
java.lang.String targetStep,
boolean showConfig)
removeAssertion
public void removeAssertion(LoadTestAssertion assertion)
getAssertionCount
public int getAssertionCount()
getAssertionAt
public LoadTestAssertion getAssertionAt(int index)
getLoadTestLog
public LoadTestLog getLoadTestLog()
getAssertionList
public java.util.List<LoadTestAssertion> getAssertionList()
addLoadTestListener
public void addLoadTestListener(LoadTestListener listener)
removeLoadTestListener
public void removeLoadTestListener(LoadTestListener listener)
addLoadTestRunListener
public void addLoadTestRunListener(LoadTestRunListener listener)
- Specified by:
addLoadTestRunListener
in interface LoadTest
removeLoadTestRunListener
public void removeLoadTestRunListener(LoadTestRunListener listener)
- Specified by:
removeLoadTestRunListener
in interface LoadTest
getLoadTestRunListeners
public LoadTestRunListener[] getLoadTestRunListeners()
release
public void release()
- Release internal objects so they can remove listeners
- Overrides:
release
in class AbstractWsdlModelItem<com.eviware.soapui.config.LoadTestConfig>
isRunning
public boolean isRunning()
getRunner
public WsdlLoadTestRunner getRunner()
resetConfigOnMove
public void resetConfigOnMove(com.eviware.soapui.config.LoadTestConfig config)
setSetupScript
public void setSetupScript(java.lang.String script)
getSetupScript
public java.lang.String getSetupScript()
setTearDownScript
public void setTearDownScript(java.lang.String script)
getTearDownScript
public java.lang.String getTearDownScript()
runSetupScript
public java.lang.Object runSetupScript(LoadTestRunContext runContext,
LoadTestRunner runner)
throws java.lang.Exception
- Throws:
java.lang.Exception
runTearDownScript
public java.lang.Object runTearDownScript(LoadTestRunContext runContext,
LoadTestRunner runner)
throws java.lang.Exception
- Throws:
java.lang.Exception
getStrategyInterval
public int getStrategyInterval()
setStrategyInterval
public void setStrategyInterval(int interval)
getUpdateStatisticsPerTestStep
public boolean getUpdateStatisticsPerTestStep()
setUpdateStatisticsPerTestStep
public void setUpdateStatisticsPerTestStep(boolean updateStatisticsPerTestStep)
Copyright © 2005-2008 eviware.com. All Rights Reserved.