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
@@ -7,7 +7,7 @@ import scala.concurrent.duration._
class RewardsScenario extends Simulation {
- def randCustId() = Random.nextInt(99)
+ def randCustId() = Random.nextInt(100000)
val httpProtocol = http.baseUrl("http://localhost:8080")
.acceptHeader("text/html,application/json;q=0.9,*/*;q=0.8")
