T
- the type of application used by this load test.public interface LoadTest<T>
Modifier and Type | Method and Description |
---|---|
void |
addApplicationBatch()
Adds a batch of applications.
|
Value<Integer> |
applicationBatchSizeValue() |
int |
applicationCount() |
ValueObserver<Integer> |
applicationCountObserver() |
State |
collectChartDataState() |
int |
getUpdateInterval() |
User |
getUser() |
boolean |
isScenarioEnabled(String scenarioName) |
Value<Integer> |
loginDelayFactorValue()
This value controls the factor with which to multiply the think time when logging in, this helps
spread the application logins when creating a batch of application.
|
Value<Integer> |
maximumThinkTimeValue() |
org.jfree.data.xy.XYDataset |
memoryUsageDataset() |
Value<Integer> |
minimumThinkTimeValue() |
org.jfree.data.xy.XYDataset |
numberOfApplicationsDataset() |
State |
pausedState() |
void |
removeApplicationBatch()
Removes one batch of applications.
|
void |
resetChartData()
Resets the accumulated chart data
|
ItemRandomizer<UsageScenario<T>> |
scenarioChooser() |
org.jfree.data.xy.IntervalXYDataset |
scenarioDurationDataset(String name) |
void |
setScenarioEnabled(String scenarioName,
boolean enabled) |
void |
setUpdateInterval(int updateInterval) |
void |
setUser(User user) |
void |
setWeight(String scenarioName,
int weight)
Sets the random chooser weight for the given scenario
|
void |
shutdown()
Removes all applications and exits
|
org.jfree.data.xy.XYDataset |
systemLoadDataset() |
org.jfree.data.xy.XYDataset |
thinkTimeDataset() |
String |
title()
The title of this LoadTest
|
UsageScenario<T> |
usageScenario(String usageScenarioName) |
org.jfree.data.xy.XYDataset |
usageScenarioDataset() |
org.jfree.data.xy.XYDataset |
usageScenarioFailureDataset() |
Collection<String> |
usageScenarios() |
void shutdown()
User getUser()
void setUser(User user)
user
- the user to use when initializing new application instancesString title()
void setWeight(String scenarioName, int weight)
scenarioName
- the name of the scenarioweight
- the new weight to assign to the scenarioboolean isScenarioEnabled(String scenarioName)
scenarioName
- the scenario namevoid setScenarioEnabled(String scenarioName, boolean enabled)
scenarioName
- the scenario nameenabled
- true if the scenario should be enabledCollection<String> usageScenarios()
UsageScenario<T> usageScenario(String usageScenarioName)
usageScenarioName
- the scenario nameint getUpdateInterval()
void setUpdateInterval(int updateInterval)
updateInterval
- the chart data update interval in millisecondsint applicationCount()
Value<Integer> applicationBatchSizeValue()
State pausedState()
Value<Integer> maximumThinkTimeValue()
Value<Integer> minimumThinkTimeValue()
Value<Integer> loginDelayFactorValue()
State collectChartDataState()
ValueObserver<Integer> applicationCountObserver()
void addApplicationBatch()
applicationBatchSizeValue()
void removeApplicationBatch()
applicationBatchSizeValue()
void resetChartData()
org.jfree.data.xy.IntervalXYDataset scenarioDurationDataset(String name)
name
- the scenario nameorg.jfree.data.xy.XYDataset thinkTimeDataset()
org.jfree.data.xy.XYDataset numberOfApplicationsDataset()
org.jfree.data.xy.XYDataset usageScenarioDataset()
org.jfree.data.xy.XYDataset memoryUsageDataset()
org.jfree.data.xy.XYDataset systemLoadDataset()
org.jfree.data.xy.XYDataset usageScenarioFailureDataset()
ItemRandomizer<UsageScenario<T>> scenarioChooser()