As far as I understand your question, you need the following:
- Read all values from a CSV file
- For the first iteration stream of the first 10 entries
- For the second stream of iteration of the second 10 entries
- etc..
, :
- - , , ..
- Beanshell Sampler - CSV JMeter
- 1 ( 1- )
- 2 ( )
- ...
>
Beanshell Script:
BufferedReader br = new BufferedReader(new FileReader("/path/to/your/file.csv"));
String line;
int counter = 1;
while ((line = br.readLine()) != null) {
vars.put("VAR_" + counter, line);
counter++;
}
br.close();
file.csv JMeter Variables, :
VAR_1=first line of your CSV file
VAR_2=second line of your CSV file
VAR_3=....
1
, - 1- , :
${__threadNum}==1
ForEach 1
, 1- 10 CSV, ForEach 1 :
- :
VAR - :
0 - :
10 - : - , ..
CURRENT_VAR
HTTP- 1
${CURRENT_VAR}, .
, .
: