On 7 July 2014 15:19, 黄吉浩 <[email protected]> wrote:
> hi, all
> I've write a beanshell sampler to successfully send request to the server by 
> using some APIs offered by some jar packages.
> I've also got the response for every request. The response is a string and I 
> want to collect and save them to a file.
> Now I'm using "log.info(response)" to save the response to the jmeter.log 
> file and then use text editor to extract the response data out.


> Is there a better way? i.e. directly write the output to a file when running 
> multiple threads?

Please read

http://jmeter.apache.org/usermanual/component_reference.html#BeanShell_Sampler

for ways to set the sample result.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to