Hi,
I am getting type mismatch for below request.
Not sure what is wrong
exec(http(“batch_reports_after_login”)
.post("/service/batch/report")
//.headers(headers_2)
.body(RawFileBody(“MasterData_0002_request.txt”)),
http(“request_3”)
.post("/images/background")
.check(status.is(500)),
http(“names_state_reports”)
.post("/service/batch/report")
//.headers(headers_4)
.body(RawFileBody(“MasterData_0004_request.txt”)))
.pause(12)
Errors:-
type mismatch;
found : io.gatling.http.request.builder.HttpRequestBuilder
required: io.gatling.core.structure.ChainBuilder
16:37:15.798 [ERROR] i.g.c.ZincCompiler$ - .body(RawFileBody(“MasterData_0002_request.txt”)),
16:37:15.800 [ERROR] i.g.c.ZincCompiler$ - ^
type mismatch;
found : io.gatling.http.request.builder.HttpRequestBuilder
required: io.gatling.core.structure.ChainBuilder
16:37:15.807 [ERROR] i.g.c.ZincCompiler$ - .check(status.is(500)),