public class WsdlLoadTest extends AbstractWsdlModelItem<LoadTestConfig> implements LoadTest, TestRunnable
Modifier and Type | Class and Description |
---|---|
class |
WsdlLoadTest.StatisticsLogger |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_STRATEGY_INTERVAL |
static String |
HISTORYLIMIT_PROPERTY |
static String |
ICON_NAME |
static String |
LIMITTYPE_PROPERRY |
static String |
MAXASSERTIONERRORS_PROPERTY |
static String |
SAMPLEINTERVAL_PROPERRY |
static String |
SETUP_SCRIPT_PROPERTY |
static String |
STARTDELAY_PROPERTY |
static String |
TEARDOWN_SCRIPT_PROPERTY |
static String |
TESTLIMIT_PROPERTY |
static String |
THREADCOUNT_PROPERTY |
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WsdlLoadTest(WsdlTestCase testCase,
LoadTestConfig config) |
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getDescription, getIcon, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String THREADCOUNT_PROPERTY
public static final String STARTDELAY_PROPERTY
public static final String TESTLIMIT_PROPERTY
public static final String HISTORYLIMIT_PROPERTY
public static final String LIMITTYPE_PROPERRY
public static final String SAMPLEINTERVAL_PROPERRY
public static final String MAXASSERTIONERRORS_PROPERTY
public static final String SETUP_SCRIPT_PROPERTY
public static final String TEARDOWN_SCRIPT_PROPERTY
public static final int DEFAULT_STRATEGY_INTERVAL
public static final String ICON_NAME
public WsdlLoadTest(WsdlTestCase testCase, LoadTestConfig config)
public LoadTestStatistics getStatisticsModel()
public WsdlLoadTest.StatisticsLogger getStatisticsLogger()
public long getThreadCount()
public void setThreadCount(long threadCount)
public boolean getResetStatisticsOnThreadCountChange()
public void setResetStatisticsOnThreadCountChange(boolean value)
public boolean getCancelOnReachedLimit()
public void setCancelOnReachedLimit(boolean value)
public boolean getCancelExcessiveThreads()
public void setCancelExcessiveThreads(boolean value)
public boolean getLogStatisticsOnThreadChange()
public void setLogStatisticsOnThreadChange(boolean value)
public String getStatisticsLogFolder()
public void setStatisticsLogFolder(String value)
public boolean getCalculateTPSOnTimePassed()
public void setCalculateTPSOnTimePassed(boolean value)
public int getStartDelay()
public void setStartDelay(int startDelay)
public long getHistoryLimit()
public void setHistoryLimit(long historyLimit)
public long getTestLimit()
public void setTestLimit(long testLimit)
public long getMaxAssertionErrors()
public void setMaxAssertionErrors(long testLimit)
public long getStatisticsLogInterval()
public void setStatisticsLogInterval(int sampleInterval)
public long getSampleInterval()
public void setSampleInterval(int sampleInterval)
public LoadTestLimitTypesConfig.Enum getLimitType()
public void setLimitType(LoadTestLimitTypesConfig.Enum limitType)
public WsdlTestCase getTestCase()
getTestCase
in interface LoadTest
public WsdlLoadTestRunner run()
public LoadStrategy getLoadStrategy()
public void setLoadStrategy(LoadStrategy loadStrategy)
public LoadTestAssertion addAssertion(String type, String targetStep, boolean showConfig)
public void removeAssertion(LoadTestAssertion assertion)
public int getAssertionCount()
public LoadTestAssertion getAssertionAt(int index)
public LoadTestAssertion getAssertionByName(String name)
public LoadTestLog getLoadTestLog()
public List<LoadTestAssertion> getAssertionList()
public void addLoadTestListener(LoadTestListener listener)
public void removeLoadTestListener(LoadTestListener listener)
public void addLoadTestRunListener(LoadTestRunListener listener)
addLoadTestRunListener
in interface LoadTest
public void removeLoadTestRunListener(LoadTestRunListener listener)
removeLoadTestRunListener
in interface LoadTest
public LoadTestRunListener[] getLoadTestRunListeners()
public void release()
release
in interface Releasable
release
in class AbstractWsdlModelItem<LoadTestConfig>
public boolean isRunning()
public WsdlLoadTestRunner getRunner()
public void resetConfigOnMove(LoadTestConfig config)
public void setSetupScript(String script)
public String getSetupScript()
public void setTearDownScript(String script)
public String getTearDownScript()
public Object runSetupScript(LoadTestRunContext runContext, LoadTestRunner runner) throws Exception
Exception
public Object runTearDownScript(LoadTestRunContext runContext, LoadTestRunner runner) throws Exception
Exception
public int getStrategyInterval()
public void setStrategyInterval(int interval)
public boolean getUpdateStatisticsPerTestStep()
public void setUpdateStatisticsPerTestStep(boolean updateStatisticsPerTestStep)
public TestRunner run(StringToObjectMap context, boolean async)
run
in interface TestRunnable
Copyright © 2019. All Rights Reserved.