Hi All,
I need help with my test.
I have a code:
`
package simulations
import scenarios.BookerScenario
import io.gatling.core.Predef.Simulation
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import test.scala.config.Config._
class BookerSimulation extends Simulation {
val proxy_url = “sg1-continuum.test.aws.mycompanyname.cloud”
val httpProtocol = http
.proxy(
Proxy(proxy_url, 3128)
.credentials(“myusername”, “mypassword”)
)
private val createUserExec = BookerScenario.simulateUsers
.inject(rampUsers(users) during (throughput)).protocols(httpProtocol)
setUp(createUserExec)
}
`
But when I run this simulations, then I received 407 status code (407 Proxy Authentication Required)
I checked logs from gatling and I can see that credentials parameters are not attached to the request:
`