Example Kotlin test from gatling.io tutorial failing to be found at runtime

Just like the title states. I’m running gatling.sh from the command line. I have scala, java, and kotlin tests all in the same simulation folder. I run gatling in interactive mode and I see my scala and java simulations available to choose by number, but none of my kotlin tests. I have kotlin tests generated from the recorder as well as examples copied from the gatling.io. No errors, just no selection option.

If I try to run the test directly using the -s option, I get a ClassNotFoundException. Suggestions as to next debugging steps?

Gatling version is 3.10.4.
JRE is 17.0.8
Kotlin compiler is 1.9.23

Hi Chris, From your message I assume you are using the Gatling bundle. If so, it doesn’t support Kotlin. You will have to use either the Maven or Gradle plugins.

1 Like

Yes, that’s correct. Thank you very much for clearing up the issue.