public class ThreadCountChangeLoadStrategy extends AbstractLoadStrategy
Modifier and Type | Class and Description |
---|---|
static class |
ThreadCountChangeLoadStrategy.Factory
Factory for ThreadCountChangeLoadStrategy class
|
Modifier and Type | Field and Description |
---|---|
static String |
STRATEGY_TYPE |
CONFIGURATION_PROPERTY
Constructor and Description |
---|
ThreadCountChangeLoadStrategy(org.apache.xmlbeans.XmlObject config,
WsdlLoadTest loadTest) |
Modifier and Type | Method and Description |
---|---|
void |
afterLoadTest(LoadTestRunner loadTestRunner,
LoadTestRunContext context)
Called after the execution of a loadtest when all threads have terminated
|
boolean |
allowThreadCountChangeDuringRun() |
void |
beforeLoadTest(LoadTestRunner loadTestRunner,
LoadTestRunContext context)
Called before a load-test is about to be run
|
org.apache.xmlbeans.XmlObject |
getConfig() |
JComponent |
getConfigurationPanel() |
int |
getEndThreadCount() |
int |
getStartThreadCount() |
void |
recalculate(LoadTestRunner loadTestRunner,
LoadTestRunContext context) |
addConfigurationChangeListener, afterTestCase, afterTestStep, beforeTestCase, beforeTestStep, getLoadTest, getType, loadTestStarted, loadTestStopped, notifyConfigurationChanged, removeConfigurationChangeListener, updateConfig
public static final String STRATEGY_TYPE
public ThreadCountChangeLoadStrategy(org.apache.xmlbeans.XmlObject config, WsdlLoadTest loadTest)
public org.apache.xmlbeans.XmlObject getConfig()
getConfig
in interface LoadStrategy
getConfig
in class AbstractLoadStrategy
public void beforeLoadTest(LoadTestRunner loadTestRunner, LoadTestRunContext context)
LoadTestRunListener
beforeLoadTest
in interface LoadTestRunListener
beforeLoadTest
in class AbstractLoadStrategy
public void afterLoadTest(LoadTestRunner loadTestRunner, LoadTestRunContext context)
LoadTestRunListener
afterLoadTest
in interface LoadTestRunListener
afterLoadTest
in class AbstractLoadStrategy
public boolean allowThreadCountChangeDuringRun()
allowThreadCountChangeDuringRun
in interface LoadStrategy
allowThreadCountChangeDuringRun
in class AbstractLoadStrategy
public void recalculate(LoadTestRunner loadTestRunner, LoadTestRunContext context)
recalculate
in interface LoadStrategy
recalculate
in class AbstractLoadStrategy
public JComponent getConfigurationPanel()
getConfigurationPanel
in interface LoadStrategy
getConfigurationPanel
in class AbstractLoadStrategy
public int getStartThreadCount()
public int getEndThreadCount()
Copyright © 2019. All Rights Reserved.