-
Notifications
You must be signed in to change notification settings - Fork 0
Calculate scenario dynamic params in settings #66
Calculate scenario dynamic params in settings #66
Conversation
private boolean consoleReporterEnabled = CONSOLE_REPORTER_ENABLED; | ||
private int users; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
users
-> injectors
private String[] args = new String[] {}; | ||
// dynamic params | ||
private Duration rampUpInterval; | ||
private int usersPerRampUpInterval; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usersPerRampUpInterval
-> injectorsPerRampUpInterval
@@ -264,6 +366,12 @@ private Builder parseArgs() { | |||
String key = keyValue[0]; | |||
String value = keyValue[1]; | |||
switch (key) { | |||
case "users": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"users" -> "injectors"
private String[] args = new String[] {}; | ||
// dynamic params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you plz move this private String[] args = new String[] {};
above line with users/injectors
.rampUpDuration(Duration.ofSeconds(10)) | ||
.rampUpInterval(Duration.ofSeconds(1)) | ||
.rampUpDuration(Duration.ofSeconds(30)) | ||
.users(10_000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.users()
-> .injectors()
No description provided.