I have to loop over the csv until the end of file is reached. Is there something like:
while(feeder.hasNext) {}
Thanks!
Gautam
I have to loop over the csv until the end of file is reached. Is there something like:
while(feeder.hasNext) {}
Thanks!
Gautam
Will something like this help?
`
val records = csv(“foo.csv”).records
foreach(records, “record”) {
exec(flattenMapIntoAttributes("${record}"))
}
`
source : http://gatling.io/docs/2.1.6/session/feeder.html#non-shared-data