Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build the plugin using sbt #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ Gatling AMQP support
- but using 'io.gatling.amqp' for FQCN to deal with 'private[gatling]', sorry.
- inspired by https://github.com/fhalim/gatling-rabbitmq (thanks!)

Installation
============

Locally, build and add the plugin into the lib directory of Gatling home.

Checkout the code, and build the plugin using sbt

$ sbt assembly

Copy the generated jar into the Gatling library directory

$ cp target/scala-2.11/gatling-amqp-assembly-{VERSION}.jar ${GATLING_HOME}/lib

Usage
=====
Expand Down
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ libraryDependencies += "io.gatling.highcharts" % "gatling-charts-highcharts" % g
libraryDependencies += "io.gatling" % "gatling-test-framework" % gatlingVersion
libraryDependencies += "com.rabbitmq" % "amqp-client" % "3.5.3"
libraryDependencies += "pl.project13.scala" %% "rainbow" % "0.2"

// for the gatling lib
assemblyOption in assembly := (assemblyOption in assembly).value
.copy(includeScala = false)
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("io.gatling" % "gatling-sbt" % "2.1.6")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.4.0")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3")