karate

Fail to run demo Karate Gatling from GIT


I have cloned the karate demo from https://github.com/karatelabs/karate into my VScode environment.

My aim is to run karate-gatling project.

At the terminal, I run the command mvn test -P Gatling.

The test seems to start off OK but it was stopped due to below stack trace error.

The stack trace seems to suggest an issue on the class org.graalvm.polyglot.Engine$ImplHolder Screenshot

What dependency I may have missed?


Solution

  • As mentioned in the docs, the karate-demo or karate-gatling projects are not recommended as a sample project.

    For that please use the karate-todo project. Note that for Karate 1.5, there are some improvements to the Gatling part, you can use Java instead of Scala.