Gatling Scenario Query

42 views
Skip to first unread message

Kapil

unread,
Feb 20, 2018, 6:41:21 AM2/20/18
to Gatling User Group
Hi Stephane

I am trying to define a scenario using gatling but not success and would appreciate if you can advice me if that's achievable via gatling or not

let say I want to load test a application for 500 user but I would like to ramp up first 100 user and then run it for 20 minute and then ramps another 100 user and again run it for 20 minute and continue this until all 500 users are ramped up. once all 500 users are up and running then I would like to run the whole simulation scenario for 1 hour.

Is it possible to achieve this via Gatling and if yes then please can you please advice me how ?

Looking forward for your reply

Regards

Gatling Learner

unread,
Feb 20, 2018, 9:56:15 AM2/20/18
to Gatling User Group
You can do something like this 
 
scenario("name").during(160 minutes) {
// your requests
}
and then setup like

splitUsers(500) into(rampUsers(100) over(20 minutes)) separatedBy(20 minutes)

Kapil

unread,
Feb 26, 2018, 4:58:27 AM2/26/18
to gat...@googlegroups.com
Thanks that approach work but this scenario using similar time for ramping down user as well. \\

scenario("name").during(160 minutes) {
// your requests
}

splitUsers(500) into(rampUsers(100) over(20 minutes)) separatedBy(20 minutes)

 I want to ramp total 500 user (by ramping 100 user in 20 minute and run the scenario for 20 minute and then again ramp next set of 20 user and continue until all 500 users are up.  

https://tools.hmcts.net/confluence/download/attachments/305496202/image2017-10-4_14-5-55.png?version=1&modificationDate=1507122355209&api=v2&__ncforminfo=est9nWLsMtYlT611aq8UUA2D2YmD50cA0rS3bfhF3KPve5o4-sJOOnSkW5pFi37tRalmbVRh50A2dY3vJj6uebMl_9744Gudstz0ur4ZlMitp45cb7H27w==&__ncforminfo=EtlKO6Yy1CGCyl4BRofvAi84hNObAMIZITY8wSqQ9uT9CNbQ1InJxcuk2u6GUJto8t4cHV9C3idzmlQO0qy9Q5TdH7VRadKUbZYDy-x6o4MzcBWIELj86Bg_5j1MTMnc
Is it possible to ramping down timing part from this ? how ?

Regards


--
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/uABWgc7VdSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

CyberNinja

unread,
Feb 27, 2018, 1:17:07 AM2/27/18
to Gatling User Group
Reply all
Reply to author
Forward
0 new messages