com.eviware.soapui.impl.wsdl.loadtest.strategy
Class ThreadCountChangeLoadStrategy

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.loadtest.strategy.AbstractLoadStrategy
      extended by com.eviware.soapui.impl.wsdl.loadtest.strategy.ThreadCountChangeLoadStrategy
All Implemented Interfaces:
LoadStrategy, LoadTestRunListener

public class ThreadCountChangeLoadStrategy
extends AbstractLoadStrategy

LoadStrategy allowing maximum runs and request delays

Author:
Ole.Matzura

Nested Class Summary
static class ThreadCountChangeLoadStrategy.Factory
          Factory for ThreadCountChangeLoadStrategy class
 
Field Summary
static java.lang.String STRATEGY_TYPE
           
 
Fields inherited from interface com.eviware.soapui.impl.wsdl.loadtest.strategy.LoadStrategy
CONFIGURATION_PROPERTY
 
Constructor Summary
ThreadCountChangeLoadStrategy(org.apache.xmlbeans.XmlObject config, WsdlLoadTest loadTest)
           
 
Method Summary
 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()
           
 javax.swing.JComponent getConfigurationPanel()
           
 void recalculate(LoadTestRunner loadTestRunner, LoadTestRunContext context)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.loadtest.strategy.AbstractLoadStrategy
addConfigurationChangeListener, afterTestCase, afterTestStep, beforeTestCase, beforeTestStep, getLoadTest, getType, loadTestStarted, loadTestStopped, notifyConfigurationChanged, removeConfigurationChangeListener, updateConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRATEGY_TYPE

public static final java.lang.String STRATEGY_TYPE
See Also:
Constant Field Values
Constructor Detail

ThreadCountChangeLoadStrategy

public ThreadCountChangeLoadStrategy(org.apache.xmlbeans.XmlObject config,
                                     WsdlLoadTest loadTest)
Method Detail

getConfig

public org.apache.xmlbeans.XmlObject getConfig()
Specified by:
getConfig in interface LoadStrategy
Overrides:
getConfig in class AbstractLoadStrategy

beforeLoadTest

public void beforeLoadTest(LoadTestRunner loadTestRunner,
                           LoadTestRunContext context)
Description copied from interface: LoadTestRunListener
Called before a load-test is about to be run

Specified by:
beforeLoadTest in interface LoadTestRunListener
Overrides:
beforeLoadTest in class AbstractLoadStrategy

afterLoadTest

public void afterLoadTest(LoadTestRunner loadTestRunner,
                          LoadTestRunContext context)
Description copied from interface: LoadTestRunListener
Called after the execution of a loadtest when all threads have terminated

Specified by:
afterLoadTest in interface LoadTestRunListener
Overrides:
afterLoadTest in class AbstractLoadStrategy

allowThreadCountChangeDuringRun

public boolean allowThreadCountChangeDuringRun()
Specified by:
allowThreadCountChangeDuringRun in interface LoadStrategy
Overrides:
allowThreadCountChangeDuringRun in class AbstractLoadStrategy

recalculate

public void recalculate(LoadTestRunner loadTestRunner,
                        LoadTestRunContext context)
Specified by:
recalculate in interface LoadStrategy
Overrides:
recalculate in class AbstractLoadStrategy

getConfigurationPanel

public javax.swing.JComponent getConfigurationPanel()
Specified by:
getConfigurationPanel in interface LoadStrategy
Overrides:
getConfigurationPanel in class AbstractLoadStrategy


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