Hello, I have a large csv file with users, which is loaded like this:
val userFeeder = tsv("users.csv").circular
and used like this:
val scenario: ScenarioBuilder = scenario("Scenario)
.feed(userFeeder)
.exec(connect)
.....
Is there a way to get only the specific usernames which are loaded from the csv file (depending on the number of users specified) and put them into a map. I do not want to put all usernames from the csv file, but have only the ones which are going to be used by the simulation. I need to perform some additional verifications on the users and then feed the scenario with the map of users, which have been verified. Thanks!
Hi,
Thank you for your response. In general yes, it will be easier, but I need to load test a specific game and not all users are eligible to play it and we have a very large file of users, so it is pretty much impossible to create a new file only with the eligible players. Currently this is handled in the simulation code, but I am exploring other options as well, because we do not want to have these kind of errors in the final report.