Hi All,
I need to extract values from a feeder to create a new object and then parse that object into a scenario. I am new to gatling and scala, I am trying to do something like below:
val req: ScenarioBuilder = scenario(“get response”)
.feed(SCORE_FEEDER)
.exec(http(“score”)
.post(“/score”)
.headers(headers)
.body(StringBody((AdRequest()
.withUserDetails(user_details : “${user_details}”)
.withObjectIds(“${object_ids}”)).toProtoString)).asJson
.check(status.is(EXPECTED_STATUS))
)