Hi, Thanks for the help.But still im facing that problem. I just right click the http request which im sending and add a Random variable. For example just assume there is a http request called "add person". i just need to send a random value for person's id with that request. previously i added that "id" parameter under http request. but now i removed it from there and add that parameter to the random value which i have added to that "add person" http request. But still i can't see the random value is going with the http request. because when i go the result tree's request it didn't show me the "id" field which ia have added under the random value. It only showed me the static values which i have directly added to the http request..If you can please help..I'm n big trouble:-(:-(..Thanks again..
RaGnoR wrote: > > Hi! > > Instead of using Random function try use 'Random Variable' > configuration element. > > Before you use data from db you have to fetch those data. To fetch > data use 'JDBC Connection Configuration' and 'JDBC Request' elements. > Read this: > http://jakarta.apache.org/jmeter/usermanual/build-db-test-plan.html. > > > Best regards, > Jakub > > > 2009/9/7 dilantha <[email protected]>: >> >> Hi All, >> I'm bit new to jmeter so at the moment im facing some problems with load >> testing. Currently im using jmeter for load testing in a web application. >> I >> just want to know how can i generate a random value with the http request >> and send . For example just assume that i have a parameter called "id" >> how >> can i generate a random id to send with the http request..What should i >> type >> under the value field?..i just type ${_Random(1,10)} under the value >> field >> but it did not work..and the other thing is if i want to assign a value >> to a >> field from a set of values which are stored in the data base how can i do >> that?..is it possible?:-(..If some one know the solution please be kind >> enough to send it..Thanks a lot.. >> -- >> View this message in context: >> http://www.nabble.com/How-to-add-random-values..-tp25330799p25330799.html >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/How-to-add-random-values..-tp25330799p25340094.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

