386aebbe51
Introduce examples of scenarios to show how to load test Gerrit using Gatling. This initial examples only include tests over the git protocol, however it is possible to expand the scenarios to mix different protocols (Git, SSH, Http). Feature: Issue 10900 Change-Id: I00927b3b83f45ca852305780f5e67a4272d1ab22
19 lines
552 B
Scala
19 lines
552 B
Scala
import Dependencies._
|
|
|
|
enablePlugins(GatlingPlugin)
|
|
|
|
lazy val gatlingGitExtension = RootProject(uri("git://github.com/GerritForge/gatling-git.git"))
|
|
lazy val root = (project in file("."))
|
|
.settings(
|
|
inThisBuild(List(
|
|
organization := "com.google.gerrit",
|
|
scalaVersion := "2.12.8",
|
|
version := "0.1.0-SNAPSHOT"
|
|
)),
|
|
name := "gerrit",
|
|
libraryDependencies ++=
|
|
gatling ++
|
|
Seq("io.gatling" % "gatling-core" % "3.1.1" ) ++
|
|
Seq("io.gatling" % "gatling-app" % "3.1.1" )
|
|
) dependsOn(gatlingGitExtension)
|