The output looks like this...
val httpConf = http.baseURL("http://localhost:9000")
println("the base urls are: \n + " + httpConf.baseUrls)
val scn = scenario("Hello World") // A scenario is a chain of requests and pauses
.exec(http("default_greeting")
.get("/greeting")
.check(jsonPath("$..greeting").is("Hello, World!"))
)
setUp(scn.inject(atOnceUsers(1)))
The build.sbt file looks like this:
enablePlugins(GatlingPlugin)
scalaVersion := "2.12.4"
scalacOptions := Seq(
"-encoding", "UTF-8", "-target:jvm-1.8", "-deprecation",
"-feature", "-unchecked", "-language:implicitConversions", "-language:postfixOps")
libraryDependencies += "io.gatling.highcharts" % "gatling-charts-highcharts" % "2.3.0" % "test,it"
libraryDependencies += "io.gatling" % "gatling-test-framework" % "2.3.0" % "test,it"