You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Sumit Shah <sh...@yahoo-inc.com> on 2006/05/21 00:25:48 UTC

Enhancement request 39580 (disable csv file restart)

Dear JMeter-Devs:

I have submitted a patch tied to the following Bugzilla ticket:

http://issues.apache.org/bugzilla/show_bug.cgi?id=39580

I was wondering if this can be committed, if you found this patch to be
of suitable quality and use.  This patch makes it easier to detect if
you have reached the end of a CSV file by returning nulls once the end
has reached.

Thanks Jmeter developers.


Sumit

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Re: Enhancement request 39580 (disable csv file restart)

Posted by sebb <se...@gmail.com>.
I've just tested, and when a variable is given the value null, it is
as if the variable does not exist.

The value that is returned is the original variable reference, i.e. ${VAR}.

I can't see how to use that easily - for example, the obvious way to
code the If Controller condition would be:

"${VAR}" != "${VAR}"

which is never true.

To avoid both variables being replaced one could use

"${VAR}" != "$"+"{VAR}"

but that is not as easy as

"${VAR}" != "<EOF>"

So I will add the function, but set the string to <EOF>.
[This will be overridable by a property, but this won't allow null]

S///b
On 21/05/06, sebb <se...@gmail.com> wrote:
> I've started working on this.
>
> The patch is a good idea, and is fine.
> [Though some unnecessary differences seem to have crept in]
>
> The one reservation I have is that I'm not sure it should return nulls
> at the end of file - is it not easier to detect a fixed string, e.g.
> <EOF> ?
>
> S.
> On 20/05/06, Sumit Shah <sh...@yahoo-inc.com> wrote:
> > Dear JMeter-Devs:
> >
> > I have submitted a patch tied to the following Bugzilla ticket:
> >
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=39580
> >
> > I was wondering if this can be committed, if you found this patch to be
> > of suitable quality and use.  This patch makes it easier to detect if
> > you have reached the end of a CSV file by returning nulls once the end
> > has reached.
> >
> > Thanks Jmeter developers.
> >
> >
> > Sumit
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Re: Enhancement request 39580 (disable csv file restart)

Posted by sebb <se...@gmail.com>.
I've started working on this.

The patch is a good idea, and is fine.
[Though some unnecessary differences seem to have crept in]

The one reservation I have is that I'm not sure it should return nulls
at the end of file - is it not easier to detect a fixed string, e.g.
<EOF> ?

S.
On 20/05/06, Sumit Shah <sh...@yahoo-inc.com> wrote:
> Dear JMeter-Devs:
>
> I have submitted a patch tied to the following Bugzilla ticket:
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39580
>
> I was wondering if this can be committed, if you found this patch to be
> of suitable quality and use.  This patch makes it easier to detect if
> you have reached the end of a CSV file by returning nulls once the end
> has reached.
>
> Thanks Jmeter developers.
>
>
> Sumit
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org