Issue with Passing Core Gatling Config in JAVA_OPTS

Hi Team,

I am beginner for Gating

I am trying to pass Gatling Core Config from Command line with JAVA_OPTS but it is not taking effect.
here i am passing as below,

JAVA_OPTS="-DrequestTimeout=71000"

Please some once can help me to pass it in correct way?

Hi Team

Here please, can someone help me on my query?

Hi Dharamdas,

use something like this:
JAVA_OPTS="-Dgatling.http.ahc.requestTimeout=300000"

Cheers :slight_smile:
Adam

I am trying to do same but not able to read users in my class

JAVA_OPTS="-Dgatling.http.ahc.users=2"
or 

Akshay,

Pass Vusers as below throw command line.

JAVA_OPTS="-Dusers=2"

you can read the values as below in your scala class

val vUsers = Integer.getInteger(“users”)