Modify feeder during load test is running

Hi Gatling team,

I want to setup two scenarios as below:

S1: requesters post a lot of new records.

S2. assessors load new records and make some changes.

S1 will produce a lot of id from HTTP response, and I want to feed that seq of id into feeder for S2. Does Gatling has API for this purpose?


As explained in the documentation, Feeder is just an Iterator, so you can bring your own implementation: eg an Iterator backed by a ConcurrentLinkedQueue where you would offer and pull records. Beware of S2 going faster than S1 though.