When doing this
val HTTP_PROTOCOL = http
.proxy(Proxy("proxy", 8080))
I have this when launching my tests
too many arguments (2) for method apply:(v1:io.gatling.core.session.Session)io.gatling.commons.validation.Validation[Proxy.type] in trait Function1
.proxy(Proxy("proxy", 8080))
The doc doesn't mention anything about anything else
https://gatling.io/docs/current/http/http_protocol#response-handling-parameters
I'm using the latest versions available
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<gatling.version>3.3.1</gatling.version>
<gatling-maven-plugin.version>3.0.5</gatling-maven-plugin.version>
</properties>
Any idea as it may be some Scala issue ?
proxy
can be invoked:
So either you're not calling it at the right place, or you've messed up with the Gatling imports, which should strictly be like in here.
The doc doesn't mention anything about anything else
The correct links to the doc about proxy
are: