I also see a need for a more generic Sampler idea - one that can do whatever it wants to the test environment. We previous abstracted out the idea of Modifier to Pre and Post Processor. Maybe in the future we'll add a processor that can be executed in place and be free to do as it likes. Certain elements (Like UserParameters) are pretty indifferent to when they run - they could be pre, post, or on-time processors as the user likes.
I'd suggest writing it up as an enhancement request. -Mike On 26 Aug 2003 at 9:11, Sandeep Rao wrote: > > One way to do this would be to use loop controller to run for _random() > times and increment _csvread. Once the loop has run thru, your _csvread > would be at the random point and you can start your test case from > there. Since _csvread cannot be done by itself, I put it in a HTTP (do > nothing) sampler. > > BTW, these are the times when I wish there was a 'do nothing' kind of > sampler (or, something else) which could be used to just invoke these > kind of functions - csvread, javascript, logic etc. etc. May be there is > and I just don't know about it. Any one would care to throw some light > on this? > > Sandeep > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 5:00 AM > To: [EMAIL PROTECTED] > Subject: Remote testing and user parameters > > > > > > > Hi, > > I'm using JMeter to load test a web app and need to simulate a number of > users logging on and saving some data. To get the load that we need I > have to use a number of machines using the remote testing model which is > causing some problems with the db updates. Because each machine uses the > same data file for their userid's and passwords each machine starts off > with the same userid and gets concurrent update problems when they > access the db. > > What I'd like to do is either back each machine off for a random period > so that the chances of this are reduced or ideally get each machine to > start at a random spot in the user parameters file so they each pick up > a different userid. Has onyone done something similar to this or have > any ideas on how I could get this to work. I'm using the CSVREAD > function to read the user parameters from the file > > Thanks > > Andrew > > > > ************************************************************ > Opinions contained in this e-mail do not necessarily reflect the > opinions of the Queensland Department of Main Roads, Queensland > Transport or National Transport Secretariat, or endorsed organisations > utilising the same infrastructure. If you have received this electronic > mail message in error, please immediately notify the sender and delete > the message from your computer. > ************************************************************ > > > --------------------------------------------------------------------- > 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] > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 AIM: mstover777 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
