Feeder for a list or an array

Hello everyone,

I would like to know if it is possible to use a feeder for a list or an array.
In my request I have:


1
2
3


I have a feeder (from a JDBC table) for all possible values of “arg”, the size of is defined before the post. how could I use the feeder for all ?

val scn  = scenario("xxx").repeat(1){
  feed(myFeeder)
   .exec(
   http("Inject").post("<xxxx>")
   .headers(Myheaders)
   .body(<myRequest>)
}

It takes the same value for all <arg>
If I repeat the feeder (as I did when I had several different feeders):

feed(myFeeder).feed(myFeeder).feed(myFeeder)
it still takes the same value for all <arg>

Now I'm trying to use a loop of feeder.apply(int) and creating a String, then put this String to my request.

Is there a better way to use feeder for such an example?
Thanks a lot,

Grace

Note:
feed(feeder, int) works.

But the value is not unique…
Is it possible to feed all values in a file to the request?

=> FOO BAR
foo1 bar1
foo2 bar2
foo3 bar3

Is it possible to inject bar1 bar2 and bar3
to
FOO
FOO
FOO

as
bar1
bar2
bar3
(no double value for each arg)?

thanks a lot!