Exit Current Iteration if Check fails

Hi All,

Currently facing one issue, where I need to exit the current iteration (in duration based scenario) and start the next iteration if a particular text check exists.

I have tried with “.exitHereIfFailed”, but that is exiting and stops the entire scenario if a text check appears.

If I am running 2 hr duration test with 200 users, if any of the case that particular text appears, that user itself gets dropped from the scenario instead of the iteration.

Is there any way that only the particular iteration will exit and not the user?