Skip to content

Instantly share code, notes, and snippets.

@bsadeh
Created August 2, 2014 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsadeh/f25f2be57203ea2f6725 to your computer and use it in GitHub Desktop.
Save bsadeh/f25f2be57203ea2f6725 to your computer and use it in GitHub Desktop.
using gatling-sbt 1.0-RC1
sbt.version=0.13.5
import sbt._, Keys._, Tests._
import io.gatling.sbt.GatlingPlugin
object ProjectBuild extends Build {
val libs = Seq(
"mysql" % "mysql-connector-java" % "5.1.26" % "test",
"com.typesafe" % "config" % "1.2.1",
"io.gatling" % "gatling-bundle" % "2.0.0-RC1" % "test" artifacts (Artifact("gatling-bundle", "zip", "zip", "bundle")),
"io.gatling.highcharts" % "gatling-charts-highcharts" % "2.0.0-RC1" % "test",
"io.gatling" % "test-framework" % "1.0-SNAPSHOT" % "test")
lazy val project = Project("atc-load-testing", file("."))
.enablePlugins(GatlingPlugin)
.settings(libraryDependencies ++= libs)
.settings(resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")))
}
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots"))
addSbtPlugin("io.gatling" % "sbt-plugin" % "1.0-RC1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment