While working on Jmeter, we often came across situations where multiple files have to be sent to server as an attachment with the HTTP request.
In case, where a single file to be sent to server, below function works fine.
${__FileToString(C:\Users\user\Downloads\data.csv,,)}
However, in case of multiple files, one needs to work in the below manner.
Create a csv with all the file names. See below
Add a CSV Data Set config
