public final class QueryLoadTestModel extends LoadTestModel<QueryLoadTestModel.QueryApplication>
Modifier and Type | Class and Description |
---|---|
static class |
QueryLoadTestModel.QueryApplication
A class used internally
|
static class |
QueryLoadTestModel.QueryScenario
A usage scenario based on a SQL query.
|
LoadTestModel.AbstractUsageScenario<T>
LoadTest.ScenarioException, LoadTest.UsageScenario<T>
DEFAULT_CHART_DATA_UPDATE_INTERVAL_MS, DEFAULT_WARNING_TIME_MS, LOG, RANDOM
Constructor and Description |
---|
QueryLoadTestModel(Database database,
User user,
java.util.Collection<? extends QueryLoadTestModel.QueryScenario> scenarios)
Instantiates a new QueryLoadTest.
|
Modifier and Type | Method and Description |
---|---|
protected void |
disconnectApplication(QueryLoadTestModel.QueryApplication application) |
ConnectionPool |
getConnectionPool() |
protected QueryLoadTestModel.QueryApplication |
initializeApplication() |
addApplicationBatch, addExitListener, applicationBatchSizeObserver, applicationCountObserver, collectChartDataObserver, exit, getApplicationBatchSize, getApplicationCount, getLoginDelayFactor, getMaximumThinkTime, getMemoryUsageDataset, getMinimumThinkTime, getMinimumThinkTimeObserver, getNumberOfApplicationsDataset, getPauseObserver, getScenarioChooser, getScenarioDurationDataset, getThinkTime, getThinkTimeDataset, getTitle, getUpdateInterval, getUsageScenario, getUsageScenarioDataset, getUsageScenarioFailureDataset, getUsageScenarios, getUser, getWarningTime, getWarningTimeObserver, isCollectChartData, isPaused, isScenarioEnabled, maximumThinkTimeObserver, removeApplicationBatch, resetChartData, runScenario, setApplicationBatchSize, setCollectChartData, setLoginDelayFactor, setMaximumThinkTime, setMinimumThinkTime, setPaused, setScenarioEnabled, setUpdateInterval, setUser, setWarningTime, setWeight
public QueryLoadTestModel(Database database, User user, java.util.Collection<? extends QueryLoadTestModel.QueryScenario> scenarios) throws DatabaseException
database
- the databaseuser
- the userscenarios
- the query scenariosDatabaseException
- in case of an exception while constructing the initial connectionspublic ConnectionPool getConnectionPool()
protected void disconnectApplication(QueryLoadTestModel.QueryApplication application)
disconnectApplication
in class LoadTestModel<QueryLoadTestModel.QueryApplication>
application
- the application to disconnectprotected QueryLoadTestModel.QueryApplication initializeApplication()
initializeApplication
in class LoadTestModel<QueryLoadTestModel.QueryApplication>