Here is my JMeter setup:
- testing web services
- distrbiuted testing, 1 master, 20 slaves (potentially 100 if we decide to go with blazemeter)
- a file containing testdata, integer per line see [1] for an example
- a thread group with 20 users (20x20=400 requests)
- CSV Data Set Config, with
\n
as separator
[1] Example of testdata file, each line represents an id
that will be used as Web Service parameter:
23
8677
10029
29957
1001
My question is: how to distribute the data amoung the slaves so that each machine will use distinct part of the testfile and select test data items in a random manner? One way would be to split the test file into separat parts, but is it possible to make it more dynamic? I am thinking towards "machine x will read lines 0-20, machine y 21-40 and so on". In the answer to this question it is mentioned that CSVs are local, but it is possible to dynamically read different lines of the csv?