Hi,
I have been trying to translate the output from chrome console into the proper scala syntax, i.e.
["CONNECT\naccept-version:1.1,1.0\nheart-beat:10000,10000\n\n\u0000"]
to
val connect: String = """{
"CONNECT",
"accept-version" : "1.1,1.0",
"heart-beat": "10000,10000"
}"""
On success this should return a Connected message from my server. However Gatling is complaining about error message 1007
( 1007 indicates that an endpoint is terminating the connection
* because it has received data within a message that was not
* consistent with the type of the message (e.g., non-UTF-8 [RFC3629]
* data within a text message).)
Could someone please take a look if I have translated the message incorrectly?
Thank you!