Created
April 20, 2023 10:12
-
-
Save aartajew/3c4068330df9798862bd803e901f14f9 to your computer and use it in GitHub Desktop.
Gatling > Round-robin over a sequence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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