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: [email protected]
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]

Reply via email to