import java.io.BufferedReader;
import java.io.FileReader;
BufferedReader br=new BufferedReader(new FileReader("D:\\Jmeter\\test.csv"));
String tmpStr="";
int rowCount_cb=0;
while(tmeStr=br.readLine()!=null){
rowCount_cb++;
}
rowCount_cb=rowCount_cb-1;
vars.put("rowCount_cb",String.valueOf(rowCount_cb));
log.info("CSV文件行數(shù):"+rowCount_cb);