I am trying to check the http status and save the status code in variable, but in the gatling if I add multiple status check as follows.
.asJson().check(status().saveAs(RESPONSE_HTTP_STATUS_CODE), status().is(HttpStatus.SC_ACCEPTED)
saveAs function doesn’t invoke and RESPONSE_HTTP_STATUS_CODE is always has null.
What is the issue here ?
PS: I am not a gatling expert.
1