Commit Graph

14 Commits

Author SHA1 Message Date
Loredana 43feef5b42 add indexes to jpa entities 2020-10-15 19:03:52 +03:00
Stephane Landelle 84d2b3a0f5 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 450614d511 update loops count JAVA-2603 2020-10-13 16:44:18 +03:00
Stephane Landelle 024da8003b 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 c608c133f6 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 eea42f2289 Reset Gatling user state on each iteration 2020-10-09 21:05:09 +02:00
Loredana f3aee7ea03 remove log, formatting 2020-10-09 15:50:27 +03:00
Loredana 68f35280c3 remove lombok, update scripts threads 2020-10-09 15:48:30 +03:00
Stephane Landelle 7c41e37829 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 a3626ba16c 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 b2643fc0dd Use ThreadLocalRandom instead of Random which is synchronized 2020-09-06 23:33:17 +02:00
Stephane Landelle bbdce526c7 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 eed6c93543 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
Eric Martin 3225470df5 Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2
Revert "BAEL-3275: Using blocking queue for pub-sub"
2019-10-31 20:43:47 -05:00