Probably using an old Gatling version from before andThen
was introduced.
Kind reminder: How to Ask a Question
Use Up-to-Date Versions
Please make sure to use the latest version of Gatling, in particular if you think you’ve found a bug.
This bug might have already been fixed. Gatling developers won’t have time to dig into old versions.