What is , How to Use & Things to Pay Attention
If you are planning to use CSV data and require more than one engine for your test, and if you want each engine to use unique values from the .csv file, you can use Split CSV feature. What Split CSV does is, it divides .csv files to engine count (2 engine count will divide the csv file in half), so that each engine will have different segment of the .csv, thus engines will have unique data.
Let's take a look at the following example:
We want to use 10 engines, each with 500 threads, 5.000 threads in total, and you have uploaded .csv file with 5.000 user data. If you want different user data to be sent to each engine and if you select the "Split CSV" option, the CSV will be divided into 10 and different segments of the file will be sent to each engine.
If your test scenario has login, and multiple logins of same user will drop each other's session, it is crucial to have unique data on each engine.
Engine count cannot be higher than .csv file's column amount.
First upload your CSV file from the ‘Upload’ field. After activating the Split CSV field below, you select your CSV file that needs to be split.
You can split multiple csv's:
The path of the .csv file should only be name of the file (Absolute path should be given).
/MyUsername/MyDocuments/users.csv ==>> users.csv
- The file extension should be .csv (not txt, excel etc.).
- Variable Names fields should be given as they are separated in the file.
- Delimiter part to indicate how you separate your parameters in csv.
You can see an example below.
That's all for Split CSV :)