nested loop with file1.csv and file2.csv in jmeter

后端 未结 1 1344
北恋
北恋 2021-01-13 23:06

I am using Apache JMeter and I need to run function call in 2 nested loops driven by csv datafiles. There is similar Q&A at How to implement nested loop in jmeter? but i

1条回答
  •  礼貌的吻别
    2021-01-13 23:18

    If you are looking for detailed steps, please check here.

    http://www.testautomationguru.com/jmeter-looping-2-csv-files/


    I tried & it seems to work - Please check below snapshot for details.

    CSV Data set Config 1 reads a csv file - the var ref name is 'vara'. it has 10 rows , 1-10

    CSV Data set Config 2 reads another csv file , contains 3 rows a, b c - and the var ref name is 'varb'. 'Allow ReCycle on EOF?' is set to True.

    Thread Loop Count is for CSV Data set Config 1
    Inner Loop Controller's loop count is for CSV Data set Config 2

    enter image description here

    0 讨论(0)
提交回复
热议问题