On 05/05/2009, Noel O'Brien <[email protected]> wrote:
> Hi ,
>
>  Does anyone know if variables in the file paths of HTTP requests are 
> calculated each time the sampler is executed or only once, upon 
> initialisation? I'm trying to use a HTTP sampler in a Loop controller to send 
> a file chunk each time. I use the following path:
>
>  
> ${testplan.root}/data/resources/${medium.3gpp.filename}_${current.chunk.index}
>
>  where ${current.chunk.index} increases each time the Loop Controller 
> interates, but it seems to keep sending the first file chunk, which leads me 
> to believe this is not evaluated each time the sampler is executed.

There is a bug in 2.3.2 - the first file entry does not get re-evaluated.
This has been fixed in SVN.

>  Is there a workaround for this?

Use a dummy first file if you can.

>  --
>  Regards,
>
> Noel
>

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

Reply via email to