What is status().is(302) didn't match: found 404 about??

Hi,

The error is pretty clear :
Unless otherwise specified, Gatling expects that the status code of the response is 200.
Here, the status code of your response is 302, meaning that you get redirect somewhere else when hitting on your scenario’s URLs.

If this is expected, you might want to add check(status.is(302)) to your checks for the request on which this happens.

Cheers,

Pierre

Hi,
i can run simulation one time no error , same simulation i can run 1 hour or 30 minutes it gives error like this…status().in(Range(200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210)) didn’t match: found 302

By default, Gatling follows redirects, until the configured limit (see gatling.conf).
Except if you disabled this, it means the limit was reached.

Why you had t-so many redirects is for you/the dev team to figure out. You might hvae found a bug in your system.