Skip to content

Instantly share code, notes, and snippets.

@aartajew
Created April 20, 2023 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aartajew/3c4068330df9798862bd803e901f14f9 to your computer and use it in GitHub Desktop.
Save aartajew/3c4068330df9798862bd803e901f14f9 to your computer and use it in GitHub Desktop.
Gatling > Round-robin over a sequence
package util
import io.gatling.commons.util._
object RoundRobin {
def apply[T](values: IndexedSeq[T]) = CircularIterator(values = values, threadSafe = true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment