Make 500 an acceptable status code

Hi all

I would like to change my test so that a 500 is an acceptable status code and is not processed as an error. Is there a way to do that?

thanks

Just to clarify - I have situations where I know that a 500 is an acceptable response. I want to be able to ignore them.

Just set a status check (either request or protocol level).
See note: http://gatling.io/docs/2.0.3/http/http_check.html#http-status

.check(status.in(Seq(200, 500)))

Perfect. Thanks!