We have an option in ThreadGroup to stop or continue threads in case of errors. But this option applies to all the samplers within ThreadGroup.

Is there any way by which we can apply this condition only to specific samplers. For example, I have Login samplers in my test Plan and I want to stop those threads only which fail for login samplers.

Any possible workaround for that in JMeter!