You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by aidy lewis <ai...@googlemail.com> on 2007/06/20 11:42:50 UTC
comments in csv data files?
Hi,
I am using the CSV Data set config element to read in script values.
However, I would like to enter a descriptive line (e.g. header) in these files.
Is this possible?
;url, username, password
www.aidy.com a_user a_password
Aidy
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: comments in csv data files?
Posted by "Stevens, S." <S....@eneco.nl>.
Hi Aidy,
No, it is the first item in the thread group in my case. Even better: it
is the only item in the root of the thread group.
Sander
-----Oorspronkelijk bericht-----
Van: aidy lewis [mailto:aidy.lewis@googlemail.com]
Verzonden: woensdag 20 juni 2007 12:28
Aan: JMeter Users List
Onderwerp: Re: comments in csv data files?
Hi Sander,
On 20/06/07, Stevens, S. <S....@eneco.nl> wrote:
> What I do to solve this is the following:
>
> My csv looks like this:
>
> Execute? Name Address Place
> Y Jack Freeroad LA
> N Tom Holroad NY
> Y Georg Twonroad SFO
>
> In the jmeter script I start with an if statement:
> IF '${execute}' == 'Y'
> And the rest of the script will be executed if there is a Y in the
> first column of the csv. If there is no Y in the first column it will
> ignore the line and continue with the next one.
>
Are you writing the conditional statement in the beanshell
pre-processor.
Aidy
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: comments in csv data files?
Posted by aidy lewis <ai...@googlemail.com>.
Hi Sander,
On 20/06/07, Stevens, S. <S....@eneco.nl> wrote:
> What I do to solve this is the following:
>
> My csv looks like this:
>
> Execute? Name Address Place
> Y Jack Freeroad LA
> N Tom Holroad NY
> Y Georg Twonroad SFO
>
> In the jmeter script I start with an if statement:
> IF '${execute}' == 'Y'
> And the rest of the script will be executed if there is a Y in the first
> column of the csv. If there is no Y in the first column it will ignore
> the line and continue with the next one.
>
Are you writing the conditional statement in the beanshell pre-processor.
Aidy
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: comments in csv data files?
Posted by "Stevens, S." <S....@eneco.nl>.
What I do to solve this is the following:
My csv looks like this:
Execute? Name Address Place
Y Jack Freeroad LA
N Tom Holroad NY
Y Georg Twonroad SFO
In the jmeter script I start with an if statement:
IF '${execute}' == 'Y'
And the rest of the script will be executed if there is a Y in the first
column of the csv. If there is no Y in the first column it will ignore
the line and continue with the next one.
Cheers,
Sander
-----Oorspronkelijk bericht-----
Van: sebb [mailto:sebbaz@gmail.com]
Verzonden: woensdag 20 juni 2007 11:51
Aan: JMeter Users List
Onderwerp: Re: comments in csv data files?
Sorry, this is not currently possible.
Feel free to create a Bugzilla enhancement request.
On 20/06/07, aidy lewis <ai...@googlemail.com> wrote:
> Hi,
>
> I am using the CSV Data set config element to read in script values.
> However, I would like to enter a descriptive line (e.g. header) in
> these files. Is this possible?
>
> ;url, username, password
> www.aidy.com a_user a_password
>
> Aidy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: comments in csv data files?
Posted by sebb <se...@gmail.com>.
Sorry, this is not currently possible.
Feel free to create a Bugzilla enhancement request.
On 20/06/07, aidy lewis <ai...@googlemail.com> wrote:
> Hi,
>
> I am using the CSV Data set config element to read in script values.
> However, I would like to enter a descriptive line (e.g. header) in these files.
> Is this possible?
>
> ;url, username, password
> www.aidy.com a_user a_password
>
> Aidy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org