public abstract class AbstractLoadStrategy extends Object implements LoadStrategy
CONFIGURATION_PROPERTY
Constructor and Description |
---|
AbstractLoadStrategy(String type,
WsdlLoadTest loadTest) |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationChangeListener(PropertyChangeListener listener) |
void |
afterLoadTest(LoadTestRunner loadTestRunner,
LoadTestRunContext context)
Called after the execution of a loadtest when all threads have terminated
|
void |
afterTestCase(LoadTestRunner loadTestRunner,
LoadTestRunContext context,
TestCaseRunner testRunner,
TestCaseRunContext runContext)
Called after the execution of a testcase
|
void |
afterTestStep(LoadTestRunner loadTestRunner,
LoadTestRunContext context,
TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStepResult testStepResult)
Called after the execution of a teststep
|
boolean |
allowThreadCountChangeDuringRun() |
void |
beforeLoadTest(LoadTestRunner loadTestRunner,
LoadTestRunContext context)
Called before a load-test is about to be run
|
void |
beforeTestCase(LoadTestRunner loadTestRunner,
LoadTestRunContext context,
TestCaseRunner testRunner,
TestCaseRunContext runContext)
Called before the execution of a testcase
|
void |
beforeTestStep(LoadTestRunner loadTestRunner,
LoadTestRunContext context,
TestCaseRunner testRunner,
TestCaseRunContext runContext,
TestStep testStep)
Called before the execution of a teststep
|
org.apache.xmlbeans.XmlObject |
getConfig() |
JComponent |
getConfigurationPanel() |
WsdlLoadTest |
getLoadTest() |
String |
getType() |
void |
loadTestStarted(LoadTestRunner loadTestRunner,
LoadTestRunContext context)
Called after all initial loadtest threads have been started
|
void |
loadTestStopped(LoadTestRunner loadTestRunner,
LoadTestRunContext context)
Called when a loadtest has been stopped for some reason
|
void |
notifyConfigurationChanged() |
void |
recalculate(LoadTestRunner loadTestRunner,
LoadTestRunContext context) |
void |
removeConfigurationChangeListener(PropertyChangeListener listener) |
void |
updateConfig(org.apache.xmlbeans.XmlObject config) |
public AbstractLoadStrategy(String type, WsdlLoadTest loadTest)
public org.apache.xmlbeans.XmlObject getConfig()
getConfig
in interface LoadStrategy
public JComponent getConfigurationPanel()
getConfigurationPanel
in interface LoadStrategy
public String getType()
getType
in interface LoadStrategy
public WsdlLoadTest getLoadTest()
public void addConfigurationChangeListener(PropertyChangeListener listener)
addConfigurationChangeListener
in interface LoadStrategy
public void removeConfigurationChangeListener(PropertyChangeListener listener)
removeConfigurationChangeListener
in interface LoadStrategy
public void notifyConfigurationChanged()
public boolean allowThreadCountChangeDuringRun()
allowThreadCountChangeDuringRun
in interface LoadStrategy
public void afterLoadTest(LoadTestRunner loadTestRunner, LoadTestRunContext context)
LoadTestRunListener
afterLoadTest
in interface LoadTestRunListener
public void afterTestCase(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestCaseRunner testRunner, TestCaseRunContext runContext)
LoadTestRunListener
afterTestCase
in interface LoadTestRunListener
public void afterTestStep(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestCaseRunner testRunner, TestCaseRunContext runContext, TestStepResult testStepResult)
LoadTestRunListener
afterTestStep
in interface LoadTestRunListener
public void beforeLoadTest(LoadTestRunner loadTestRunner, LoadTestRunContext context)
LoadTestRunListener
beforeLoadTest
in interface LoadTestRunListener
public void beforeTestCase(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestCaseRunner testRunner, TestCaseRunContext runContext)
LoadTestRunListener
beforeTestCase
in interface LoadTestRunListener
public void beforeTestStep(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestCaseRunner testRunner, TestCaseRunContext runContext, TestStep testStep)
LoadTestRunListener
beforeTestStep
in interface LoadTestRunListener
public void loadTestStarted(LoadTestRunner loadTestRunner, LoadTestRunContext context)
LoadTestRunListener
loadTestStarted
in interface LoadTestRunListener
public void loadTestStopped(LoadTestRunner loadTestRunner, LoadTestRunContext context)
LoadTestRunListener
loadTestStopped
in interface LoadTestRunListener
public void recalculate(LoadTestRunner loadTestRunner, LoadTestRunContext context)
recalculate
in interface LoadStrategy
public void updateConfig(org.apache.xmlbeans.XmlObject config)
updateConfig
in interface LoadStrategy
Copyright © 2019. All Rights Reserved.