Is it possible to inject/run a collection of injection steps? These steps would be dependent on the type of performance test? e.g. if the type of test is a load test, an implementing factory class would return a collection containing atOnceUsers and rampUsers.
On contrary to Scala methods, current Java ones only accept a varargs/array, see gatling/ScenarioBuilder.java at v3.9.0 · gatling/gatling · GitHub
So you’ll have to turn your Collection into an array.
New methods will be introduced in 3.10.0, see Core: Introduce injectOpen and injectClosed overrides that take List (Java) · Issue #4383 · gatling/gatling · GitHub
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.