sure. http://jakarta.apache.org/jmeter/usermanual/component_reference.html#JDBC_Request Specify the variable names and use those in your HTTPrequest (if you have multiple rows returned then you might use the For Controller)
regards deepak On Wed, Oct 7, 2009 at 4:57 PM, Harry Wang -T (harwang - at Cisco) < [email protected]> wrote: > Can I use JDBC request sampler to retrieve data and pass it to a HTTP > request? > > -----Original Message----- > From: Deepak Shetty [mailto:[email protected]] > Sent: Wednesday, October 07, 2009 8:54 AM > To: JMeter Users List > Subject: Re: how can i use test data in Jmeter Script > > If you mean the test is the same , but the data is varied (e.g. all > users > perform search but the data they search for is different) > you can use CSV data set config / User Parameters to store the data that > is > sent. each thread will read a different row from the CSV (assuming you > set > up the share options that way) > > if you want to change the actual test for different users (e.g. 10 users > perform search and 90 users click home page) then you'd have to combine > the > above with the various controller available (read the user manual) > > regards > deepak > > On Wed, Oct 7, 2009 at 5:45 AM, gpub <[email protected]> wrote: > > > > > Hi all, > > > > I would like to simulate the load of 100 user for the script i > recorded. > > Now i would like use different test data for those 100 users. > > how can i proceed and what else do i need to include in Testplan > > > > As for now i have in Thread Group > > -HTTP Request Default > > -HTTP Cookie Manager > > -Gaussian Random Timer > > > > Please help me in this. > > Regards > > Gp > > -- > > View this message in context: > > > http://www.nabble.com/how-can-i-use-test-data-in-Jmeter-Script-tp2578395 > 8p25783958.html<http://www.nabble.com/how-can-i-use-test-data-in-Jmeter-Script-tp2578395%0A8p25783958.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] > >

