Proxy config in gatling2 SNAPSHOT version

Hi Guys,

I have recently migrated to Gatling2 SNAPSHOT version. I normally use Fidler to debug my script by configuring a proxy in the httpP

val httpProtocol = http
.proxy(“localhost”, 8888)
.httpsPort(8888)

When I try this in the SNAPSHOT version I get:

error: too many arguments for method proxy: (httpProxy: io.gatling.http.config.Proxy)io.gatling.http.config.HttpProtocolBuilder
[ERROR] .proxy(“localhost”, 8888).httpsPort(8888)

Could you please help me out how to configure a proxy?

Cheers,

Daniel

Here is the syntax:

val httpProtocol = http
.baseURL(“http://172.30.5.143:8080”)
.proxy(Proxy(“172.31.76.106”, 8080).httpsPort(8081))

Cheers
Nicolas

Thanks!

Daniel