When I try to save the response from a JSON file after sending a number as input , i get a JSON response and when I try to save the data it gives me an error “i.g.h.a.ResponseProcessor - Request ‘requests’ failed: jsonPath($).find.exists failed, could not prepare: Boon failed to parse into a valid AST: Arr
ayIndexOutOfBoundsException: null” . Is there anyway to save this??
So far i have this:
val scn = scenario("Scenario Name") // A scenario is a chain of requests and pauses
.exec(http("request_1")
.get("/v3/deploys")
.check(jsonPath("$").ofType[Seq[Any]]
.find
.transform(_.map(_.toString.toLong))
.saveAs("ResponseData"))
)