Hello, I would like to ask - is it possible to somehow send GraphQL Query using Gatling (take the request body from file)?
I put my body in resources directory in file with .graphql extension, but I got 400 in response ( bad request) and error like:
body:
{"errors":[{"message":"Invalid GraphQL request","extensions":{"details":"failed to deserialize the request body into JSON: expected value at line 1 column 1","code":"INVALID_GRAPHQL_REQUEST"}}]}
I managed to send GraphQL query using .body(StringBody()) in ChainBuilder, but I have somme issues with getting query from file.