Different data files

Scenario : There are two type of users admin and non-admin. The functionalities are different.

For a test i need to run both users same time. Both users using the same login page. How to feed different data files through the scenario.


Why “the” scenario?
A scenario is the script of a unique user type. You just defined two different user types, so define two different scenarios.
A simulation can manage multiple scenarios.


I wrote a scala function to pass the user type through the argument. And the script will pick the correct user set based on the value. Problem solved.