how to pass unique value from a txt file or a feeder

Hi Guys

I have usernames kept in a separate file. I need to pass these values to my request, but currently, i am able to pass them randomly using scala random utility.

What i need is to pass a unique value every time, as, if not so, it gives 400 error.

any idea how this could be achieved?

Thanx in advance.

Hi,

Suggest checking the docs:

http://gatling.io/docs/current/session/feeder/

The default Gatling behaviour for a feeder is queue - therefore unique values will be used each time you feed.

Thanks,
Barry