Skip to content

Instantly share code, notes, and snippets.

@lalo-mx lalo-mx/Sample.scala
Created Aug 21, 2019

What would you like to do?
Test Gatling Tomcat - Sample app
package sample
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration._
class Sample extends Simulation {
val httpProtocol = http
.acceptEncodingHeader("gzip, deflate")
val scn = scenario("Test App")
http("Download data")
setUp(scn.inject(rampUsersPerSec(10) to(50) during (30 seconds)).protocols(httpProtocol));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.