jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garvita <garvita.me...@tcs.com>
Subject Re: actual usage of Bean shell scripting in jmeter with example
Date Thu, 27 Jan 2011 12:39:17 GMT

I have used Beanshell Post Processor to store dynamically generated values in
a text file. 
Here in this case I have extracted the "REFID" value using Regular
Expression Extractor and these value is stored in ids.txt placed at
C:\\Report folder as:

output = vars.get("REFID");

log.info(output); 


f = new FileOutputStream("C:\\Report\\id.txt");

p = new PrintStream(f);

this.interpreter.setOut(p);

print(output);



-- 
View this message in context: http://jmeter.512774.n5.nabble.com/actual-usage-of-Bean-shell-scripting-in-jmeter-with-example-tp3358087p3359633.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message