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

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

public class VarianceLoadStrategy
extends AbstractLoadStrategy

Simple LoadStrategy that just runs until canceled without any delays

Author:
Ole.Matzura

Nested Class Summary
static class VarianceLoadStrategy.Factory
          Factory for VarianceLoadStrategy 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
VarianceLoadStrategy(WsdlLoadTest loadTest)
           
VarianceLoadStrategy(org.apache.xmlbeans.XmlObject config, WsdlLoadTest loadTest)
           
 
Method Summary
 void afterLoadTest(LoadTestRunner testRunner, 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

VarianceLoadStrategy

public VarianceLoadStrategy(WsdlLoadTest loadTest)

VarianceLoadStrategy

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

getConfigurationPanel

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

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

recalculate

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

afterLoadTest

public void afterLoadTest(LoadTestRunner testRunner,
                          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


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