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)
           
 
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
 void beforeTestCase(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestRunner testRunner, TestRunContext runContext)
          Called before the execution of a testcase
 org.apache.xmlbeans.XmlObject getConfig()
           
 javax.swing.JComponent getConfigurationPanel()
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.loadtest.strategy.AbstractLoadStrategy
addConfigurationChangeListener, afterTestCase, afterTestStep, beforeTestStep, getType, loadTestStarted, loadTestStopped, notifyConfigurationChanged, removeConfigurationChangeListener
 
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)
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

beforeTestCase

public void beforeTestCase(LoadTestRunner loadTestRunner,
                           LoadTestRunContext context,
                           TestRunner testRunner,
                           TestRunContext runContext)
Description copied from interface: LoadTestRunListener
Called before the execution of a testcase

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

getConfigurationPanel

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


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