标签:ack ++ div str jmeter exception src row nta
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; String rowNum1; int rowNum=0; try{ BufferedReader br=new BufferedReader(new FileReader("E:\\Git\\Documentation\\111.csv")); String tmpStr=""; while((tmpStr=br.readLine())!=null) { rowNum++; } rowNum=rowNum-1; } catch (IOException ioe) { ioe.printStackTrace(); } vars.put("rowNum",String.valueOf(rowNum)); //log.info("文件行数:"+rowNum);
标签:ack ++ div str jmeter exception src row nta
原文地址:https://www.cnblogs.com/xiaoxitest/p/9712429.html