Gatling version: 3.10.5
Gatling flavor: java kotlin scala javascript typescript
Gatling build tool: maven gradle sbt bundle npm
Hello everyone, I have some strange jumps in the graphs and cannot understand why.
I have ‘main’ scenario with 4 ‘sub-scenarios’ added in the setup method with the injection open model.
In all of them I also have rampUsersPerSec and constantUsersPerSec methods.
So I want to have constant number of users arriving in the system and some of them to arrive during the certain ramp-up time.
So here is the example:
RAMPUPTIMESECONDS = 800 (should be around 13 mins (used for rampUsersPerSec))
EXECUTE_FOR_MINUTES = 5 mins (used for constantUsersPerSec)
NUMBER_OF_CLIENTS_PER_MIN is set to 10
Percentages are set with different values for different scenarios (eg. 30, 50, 20)
//calculates percentage of clients per second from total clients per minute
public static double getPercentageOfClientsPerSec(Double clientsCountPerMin, Double percentage) {
double percentageOfClientsPerSec = (clientsCountPerMin * percentage) / 100 / 60;
System.out.println("Percentage of clients per second: " + percentageOfClientsPerSec);
return percentageOfClientsPerSec;
}
I will attach a few graphs from a different runs. Also attached the simulation.
Any idea why I have that big jumps?
This started to happen few weeks ago.
Update:
I want to have it like this (or similar):