Package is.codion.tools.loadtest
Interface LoadTest.Applications
public static interface LoadTest.Applications
Controls the load test applications
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddBatch()Adds a batch of applications.count()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.voidRemoves a random batch of applications.runners()voidstop(LoadTest.ApplicationRunner applicationRunner) user()
-
Method Details
-
user
- Returns:
- the user to use when initializing a new application batch
-
runners
Collection<LoadTest.ApplicationRunner> runners()- Returns:
- the application runners
-
count
Observable<Integer> count()- Returns:
- an observable notified each time the application count changes
-
batchSize
- Returns:
- the
Valuecontrolling the number of applications to initialize per batch
-
loginDelayFactor
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.- Returns:
- the
Valuecontrolling the factor with which to multiply the think time when logging in
-
stop
- Parameters:
applicationRunner- the application runner to stop
-
addBatch
void addBatch()Adds a batch of applications.- See Also:
-
removeBatch
void removeBatch()Removes a random batch of applications.- See Also:
-