Hi
I have a simple request:
val request: HttpRequestBuilder = http("Home")
.get("https://gatling.io")
.check(jsonPath("$.rootEntityId").is("Some value"),
jsonPath("$.id").is("2")
)
I want to get all checks from it and save them to the logs.
In the debugger they are visible when executed:
request.httpAttributes.checks.head.wrapped.asInstanceOf[Check.Default].extractorExpression
But I can’t get to them directly from the code.
Is it possible to access the checks from the code or at least log them to a file?
Scala version: 2.13.9
gatling version: 3.9.5