All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.gatling.profile.ProfileConfig.scala Maven / Gradle / Ivy

The newest version!
package ru.tinkoff.gatling.profile

import io.gatling.core.Predef.scenario
import io.gatling.core.structure.ScenarioBuilder

trait ProfileConfig {
  val name: String
  val profile: Seq[RequestConfig]

  def toRandomScenario: ScenarioBuilder = scenario(name)
    .randomSwitch(profile.map(requestConfig => requestConfig.toTuple): _*)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy