I'm concerned with work of CSV Data Set Config along JMeter
rules set with scoping rules and execution order.
For CSV Data Set Config it is said "Lines are read at the start of each test iteration.". At first I thought that talks about threads, then I've read Use jmeter to test multiple Websites where config is put inside loop
controller
and lines are read each loop iteration. I've tested with now 5.1.1 and it works. But if I put config
at root of test plan, then in will read new line only each thread
iteration. Can I expect such behaviour based on docs only w/out try-and-error? I cannot see how it flows from scoping
+exec order
+docs on csv config element
. Am I missing something?
I would appreciate some ideas why such factual behaviour is convenient and why functionality was implemented this way.
P.S. how can I read one line cvs to vars at start of test and then stop running that config to save CPU time? In 2.x version there was VariablesFromCSV config for that...