How do I increment a UUID gatling feeder
I prefer using the Iterator.continually helper instead like so:
object UuidFeeder {
val feeder = Iterator.continually(Map("uuid" -> java.util.UUID.randomUUID.toString()))
}
usage would be the same as before.. hope it helps :)
// Usage
//
// scenario("My Scenario")
// .feed(UuidFeeder.feeder)
// .exec(http("MyCall"))
// ...// rest of code
Your code looks fine to me and should generate different UUIDs for each virtual user every time they reach the feed action.