title: Read multiple rows from a csv file using StringFromFile function in JMeter
body: <p>Trying to read a new row from the data file using StringFromFile function. 
  Below is my code and data file. </p>
  
  <pre><code>int numOfTransactions = Integer.parseInt(vars.get("POS_TRANSACTION_NUM"));
      for(int i=0; i&lt;numOfTransactions;i++){
          addOneMessage(${_StringFromFile(data//external_50k.txt)});
          log.info("${_StringFromFile(data//external_50k.txt,,,)}");
      }
  </code></pre>
  
  <p>external_50k.txt:</p>
  
  <pre><code>10000
  10001
  10002
  10003
  10004
  10005
  ..
  50000
  </code></pre>
  
  <p>And <code>numOfTransactions = 3</code>. </p>
  
  <p>So for loop will loop 3 times and I want to read and pass 10000, 10001 and 10002 in addOneMessage function and next time read 10004, 10005 and 10006...till the file with 50000 rows is exhausted. </p>
  
  <p>However, currently StringFromFile does not read new row. 10000 is passed to addOneMessage 3 times </p>
  
  <p>So, it is like below:</p>
  
  <pre><code>10000
  10000
  10000
  10001
  10001
  10002
  10003
  </code></pre>