Jmeter CSVRead function

 
1, to dynamically generate data using the function JMeter, more commonly used is CSVRead function
      can not remember the name, then Ctrl + F function can call the assistant. When using this function points to note, first encoding format csv file, 
      use ansi no problem, the first row of data when using unicode will read errors;

 
    {__CSVRead (data.txt, 0)} - read the corresponding value in the first column

    {__CSVRead (data.txt, 0)} - read the corresponding value in the first column

    __C { SVRead (data.txt,. 1)} {__ $ CSVRead (data.txt, Next)} - read the corresponding value in the second column , and the row index to the next line

   JMeter test proved to be well synchronized in a multithreaded environment calls the method above is no problem; 
   and finally, to modify the number of threads JMeter will accelerate the speed of data generated, the principle is that when concurrent threads at about 20 times to reach maximum throughput
   Throughput (request / min),  so it should set the number of threads 20.

Guess you like

Origin www.cnblogs.com/xly22/p/11375456.html