I am running gatling 1.5 in intelliJ 12.1.6
I replace gatling.conf with an application.conf file so that I could externalize some environment variable for my tests.
so I now have the following IDEPathHelper.scala:
import scala.tools.nsc.io.File
import scala.tools.nsc.io.Path.string2path
object IDEPathHelper {
val gatlingConfUrl = getClass.getClassLoader.getResource("application.conf").getPath
val projectRootDir = File(gatlingConfUrl).parents(2)
val mavenSourcesDirectory = projectRootDir / "src" / "test" / "scala"
val mavenResourcesDirectory = projectRootDir / "src" / "test" / "resources"
val mavenTargetDirectory = projectRootDir / "target"
val mavenBinariesDirectory = mavenTargetDirectory / "test-classes"
val dataDirectory = mavenResourcesDirectory / "data"
val requestBodiesDirectory = mavenResourcesDirectory / "request-bodies"
val recorderOutputDirectory = mavenSourcesDirectory
val resultsDirectory = mavenTargetDirectory / "results"
}
I want to change some gatling configuration value like using Apache instead of Netty