Great - Thanks Mike, that'll keep me busy for a while... ----- Original Message ----- From: "Michael Stover" <[EMAIL PROTECTED]> To: "JMeter Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 13, 2004 10:41 AM Subject: Re: Newbie question: How do you capture the URLs you test usingjmeter?
> JMeter can do what you're used, though I personally don't find that the > most practical approach. > > JMeter has a proxy server that can record browser requests > (http://jakarta.apache.org/jmeter/usermanual/best-practices.html#proxy_serve r and follow links there for more details) > > JMeter can automatically follow redirects and download most embedded > objects (images, applets, etc). This is not foolproof though, and > JMeter does not simulate a browser's cache. This is why I usually find > it easier to let the proxy recorder record every request and then > manipulate the test with everything explicit (a redirected request > becomes two request objects in the tree and follow-redirect is turned > off). It makes for a bigger test script, but there's more flexibility. > > For making your test dynamic, there are too many options to detail them > here. Try these pages: > http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-75174ebf2091fc8142f067e5fd8a6d7e5a566b8c > http://jakarta.apache.org/jmeter/usermanual/functions.html > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTML_Link_Parser > > That should get you started. > > -Mike > > On Tue, 2004-07-13 at 10:23, joelsherriff wrote: > > Though I have lot's of experience with commercial test tools, I'm new to > > jmeter (1 whole day of playing with it) so this is the first of what will > > probably turn out to be a string of questions...anyone please feel free to > > correct any misassumptions I may make. > > > > Not sure how to expand the subject question without describing what I'm used > > to, so I will. I'm used to a capture mechanism that traces the http > > requests made by a browser to create a script containing requests made to a > > server. The script contains one request per main page and the test software > > automatically parses the reply to that request to make all necessary > > subrequests, redirected requests, etc. > > > > So I guess I really have two questions to start with: > > > > How do most of you "capture" the requests you want to make, since in the > > real-world things get complex very fast...do you use server logs, mostly? > > > > Can someone give a pointer to a complex example of parsing a reply to build > > a dynamic variablized request? Just something I can look at to see what > > steps are necessary. > > > > Thanks in advance > > > > J > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > -- > Michael Stover <[EMAIL PROTECTED]> > Apache Software Foundation > > > --------------------------------------------------------------------- > 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]