How to pick multiple rows from csv feeder in each session

Hi,

I searched in the group for a solution but I haven’t found one so post the question here.

I have a csv file with 50,000 rows, and with header such as ID NAME.

My load test needs in each session, to randomly pick 10 rows, to add them into a collection such as Array of Maps, them use the Array of Maps to construct my request body for the POST call.

I know how to get one row randomly from the feeder but don’t know how to get 10 rows randomly for each session.

Any sample code to do it?

Thanks.

Eric

See doc, first note: http://gatling.io/docs/2.1.4/session/feeder.html#feeders

Thanks Stephane.