Commit Graph

15 Commits

Author SHA1 Message Date
Loredana
95940f9392 add indexes to jpa entities 2020-10-15 19:03:52 +03:00
Stephane Landelle
0acc3a94c4 Fix JSON payloads in the Gatling script
Motivation:

Ids are numbers (Integers), not Strings.

Modifications:

Remove wrong wrapping double quotes.

Result:

Less parsing overhead on the server side.
2020-10-15 16:26:35 +02:00
Loredana
41babf82e3 update loops count JAVA-2603 2020-10-13 16:44:18 +03:00
Stephane Landelle
e7fda382ca Remove RNG upper bound like in Grinder test to avoid race condition in application under test 2020-10-12 18:51:09 +02:00
Stephane Landelle
46b7a4f0ad Remove extra headers as the other tools don't set them and that's extra traffic 2020-10-12 18:50:26 +02:00
Stephane Landelle
af1da2a0e9 Reset Gatling user state on each iteration 2020-10-09 21:05:09 +02:00
Loredana
64bd014e51 remove log, formatting 2020-10-09 15:50:27 +03:00
Loredana
2d88df70da remove lombok, update scripts threads 2020-10-09 15:48:30 +03:00
Stephane Landelle
232ed7167c Remove the unfair 1 second pauses between requests
Those pauses don't exist in the JMeter test. They just artificially reduce the Gatling test's throughput.
2020-09-06 23:37:51 +02:00
Stephane Landelle
88487fad9f Add missing optional option on the check that captures the reward
This shouldn't be an error, it's an expected situation as described in the article.
2020-09-06 23:34:37 +02:00
Stephane Landelle
392ca3717d Use ThreadLocalRandom instead of Random which is synchronized 2020-09-06 23:33:17 +02:00
Stephane Landelle
316af150f2 Fix random cust id generation to reduce collisions
The current range causes lots of collisions and the application doesn't handle them gracefully, causing lots of exceptions to get logged and hamerring performance.

Use 100,000 like the JMeter test, see https://github.com/slandelle/tutorials/blob/master/testing-modules/load-testing-comparison/src/main/resources/scripts/JMeter/Test%20Plan.jmx#L203
2020-09-06 23:32:19 +02:00
Stephane Landelle
7020fdbfcd Fix dynamic parameter
Wrong Gatling usage: randCustId() was only called once. One needs to pass a function.
2020-09-06 23:29:31 +02:00
Philippe M
0fb2adfe99 Fix performance issues of JMeter Test Plan (#5979) 2019-01-20 10:38:14 -08:00
smokeyrobot
bb00c37151 Gatling vs JMeter vs The Grinder
Issue: BAEL-46
2018-11-22 13:13:14 -07:00