Well, I downloaded JMeter this week, so I assume it's recent. I call it a Generative Controller cuz that's what the high-level user docs call it.
I already looked at that code, actually. I see it was written by....YOU :) How nice. I will take a closer look. Thanks, Jason -----Original Message----- From: Mike Stover [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 10:35 AM To: JMeter Users List Subject: RE: Extending JMeter with a new generative controller > P.S. I've seen your name on the lists and it appears you certainly are an > expert. Can you point me to the source for the HTTP Request Generative > Controller? Looking at it would help me a lot. Sure, but when you say Generative Controller, I assume that means you're using an older, outdated version of JMeter. In the current code, they're referred to as Samplers. The sampler of interest to you is org.apache.jmeter.protocol.http.sampler.HTTPSampler. The GUI class for this element is org.apache.jmeter.protocol.http.control.gui.HTTPTestSampleGui -Mike > > -----Original Message----- > From: Mike Stover [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 9:14 AM > To: JMeter Users List > Subject: Re: Extending JMeter with a new generative controller > > > Have you used the proxy recording component to record your browser actions? > > -Mike > > On 26 Sep 2002 at 18:42, Jason Fisher wrote: > > > I want to create what I think would be a valuable tool for others as well. > > I would like to extend JMeter and create a Generative Controller that > reads > > an Apache log file and sends HTTP requests to a given host with the GET or > > POST params from the requests in the log file. > > It would funtion just like the HTTP Request controller that comes with > > JMeter, except that instead of always calling the same URL it would always > > just read the next line of the log. Instead of an input field for 'path' > it > > would have an input field for where to get the Apache log file to use. > > This tool would allow me to re-simulate the exact requests made to a real > > server over the course of time. I might even want to add another > component > > that causes the requests to be generated with the same relative frequency > as > > the requests in the logs. > > > > My problem is that I am having trouble figuring out how to create this > > class. I had a hunch that the HTTP Request generative controller was > likely > > a single java object somewhere, but I've perused the source quite a bit > and > > I can't see anything that would fit (I was hoping to maybe just bastardize > > that object a bit to save coding time). > > Are the generative controllers that come with JMeter single java objects? > > If so, which ones are they? Also, are there any good examples of how to > > something like what I want to do? The developer's manual has some good > > information but the learning curve looks a bit steep to have to climb just > > to create this one simple class. > > > > Any help would be greatly appreciated. > > > > Thanks, > > Jason Fisher > > Software Engineer > > > > > > -- > Michael Stover > [EMAIL PROTECTED] > Yahoo IM: mstover_ya > ICQ: 152975688 > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

