Mainflux.mainflux/load-test/build.sbt

19 lines
620 B
Plaintext
Raw Normal View History

MF-134 - Evaluate system's performance (#225) * Add initial load tests Add initial load tests for client creation and message publishing. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Make load tests executable as stand-alone application Move code from test to main. Make code runnable with sbt run command. Remove unnecessary config files. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add native packager support Add native packager plugin. Update sbt config to support native packager. Update paths in Engine.scala. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Move files back to test folder and remove native packager support Remove nativa packager plugin. Add gatling plugin and move files to test folder where they belong. Read vars from JAVA_OPTS instead of environment variables. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add readme file for load tests Add readme file for load tests with usage instructions. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add number of requests per second as test parameter Add number of requests per second as parameter. Update read me according to this addition. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add load test section in docs Create documentation skeleton for load tests. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Reformat logger config file Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Update documentation skeleton Move results section to scenarios. Move test environment to intro. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Align test version with mainflux version Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Update mainflux version to 0.2.2 Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2018-04-23 21:13:43 +08:00
enablePlugins(GatlingPlugin)
name := "load-test"
version := "0.6.0"
MF-134 - Evaluate system's performance (#225) * Add initial load tests Add initial load tests for client creation and message publishing. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Make load tests executable as stand-alone application Move code from test to main. Make code runnable with sbt run command. Remove unnecessary config files. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add native packager support Add native packager plugin. Update sbt config to support native packager. Update paths in Engine.scala. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Move files back to test folder and remove native packager support Remove nativa packager plugin. Add gatling plugin and move files to test folder where they belong. Read vars from JAVA_OPTS instead of environment variables. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add readme file for load tests Add readme file for load tests with usage instructions. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add number of requests per second as test parameter Add number of requests per second as parameter. Update read me according to this addition. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Add load test section in docs Create documentation skeleton for load tests. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Reformat logger config file Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Update documentation skeleton Move results section to scenarios. Move test environment to intro. Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Align test version with mainflux version Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com> * Update mainflux version to 0.2.2 Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2018-04-23 21:13:43 +08:00
scalaVersion := "2.12.4"
val gatlingVersion = "2.3.1"
val circeVersion = "0.9.3"
libraryDependencies ++= Seq(
"io.gatling.highcharts" % "gatling-charts-highcharts" % gatlingVersion,
"io.gatling" % "gatling-test-framework" % gatlingVersion,
"org.scalaj" %% "scalaj-http" % "2.3.0",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion
)