Assigning injection profile to a value

Is there a way to assign an injection profile to a value?

// not sure of base type
val tenToOneThousandToTenThousand = {
      rampUsersPerSec(1) to(10) during(10 minutes),
      constantUsersPerSec(10) during(20 minutes),
      rampUsersPerSec(10) to(1000) during(10 minutes),
      constantUsersPerSec(1000) during(10 minutes),
      rampUsersPerSec(1000) to(10000) during(10 minutes)
}

setUp(scn.Inject(tenToOneThousandToTenThousand) ....

Thanks

Aidy

inject is overloaded and can take an Iterable, for example a Seq.

val tenToOneThousandToTenThousand = Seq(…, …, …)

Thanks both - I was actually in need of this to cut down simulation complexity somewhat, but hadn’t got around to looking into it yet.

Cheers,
Barry