jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <>
Subject Re: FileName in CSVDataSet
Date Wed, 15 Feb 2017 14:45:02 GMT
Hi Maxime,
I'm not sure we should do that.
1/ Usually vars are supposed to be different per  User. Otherwise
Properties should be used.
So if they are different, that would mean we could end up opening 1 file
per Thread. If var changes a lot, we could potentially run out of File

2/ More importantly,  As user could think that they can use whatever
variable in file name, they  could be surprised that it only works in some
cases where var is defined before we enter the loop where CSV is
Explaining this behaviour will be too complex IMO

What is the use case you have and why don't you use ${__P(property passed
in command line )}?

On Wed, Feb 15, 2017 at 10:58 AM, Maxime Chassagneux <> wrote:

> Hi,
> I have a scenarii which need to make variable the filename field of a
> CSVDataSet element.
> Actually, this field is computed during the preparation of the test and
> only permit to use function or User Defined Variables and I actually need
> to access to a thread variable.
> As the file is only open during the "iterationStart" method we have access
> to all JMeterVariable and I would like to know if it's a good change to
> permit to make variable this field ?
> Thank you for your feedback.

Philippe Mouawad.

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