Reputation: 155
Is it possible to have more than one CSV file for a Single sampler?
I mean, I want to read values from a text file & a CSV file simultaneously for a single JMS request.
Could it be possible?
Upvotes: 0
Views: 2096
Reputation: 12873
Well, simply add one more CSV Data Set Config to read values from another csv-file (if you use this component to read from csv) or use several calls of __StringFromFile function (or even 1 call to read from several files).
Your schema may look like:
...
CSV Data Set Config
Filename: list_A.csv
Variable Names: paramA1,paramA2,...
CSV Data Set Config
Filename: list_B.csv
Variable Names: paramB1,paramB2,...
JMS Sampler
// use here params from both csv-files as ${paramA1},${paramB1},...
...
Upvotes: 1