jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Cannot use variables loaded from a preprocessor in 'Write result to file'
Date Tue, 14 Sep 2010 16:52:56 GMT
You'll probably need to use a Bean Shell Listener and write java code to
write to the file.


On Mon, Sep 13, 2010 at 11:50 PM, Sorin Nicolae Ghebarau <
nicolae.ghebarau@computaris.com> wrote:

> Hi guys,
>
> I hope you can help me on this.
> I have a BeanShell preprocessor that loads some data to Jmeter variables.
> All variables are correctly loaded, I can see them in a Debug Sampler. Then
> I need to save the test results to a path previously loaded by the script,
> something like: ${path}${filename}. The problem is that the test results
> are
> saved to [JmeterHome]/bin/ folder with the filename "${path}${filename}".
> So
> the variables are not interpreted by Jmeter.
>
> If the variables are statically configured as user defined variables,
> everything works fine. Is this a bug/limitation or I do something wrong?
>
> I use Jmeter version 2.4.
>
> Thanks,
> Sorin
>
>
> This email is subject to Computaris email terms of use:
> http://www.computaris.com/email_terms
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message