How to externalize simulation class and folder

Hi Team,

I want to define simulation class and simulation folder in file and read them in pom.xml. I have gone though some articles or solutions and tried everthing but nothing helped. every time i end up with Multiple simuation found error.

I have defined properties as below


And in pom.xml I am reading it as below

<?xml version="1.0" encoding="UTF-8"?>


1.8 1.8 2.12.4 UTF-8 2.3.1 3.2.2 src/test/scala org.codehaus.mojo properties-maven-plugin 1.0-alpha-2 org.codehaus.mojo properties-maven-plugin 1.0-alpha-2 initialize read-project-properties ${basedir}/src/test/resources/ io.gatling gatling-maven-plugin 2.2.4 true ${simulationsFolder} ${simulationClass}

Note: I have pasted only necessary snippet.

Every time when in run “mvn gatling:execute” i am getting below error

[ERROR] Failed to execute goal io.gatling:gatling-maven-plugin:2.2.4:execute (default-cli) on project gatling-highcharts-maven-archetype: Gatling failed. More than 1 simulation to run, nee
d to specify one, or enable runMultipleSimulations → [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

Can someone help me out.

Karthik P.


add it to your configuration

more info will be find in

在 2018年6月19日星期二 UTC+8下午6:30:10,Kirankumar Siripireddy写道: