i'm trying to save my variables into a csv file by using BeanShell Postprocessor, Code:
String id = "${userID}";
FileWriter fstream = new FileWriter("JmeterBean.csv",true);
fstream.write(id+"\n");
fstream.close();
Test Plan:
- HTTP Request GetUsersById => return all IDs
- Json extractor => name of variable userID
- BeanShell Postprocessor
But my csv file is always empty and look like that:
Aucun commentaire:
Enregistrer un commentaire