Gatling 2.1.7 multiple checks failure

Hello,

I have a question about object Check io.gatling.core.check.
In function checkRec in case of first check failure checkRec is called with the first check failure.
Now when second checks fail the failure will not be propagated to next check.
I am new to scala so if i read this code incorrectly sorry in advance.

`

case f: Failure =>
  failure match {
    case None =>
      checkRec(session, tail, update, Some(f))
    case _ => checkRec(session, tail, update, failure)
  }

`

Is there any reason to perform other checks in checks chain after the failure, if you do not propagate next checks failures?
Shouldn’t the first failure stopped all other checks?

No, because we want to save (“saveAs”) as much as possible.

Ok, I understand that you want save values from next checks.

  1. Is it possible to break in check chain i.e. after check status=200 fail , do not perform any other check?
  2. Can failures but propagated to exitHereIfFailed or exitBlokedOnFail? Reason for this is that I want interrupt scenario only if specific check fail , not on every failure.

1. Is it possible to break in check chain i.e. after check status=200 fail
, do not perform any other check?

No, not atm.

2. Can failures but propagated to exitHereIfFailed or exitBlokedOnFail?
Reason for this is that I want interrupt scenario only if specific check
fail , not on every failure.

No. exitBlockOnFail is more generic and exits as soon as one request fails.