How can I write all values extracted via regex to a file?
问题 I've got a piece of regex which I've tested in JMeter using the regexp tester and it returns multiple results (10), which is what I'm expecting. I'm using the Regular Expression Extractor to retrieve the values and I would like to write ALL of them to a CSV file. I'm using the Beanshell Post Processor but I am only aware of a method to write 1 value to file. My script in Beanshell so far: temp = vars.get("VALUES"); // VALUES is the Reference Name in regex extractor FileWriter fstream = new