The variables are per column. So if you have a file with 3000 rows and each row contains a username and an email (comma separated) then you only need two variables (one for username, one for email).
JMeter automatically reads the next line in the file. So each thread would get a different username/email and each loop would also get a different username/email. Also see http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Dat a_Set_Config. Hope this answers your question, Matt C. -----Original Message----- From: Ori Marco [mailto:[EMAIL PROTECTED] Sent: Sunday, May 06, 2007 3:36 AM To: JMeter Users List Subject: RE: Creating Random Names or Characters Hi I don't understand how CSV Data Set can read from file with large amount of strings because it seems that you need to add variable for each string Is there a way to take next variable in file every time/request? Thanks Ori -----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 3:37 PM To: JMeter Users List Subject: Re: Creating Random Names or Characters But if you need a lot of random strings, it would be better to create a file containing the strings and then use CSV Data Set or StringFromFile to read it. [You could use the code to create the file.] S. On 03/05/07, Matthew Coventon <[EMAIL PROTECTED]> wrote: > Here is a link to some java code that generates random strings: > http://www.koders.com/java/fid469723E78254774BEC5E0E17D580B2DA38BA3658.a spx. > > With a little modification, you could use it in a Beanshell > Preprocessor to generate a random string. In the beanshell you would > put the string in a variable using vars.put("myString", randomString). > > Then you can use ${myString} in your sampler. > > Regards, > > Matt C. > > -----Original Message----- > From: Senthil Kumaran [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 03, 2007 12:40 AM > To: JMeter Users List > Subject: Re: Creating Random Names or Characters > > Hi, > Thanks for the response, > I want create random dynamic string in the name field of the web > application in the registeration form. > For eg: > _ random function is used to create random numbers. > Is there any javascript function or any other function to perform it. > > Thanks > Senthil > > > gopal labudu wrote: > > > we can send string or characters by using parameterization we have > > to use ${_StringFromFile(name)} function. > > > > > > > > > > On 5/3/07, Senthil Kumaran <[EMAIL PROTECTED]> wrote: > > > >> > >> Hi, > >> > >> I am trying to create a random string or character in the name > >> field of the web application. > >> So that i can create dynamic names to post the http request. > >> Is it possible to create a random string or characters in jmeter. > >> > >> Thanks and Regards, > >> Senthil > >> > >> > >> ------------------------------------------------------------------- > >> -- 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] > > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]