http://jakarta.apache.org/jmeter/usermanual/functions.html#__StringFromFile >pServerParam the actural column name you use inside the >csv file? No its the variable into which the returned value is stored (assuming you want to use this somewhere else in your test as ${pServerParam})
regards deepak On Thu, May 26, 2011 at 9:58 AM, Chian Zhong... <czh...@modeln.com> wrote: > Hi Benedict: > > a side question, in this function > ${__StringFromFile(Server.dat,pServerParam,,)} > is the Server.dat, pServerParam the actural column name you use inside the > csv file? > I'm able to read the value using direct parameter name defined in the csv > data set config, but it is nicer to have a column header in the file. > > Thanks > Chian > > > On Thu, May 26, 2011 at 3:36 AM, <benedict.nk...@sungard.com> wrote: > > > Thank Sebb, it works. > > > > Since I was using CSV Data Set Config for my parameter, I had to define > > the parameter :@${ipAddressParameter} in the test plan level and use the > > ${__StringFromFile(Server.dat,pServerParam,,)} function to read from a > > text file with just the server IP address in it. > > > > Is there a way to use this function to read from a CSV with multiple > > columns using delimiters? > > > > Thanks and kind regards > > Benedict Nkosi > > Performance Tester > > > > > > -----Original Message----- > > From: sebb [mailto:seb...@gmail.com] > > Sent: 26 May 2011 12:16 PM > > To: JMeter Users List > > Subject: Re: User Parameter variable in JDBC Connection Configuration > > > > On 26 May 2011 10:37, <benedict.nk...@sungard.com> wrote: > > > I want to use User Parameter variable within Database URL under JDBC > > > Connection Configuration. The connection work fine without parameters > > > but as soon as I parametize the Server IP address I get an error. Does > > > the JDBC Connection Configuration support parameters. > > > > > > Works. > > > jdbc:oracle:thin:@ipAddress:1521:EMS102VM > > > > > > doesn't work. > > > jdbc:oracle:thin:@${ipAddressParameter}:1521:EMS102VM > > > > > > > If the variable is not being replaced, then it is not defined *at the > > point of use*. > > > > Note that the JDBC Connection config is used very early on in a test. > > > > Try defining the variable on the test plan. > > > > > please help > > > > > > > > > Thanks and kind regards > > > Benedict Nkosi > > > Performance Tester > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > >