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(); 

 

 

posted on 2021-12-31 11:47  爆炸头  阅读(65)  评论(0编辑  收藏  举报

导航