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