Best way to Manage Test Data

Hello Everyone,
I just need to know the best way that i can manage(inject) test data for the performance test within the same execution. Is it better to inject them in Before() method ?

have a great day ahead !


This is what I did

  1. Run the test data setup script
  2. Generate the data in a csv and upload it in S3 bucket.
  3. While running the actual performance script get the data from S3 Bucket.
  4. Have a flag variable in your script to control execution of the setup script

great. Thanks a lot Sri !