Random selection from CSV file in Jmeter

前端 未结 6 1760
借酒劲吻你
借酒劲吻你 2021-02-07 06:38

I have a very large CSV file (8000+ items) of URLs that I\'m reading with a CSV Data Set Config element. It is populating the path of an HTTP Request sampler and iterating throu

6条回答
  •  逝去的感伤
    2021-02-07 07:11

    There is another way to achieve this:

    • create a separate thread group
    • depending on what you want to achieve:
      • add a (random) loop count -> this will set a start offset for the thread group that does the work
      • add a loop count or forever and a timer and let it loop while the other thread group is running. This thread group will read a 'pseudo' random line

    It's not really random, the file is still read sequentially, but your work thread makes jumps in the file. It worked for me ;-)

提交回复
热议问题