You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by GautamPr <ga...@gmail.com> on 2010/05/25 11:56:28 UTC
CSV dataset config file Name and variables from csv files.
Hi,
I am reading a CSV file by using the Config Element "Variables from CSV
file", which contains the details of the IP Address, Port, UserLoginDetails
file path. I have given filepath variable as an FileName to the config
element "CSV dataset Config".
TST_SYS_IP 10.127.247.222
TST_SYS_PORT 7878
FNAME D:\Login_Credentials.csv
I get an error saying file not found exception.
2010/05/25 15:07:00 ERROR - jmeter.config.CSVDataSet:
java.io.FileNotFoundException: E:\A_WT_LT\WT_LT\'${FNAME}'
I would like to know if this scenario is supported by Jmeter.
--
View this message in context: http://old.nabble.com/CSV-dataset-config-file-Name-and-variables-from-csv-files.-tp28666433p28666433.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: CSV dataset config file Name and variables from csv files.
Posted by sebb <se...@gmail.com>.
On 25/05/2010, Andrey Pohilko <ap...@fininfor.ru> wrote:
> A little bit tricky, but:
> JMeter expands variables (eg ${FILE}) *after* it processes all the Config
> items. I was caught by this time ago, too.
> So you can't use variables in Config items' fields...
>
> Dear gurus, am I wrong?
>
See the coloured box partway down the page:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config
> С уважением,
> Андрей Похилько
>
>
> -----Original Message-----
> From: GautamPr [mailto:gautampriyaranjan@gmail.com]
> Sent: Tuesday, May 25, 2010 1:56 PM
> To: jmeter-user@jakarta.apache.org
> Subject: CSV dataset config file Name and variables from csv files.
>
>
> Hi,
> I am reading a CSV file by using the Config Element "Variables from CSV
> file", which contains the details of the IP Address, Port, UserLoginDetails
> file path. I have given filepath variable as an FileName to the config
> element "CSV dataset Config".
>
> TST_SYS_IP 10.127.247.222
> TST_SYS_PORT 7878
> FNAME D:\Login_Credentials.csv
>
>
> I get an error saying file not found exception.
>
> 2010/05/25 15:07:00 ERROR - jmeter.config.CSVDataSet:
> java.io.FileNotFoundException: E:\A_WT_LT\WT_LT\'${FNAME}'
>
> I would like to know if this scenario is supported by Jmeter.
>
>
> --
> View this message in context:
> http://old.nabble.com/CSV-dataset-config-file-Name-and-variables-from-csv-fi
> les.-tp28666433p28666433.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: CSV dataset config file Name and variables from csv files.
Posted by Andrey Pohilko <ap...@fininfor.ru>.
A little bit tricky, but:
JMeter expands variables (eg ${FILE}) *after* it processes all the Config
items. I was caught by this time ago, too.
So you can't use variables in Config items' fields...
Dear gurus, am I wrong?
С уважением,
Андрей Похилько
-----Original Message-----
From: GautamPr [mailto:gautampriyaranjan@gmail.com]
Sent: Tuesday, May 25, 2010 1:56 PM
To: jmeter-user@jakarta.apache.org
Subject: CSV dataset config file Name and variables from csv files.
Hi,
I am reading a CSV file by using the Config Element "Variables from CSV
file", which contains the details of the IP Address, Port, UserLoginDetails
file path. I have given filepath variable as an FileName to the config
element "CSV dataset Config".
TST_SYS_IP 10.127.247.222
TST_SYS_PORT 7878
FNAME D:\Login_Credentials.csv
I get an error saying file not found exception.
2010/05/25 15:07:00 ERROR - jmeter.config.CSVDataSet:
java.io.FileNotFoundException: E:\A_WT_LT\WT_LT\'${FNAME}'
I would like to know if this scenario is supported by Jmeter.
--
View this message in context:
http://old.nabble.com/CSV-dataset-config-file-Name-and-variables-from-csv-fi
les.-tp28666433p28666433.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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