Reading in from CSV file on each pass through the thread group you retrieve a row of data into the variables you have specified that match your CSV file format. David Schulberg
Object Consulting email: [EMAIL PROTECTED] ---------------------------------------------------------------- consulting | development | training | support our experience makes the difference ________________________________ From: Ori Marco [mailto:[EMAIL PROTECTED] Sent: Sun 6/05/2007 6:36 PM 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]

