Handling "found 200 but expected 304" errors from gatling recorder scenario

Hi all,

I’m pretty new to gatling and scala - I’m just wondering how to handle these “found 200 but expected 304” error messages I receive in my simulation?

I can see from the docs that I can specify a range, but I don’t want to .check(status.in(200 - 304)). I want to check either 200 or 304 as both seem valid to me.

Thanks in advance!

status.in(Seq(200, 304))

Thanks, that’s working perfectly :slight_smile: