QueryParam and feeder

Hello,

I have a request where I can have the same param with different values :

`

val towns = csv("towns.csv").random

.queryParam(“selectedTowns”, “LUX”)
.queryParam(“selectedTowns”, “STR”)
.queryParam(“selectedTowns”, “BXL”)
.queryParam(“selectedTowns”, “EXT”)

`

However, I would like to use my csv file (towns.csv) not to repeat queryParam attribute

Thanks
Hassen

Info :

Gatling version : 2.1.4

Have you looked into feeders. Look here and here to get started.

.feed(towns)
.exec(http("...")
.get("""...""")
   .queryParam("selectedTowns","${selectedTowns}")