Tip #2 Be very careful about your iteration and data structure
Assume you have a very strict flow as below and you add a CSV Data Set Config to it. JMeter will only run the first line of the CSV file even if you have thousands of iteration in your Thread Group.
Why? Because JMeter opens the file every time a new iteration starts. That’s why only the first line will be used in your test. So you need to loop through the file as below. Therefore, during the test runs, JMeter opens the file and iterates through the data. Request of consuming the data will execute different parameters.
Tip #3 CSV Configuration
Your CSV Config has 3 configurations in it.
Recycle on EOF: In case it’s set to true when JMeter reaches the end of the file, it will go to the beginning and iterate the CSV file.
Stop Thread on EOF: Thread will stop its execution when JMeter reaches the end of the file. In case you have 20 iterations in a loop and 10 lines of data, JMeter will stop the execution at 10th request. So it will override the iteration number.
Sharing Mode: According to the configuration, you decide whether or not to allow other Thread Groups to use the CSV file.
All these tips we explained will be handy for your test execution. Happy performance testing!