Skip to content
Snippets Groups Projects
Commit 3c9a4d26 authored by Florian Fittkau's avatar Florian Fittkau
Browse files

minor

parent 597eff85
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ public class Main extends JFrame {
* the desired thread amount and low values. Afterwards, adjust the constant
* accordingly.
*/
private static final float SESSION_TO_REQUEST_RATIO = 2.6f;
private static final float SESSION_TO_REQUEST_RATIO = 2.1f;
private static final int JMETER_INSTANCES = 1;
......@@ -92,7 +92,7 @@ public class Main extends JFrame {
}
private static double getWorkload(float expiredMinute) {
final double numSessions = ((int) (((numSessions(expiredMinute) / 2d) * INTENSITY) * 100d)) / 100d;
final double numSessions = ((numSessions(expiredMinute) / 2d) * INTENSITY);
return numSessions > 1 ? numSessions : 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment