value users is not a member of io.gatling.core.structure.ScenarioBuilder

Hi,

I am currently trying to run a simulation on a web application. I have recorded the process using Gatling Recorder. The simulation runs fine, but I keep getting the following error when I try to increase the number of users using “”“setUp(scn.users(10).protocolConfig(httpConf))”" as given in the “First Steps with Gatling” guide.

This is the error i got while incresing number of users

setup(scn.inject(atOnce(1 user)).protocolConfig(httpConf))

to increase number of users i changed

setUp(scn.users(10).protocolConfig(httpConf))

and got the following error

07:04:40.884 [ERROR] i.g.a.ZincCompiler$ - C:\Users\srinivasnl\Desktop
gatling-charts-highcharts-2.0.0-M2-bundle\gatling-charts-highcharts-2.0.0-M2\user-files\simulations\m\RecordedSimulation.scala:237: value users is not a member of io.gatling.core.structure.ScenarioBuilder
07:04:40.889 [ERROR] i.g.a.ZincCompiler$ - setUp(scn.users(10).protocolConfig(httpConf))
07:04:40.890 [ERROR] i.g.a.ZincCompiler$ - ^ 07:04:40.915 [ERROR] i.g.a.ZincCompiler$ - one error found

Thanks,
Dheeraj