Auth Token is not being recognized for Websockets in Gatling 3.1.3


I am new to Gatling and have installed 3.1.3 on an Ubuntu machine.
I have below code to spawn WS connection with AUTH Token being passed. But, Gatling somehow is failing to recognize it I presume, since the same token when passed with python WSClient code works fine.
Any help regarding this would be very helpful!


import scala.concurrent.duration._

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._

class WebSockets extends Simulation {

val httpConf = http
.acceptHeader(“X-Auth-Token: c965d57a8bf285971e09bfb4a010710025dbe7a2-pa.u.exp=1563651221084&”)

val scn = scenario(“LOAD TESTING”)
.exec(ws(“Connect WS”).connect("ws://x.x.x.x:9080/v2.0/api/id/john/ws"))
.exec(ws(“Close WS”).close)




Simulation WebSockets started…