krishnenc / gatling-sbt

An sbt template project for writing gatling simulations in eclipse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gatling-sbt

A sbt template project for writing Gatling simulations in Eclipse.

Depends on :

  • gatling 1.4.5

  • sbt 0.12.0

  • Scala 2.9.3-RC1

To generate Eclipse project:

  • sbt eclipse

To run within sbt:

  • sbt run
  • Choose simulation to run
  • Data is generated in the results folder

(n.b Still need to figure out how to fork it correctly with the correct VM options)

To run standalone (with correct VM options):

  • sbt compile

  • export JAVA_OPTS="-XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms512M -Xmx512M -Xmn100M -Xss1024k -XX:+HeapDumpOnOutOfMemoryError -XX:+AggressiveOpts -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly"

  • sbt stage

  • target/start Engine

About

An sbt template project for writing gatling simulations in eclipse

License:MIT License


Languages

Language:Scala 100.0%