length is not a member of io.gatling.core.feeder.RecordSeqFeederBuilder


I’m trying to upgrade my Scenarios from 2.0 to 2.1 and I’m having the issue :

“length is not a member of io.gatling.core.feeder.RecordSeqFeederBuilder”

My Working Scenario in Gatling 2.0 is as follow :

val queries = csv(“queries.csv”);
val nbQuery = queries.length;

.repeat(nbQuery) {


What I want is to execute all requests defined in queries.csv

Any idea on how to migrate that in 2.1.1 ?



Mmmm, what do you mean by “Gatling 2.0” exactly?
I doubt you’ve been using a stable version, i.e. from 2.0.0 to 2.0.3.

The code is from 2.0.0-M3a and works like a charm.

I would like the length of the csv feeder for the repeat loop and also for the assertions as I used to expect scenario duration = feeder.length * 2 sec




queries.records.length works great !

Thank you very much