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

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

public class SimpleLoadStrategy
extends AbstractLoadStrategy

LoadStrategy allowing maximum runs and request delays

Author:
Ole.Matzura

Nested Class Summary
static class SimpleLoadStrategy.Factory
          Factory for SimpleLoadStrategy 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
SimpleLoadStrategy(org.apache.xmlbeans.XmlObject config, WsdlLoadTest loadTest)
           
 
Method Summary
 void beforeTestCase(LoadTestRunner loadTestRunner, LoadTestRunContext context, TestRunner testRunner, TestRunContext runContext)
          Called before the execution of a testcase
 int calculateDelay(int delay)
           
 org.apache.xmlbeans.XmlObject getConfig()
           
 javax.swing.JComponent getConfigurationPanel()
           
 float getRandomFactor()
           
 int getTestDelay()
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.loadtest.strategy.AbstractLoadStrategy
addConfigurationChangeListener, afterLoadTest, afterTestCase, afterTestStep, allowThreadCountChangeDuringRun, beforeLoadTest, beforeTestStep, getLoadTest, getType, loadTestStarted, loadTestStopped, notifyConfigurationChanged, recalculate, 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

SimpleLoadStrategy

public SimpleLoadStrategy(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

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

calculateDelay

public int calculateDelay(int delay)

getConfigurationPanel

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

getTestDelay

public int getTestDelay()

getRandomFactor

public float getRandomFactor()


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