Package is.codion.tools.loadtest.model
Class QueryLoadTestModel
java.lang.Object
is.codion.tools.loadtest.model.QueryLoadTestModel
A load test implementation for testing database queries.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A class used internallystatic class
-
Constructor Summary
ConstructorDescriptionQueryLoadTestModel
(Database database, User user, Collection<? extends LoadTest.Scenario<QueryLoadTestModel.QueryApplication>> scenarios) Instantiates a new QueryLoadTest. -
Method Summary
-
Constructor Details
-
QueryLoadTestModel
public QueryLoadTestModel(Database database, User user, Collection<? extends LoadTest.Scenario<QueryLoadTestModel.QueryApplication>> scenarios) throws DatabaseException Instantiates a new QueryLoadTest.- Parameters:
database
- the databaseuser
- the userscenarios
- the query scenarios- Throws:
DatabaseException
- in case of an exception while constructing the initial connections
-
-
Method Details
-
loadTest
-
connectionPool
- Returns:
- the underlying connection pool
-