Is there a way to mark 404 responses as 'ok'?

I’m writing some tests to verify response time on a various search requests. During test I use various data that I store in a feeder. Sometimes i get 404 response, which is completely normal (i’m not verifying where response is correct I’m measuring response time)
my question is how can i configure .check so this 404’s do not get highlighted in the response?

Thanks,
Ana

forgot to mention. i’m using Gatling 2.0

http://gatling.io/docs/2.1.1/http/http_check.html#http-status

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

Thank you!

another quick question :slight_smile:

our application is configured to return special responce code once elastic search is down. Is there a way to highlight it in the report with special message?

No. You can only expect a status check failure against this code.