Is it possible to disable OK/KO counters for some chain inside asLongAs?

Hi everyone,

In one of my scenarios I need to wait until web-service endpoint will return particular result and then continue performing checks. E.g. pseudocode is something like:

  1. Check 1
  2. Check 2
  3. Checks inside “asLongAs” to wait for some condition(i.e. just for “synchronization”)
  4. Check 3

Problem is that checks inside asLongAs increase success/failure counters and total OK/KO can be different depending on number of checks performed at step 3.
Is it possible to ignore results of checks inside asLongAs/tryMax, etc?

I logged this a few days ago :wink:

https://github.com/excilys/gatling/issues/1621