Dynamic feeder population during simulation

Hi @Vadam,

As explained in the first part of the Feeder documentation, Feeder is merely a rebrand of an Iterator<Map<String, Object>>.
So you may implement one yourself.

For your specific use case, you may want that such an implementation rely on a global variable shared by your current scenario and another scenario that refresh the token when needed.
In your “user” scenario, before each request that requires this token, you may want to feed it (to be sure to be up to date).

In the other hand, it means that your tokens are not linked to a user, so maybe manipulating directly the global variable may be more suitable.
Did you read the topic about that and the wonderful implementation by @GeMi?

Cheers!

2 Likes