jmeter导出提取的值或参数化的值到excel
FileWriter fstream = new FileWriter("D://test//code//companyname.csv", true);
BufferedWriter out = new BufferedWriter(fstream);
out.write( vars.get("gsname")+","+vars.get("address")+","+vars.get("hangye") + "," + vars.get("ziben") +"," + "${qytype}"+"\n");//导出数据 ,${qytype}是参数化的值
out.close();
fstream.close();