Skip to content

Instantly share code, notes, and snippets.

@sadikovi
sadikovi / SystemSimulation.scala
Created February 25, 2015 09:23
Example of Gatling scenario that uses complex authentication with response processing (asking for auth-token, encrypting it, sending back, verifying logon). Each "browsing" request is sent, and based on response several sub-requests are generated, imitating drill-down into some piece of data on a website.
package systemsimulation
import io.gatling.core.Predef._
import io.gatling.core.session._
import io.gatling.http.Predef._
import scala.concurrent.duration._
import general._
class SystemSimulation extends Simulation {
// configure proxy