I try to run a simulation looking like this:
`
package magnus
import scala.concurrent.duration._
import java.util.Date
import io.gatling.core.Predef._
import io.gatling.http.Predef._
class PdaSimulation extends Simulation{
val httpProtocol = http
.baseURL("https://sad")
.inferHtmlResources(BlackList(""".*\.js""", """.*\.css""", """.*\.gif""", """.*\.jpeg""", """.*\.jpg""", """.*\.ico""", """.*\.woff""", """.*\.(t|o)tf""", """.*\.png"""), WhiteList())
.acceptHeader("application/json, text/javascript, */*; q=0.01")
.acceptEncodingHeader("gzip, deflate")
.acceptLanguageHeader("en-US,en;q=0.5")
.connectionHeader("keep-alive")
.contentTypeHeader("application/x-www-form-urlencoded; charset=UTF-8")
.userAgentHeader("Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0")
val scnVareInformasjon = scenario("drt")
.exec(flushCookieJar)
.exec(flushHttpCache)
.exec(http("LOGIN")
.get("/UI5_RETAIL_APPCACHE?sap-client=300&appcache=Cd")
//.headers(headers)
.basicAuth("Inn2451b", "Portal4451")
.check(status.is(200)))
setUp(scnVareInformasjon.inject(atOnceUsers(1))).protocols(httpProtocol)
}
`
Byt get this error in intellij:
Exception in thread "main" io.gatling.core.session.el.ElParserException: Failed to parse application/json, text/javascript, */*; q=0.01 with error '[B cannot be cast to [C' at io.gatling.core.session.el.ElCompiler.parseEl(ElCompiler.scala:249)
What is thgis related to?
Thanks
Magnus