Yeah on checking the JMeter log, it says FAILED TO READ THE FILE ...

Is there a problem in the file path being given?

Ex: D:\Test_Scripts\input.csv

Or is there any other reason why the file is not being read.

The input csv file is of this format 

User1,pass1
User2,pass2

If we do not specify the Delimiter is there any problem as such.

I am totally lost....

Thanks in advance,

Regards,
Chetana





-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 30, 2005 5:04 PM
To: JMeter Users List
Subject: Re: CSV data set config

Check jmeter.log

On 30/11/05, Chetana Anand <[EMAIL PROTECTED]> wrote:
>
> Yup..used the curly braces..
>
> -----Original Message-----
> From: Bryn Evans [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 30, 2005 4:58 PM
> To: JMeter Users List
> Subject: RE: CSV data set config
>
> Are you using normal brackets() or curly {}.  You need the curly ones I
> think.
>
> -----Original Message-----
> From: Chetana Anand [mailto:[EMAIL PROTECTED]
> Sent: 30 November 2005 11:21
> To: JMeter Users List
> Subject: RE: CSV data set config
>
>
>
> The contents of the file cannot be read(so can't be printed on the
> console).. It is jus printing the "$(username)" and not the actual value.
>
> -----Original Message-----
> From: Bryn Evans [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 30, 2005 4:32 PM
> To: JMeter Users List
> Subject: RE: CSV data set config
>
> >> My doubt is whether "user defined variable" pre-processor has to be
used
> and
> >> how.
>
> No, it doesn't.
>
> When you say it doesn't work, what actually happens?
>
> -----Original Message-----
> From: Chetana Anand [mailto:[EMAIL PROTECTED]
> Sent: 30 November 2005 11:00
> To: JMeter Users List
> Subject: RE: CSV data set config
>
>
>
> I tried what was mentioned. It doesn't work.
> I jus have a CSV file with values for username and password. So my
variables
> will be "username,password" right? The default delimiter will be ','. I am
> using a Bean Shell sampler to print them.
> My doubt is whether "user defined variable" pre-processor has to be used
and
> how.
> Thanks in advance,
> Chetana
>
> -----Original Message-----
> From: Bryn Evans [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 30, 2005 4:06 PM
> To: JMeter Users List
> Subject: RE: CSV data set config
>
> The variables names are used to refer to the data fields being read from
> each record in the CSV file.  Therefore if you have 3 fields in the CSV
> file, you need 3 variable names in the "Variable Names (comma delimited)"
> field of the CSV Data Set Config element.  As it says, the variable names
> must be separated by a comma.
>
> So, for example, you may have: Test case name, InputA, InputB.
>
> You use the variables with ${variable name}, for example ${Test case
name}.
>
> The character used to separate the fields in your CSV file must be entered
> into the "Delimiter" field of the CSV Data Set Config element.  I always
use
> comma, and that it the default value in the "Delimiter" field.
>
> Hope this helps.  It really is quite easy, honest.
>
> Bryn.
>
> -----Original Message-----
> From: Chetana Anand [mailto:[EMAIL PROTECTED]
> Sent: 30 November 2005 10:23
> To: jmeter-user@jakarta.apache.org
> Subject: CSV data set config
>
>
>
> Hi
>
> I wanted to know how exactly CSV data set config is used. What should be
> filled in for variables and delimiters?
>
>
>
> Thanks,
>
> Chetana
>
>
>
>
>
>
>
> **********************************************************
>
> The information contained in, or attached to, this e-mail, contains
> confidential information and is intended solely for the use of the
> individual or entity to whom they are addressed and is subject to legal
> privilege. If you have received this e-mail in error you should notify the
> sender immediately by reply e-mail, delete the message from your system
and
> notify your system manager. Please do not copy it for any purpose, or
> disclose its contents to any other person. The views or opinions presented
> in this e-mail are solely those of the author and do not necessarily
> represent those of the company. The recipient should check this e-mail and
> any attachments for the presence of viruses. The company accepts no
> liability for any damage caused, directly or indirectly, by any virus
> transmitted in this email
>
> ************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> **********************************************************
>
> The information contained in, or attached to, this e-mail, contains
> confidential information and is intended solely for the use of the
> individual or entity to whom they are addressed and is subject to legal
> privilege. If you have received this e-mail in error you should notify the
> sender immediately by reply e-mail, delete the message from your system
and
> notify your system manager. Please do not copy it for any purpose, or
> disclose its contents to any other person. The views or opinions presented
> in this e-mail are solely those of the author and do not necessarily
> represent those of the company. The recipient should check this e-mail and
> any attachments for the presence of viruses. The company accepts no
> liability for any damage caused, directly or indirectly, by any virus
> transmitted in this email
>
> ************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> **********************************************************
>
> The information contained in, or attached to, this e-mail, contains
> confidential information and is intended solely for the use of the
> individual or entity to whom they are addressed and is subject to legal
> privilege. If you have received this e-mail in error you should notify the
> sender immediately by reply e-mail, delete the message from your system
and
> notify your system manager. Please do not copy it for any purpose, or
> disclose its contents to any other person. The views or opinions presented
> in this e-mail are solely those of the author and do not necessarily
> represent those of the company. The recipient should check this e-mail and
> any attachments for the presence of viruses. The company accepts no
> liability for any damage caused, directly or indirectly, by any virus
> transmitted in this email
>
> ************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> **********************************************************
>
> The information contained in, or attached to, this e-mail, contains
confidential information and is intended solely for the use of the
individual or entity to whom they are addressed and is subject to legal
privilege. If you have received this e-mail in error you should notify the
sender immediately by reply e-mail, delete the message from your system and
notify your system manager. Please do not copy it for any purpose, or
disclose its contents to any other person. The views or opinions presented
in this e-mail are solely those of the author and do not necessarily
represent those of the company. The recipient should check this e-mail and
any attachments for the presence of viruses. The company accepts no
liability for any damage caused, directly or indirectly, by any virus
transmitted in this email
>
> ************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



**********************************************************

The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email

************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to