How Do You Get the gatling.sh Script to Work when You Get an Error about There Not Being a Simulation Script?

Problem scenario
You run gatling.sh but you receive this error: "There is no simulation script. Please check that your scripts are in user-files/simulations".  What should you do?

Possible solution #1
Go to the subdirectory user-files/simulations/.  Place a .scala file there that is a simulation script.

Possible solution #2
Run the gatling.sh script with "sudo" before the command like this:  sudo bash gatling.sh

Possible solution #3
Change the ownership and or permissions of user-files/simulations/*.scala files. 

Possible solution #4
Reinstall Gatling. You can use these directions.

Leave a comment

Your email address will not be published. Required fields are marked *