To get the most out of Gatling integration with Tricentis Flood you will need to use our custom protocol configuration httpConfigFlood
import scala.concurrent.duration._import io.gatling.core.Predef._import io.gatling.http.Predef._import io.gatling.jdbc.Predef._// Mandatory, you must import Flood librariesimport flood._class TestPlan extends Simulation {// Optional, Flood will pass in threads, rampup and duration properties from UIval threads = Integer.getInteger("threads", 10)val rampup = Integer.getInteger("rampup", 10).toLongval duration = Integer.getInteger("duration", 15).toLong// Mandatory, you must use httpConfigFloodval httpProtocol = httpConfigFlood.baseURL("http://google.com/").acceptHeader("text/html,application/xhtml+xml,application/xml;").acceptEncodingHeader("gzip, deflate")val scn = scenario("Scenario Name").exec(http("first_page").get("/")).pause(1000 milliseconds, 5000 milliseconds)setUp(scn.inject(ramp(10 users) over (60 seconds))).protocols(httpProtocol)}