Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gatling Error: There is no simulation script. Please check that your scripts are in user-files/simulations

Tags:

gatling

I'm new to Gatling and I'm trying to use ./gatling.sh to open a simulation script but I'm getting the following error:

There is no simulation script. Please check that your scripts are in user-files/simulations

I can view multiple scripts within the user-files/simulations directory but still get the error.

Does anyone have any ideas why Gatling is not finding the simulation script?

like image 533
Timothy Hawkins Avatar asked Feb 15 '18 12:02

Timothy Hawkins


1 Answers

Gatling can only run with Jdk8. For windows, you can install multiple JDK as well. After install JDK8, go to your bin/gatling.bat, right click on that and select Edit.

Replace all %JAVA_HOME% with the your JDK8 path.

Example

%JAVA_HOME%\bin\java.exe

to

C:\Program Files\Java\jdk1.8.0_181\bin\java.exe

like image 53
Chee Er Lim Avatar answered Oct 11 '22 16:10

Chee Er Lim