Re: AccessLogSampler doesn't take variable for logFile

2012-09-12 Thread sebb
On 22 August 2012 22:13, Woonsan Ko  wrote:
> Hi,
>
> I've tried to use variables for AccessLogSampler. It works with domain or 
> portString as 'stringProp' elements.
> However, it doesn't work for 'logFile' property.

Works for me.

> I have to set a physical path instead.
> I found HttpSamplerBase, the ancestor class of AccessLogSampler, uses 
> #setProperty() instead, unlike AccessLogSampler stores the member directly.
> I guess #setProperty() provides the indirection to resolve the variables.
> Am I in the right track? Then I think we can improve AccessLogSampler in the 
> same way.
>
> Thanks in advance,
>
> Woonsan
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>

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



AccessLogSampler doesn't take variable for logFile

2012-08-22 Thread Woonsan Ko
Hi,

I've tried to use variables for AccessLogSampler. It works with domain or 
portString as 'stringProp' elements.
However, it doesn't work for 'logFile' property. I have to set a physical path 
instead.
I found HttpSamplerBase, the ancestor class of AccessLogSampler, uses 
#setProperty() instead, unlike AccessLogSampler stores the member directly.
I guess #setProperty() provides the indirection to resolve the variables.
Am I in the right track? Then I think we can improve AccessLogSampler in the 
same way.

Thanks in advance,

Woonsan


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