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

30 views
Skip to first unread message

Munish Kalra

unread,
Sep 15, 2017, 8:10:28 AM9/15/17
to Gatling User Group
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.

Barry Perez

unread,
Sep 16, 2017, 6:14:23 AM9/16/17
to Gatling User Group
Hi,

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

Thanks,
Barry
Reply all
Reply to author
Forward
0 new messages