I m seeing the following error while running Engine.scala
:
object gatling is not a member of package io
import io.gatling.app.Gatling
Below is the code that is used
import io.gatling.app.Gatling
import io.gatling.core.config.GatlingPropertiesBuilder
object Engine extends App {
val props = new GatlingPropertiesBuilder()
.resourcesDirectory(IDEPathHelper.mavenResourcesDirectory.toString)
.resultsDirectory(IDEPathHelper.resultsDirectory.toString)
.binariesDirectory(IDEPathHelper.mavenBinariesDirectory.toString)
Gatling.fromMap(props.build)
}
I tried changing the Gatling version in mvn file, but no luck. could someone please help