So I have a simulation which consists of three different scenarios and it looks like:
setUp(slowScenario.inject(rampConcurrentUsers(1) to (Config.numberOfSlowUsers) during (Config.rampUpDuration minutes))
.protocols(httpconf),
normalScenario.inject(rampConcurrentUsers(1) to (Config.numberOfNormalUsers) during (Config.rampUpDuration minutes))
.protocols(httpconf),
fastScenario.inject(rampConcurrentUsers(1) to (Config.numberOfFastUsers) during (Config.rampUpDuration minutes))
.protocols(httpconf))
.maxDuration(Config.scenarioDuration minutes)
.assertions(global.successfulRequests.percent.is(100))
Given that I am running the test for eight hours, I’d like to create a 20% surge in the amount of users at the end of
each hour which will decline after a set time. For example if I am running 1000 users, after 50 minutes I’d like to gradually/randomly add
another 200 users. when I reach an hour, those 200 users will drop gradually/randomly and I will be back to my 1000 users.
Any examples, approaches, links, etc would be highly appreciated!