You can capture a jmeter script using the JMeter HTTP Proxy Server and
configuring proxy port in a browser.
This way you can navigate and have your actions reproduced as HTTP Samplers
in your jmeter script.
Using a browser you'll be sure that every resource imported/loaded by ajax,
javascript or whatever browser interprets will be included in your jmeter
script.

Hope it helps you.
Flávio Cysne

2012/4/19 Cheen-Pin Lim <[email protected]>

> Thanks for the reply Lee.  Very helpful.
>
> On 19 April 2012 23:17, <[email protected]> wrote:
>
> > Comments inline.
> >
> > > From: Cheen-Pin Lim <[email protected]>
> > >
> > > I'm trying to do a load/performance test against my website, but was
> > > wondering if it would accurately represent a Web Browser's interaction
> > with
> > > my application server.  Specifically around things like @import,
> > background
> > > image URLs defined in CSS files, would HTTP Sampler understand and
> > download
> > > these resources?  What about things like resources/processing done via.
> > > AJAX, does HTTP Sampler execute Javascript to download extra content?
> >
> > If you check the "Retrieve All Embedded Resources from HTML Files" it
> will
> > fetch everything.
> >
> > Jmeter does not do javascript or ajax - but if you create your test plan
> > using the recording proxy, it will capture any ajax requests made and
> > create samplers for them, which will result in the same effect.
> >
> >
> > >
> > > Thanks in advance for any help in this matter.
> > >
> > > regards,
> > > CP
> >
> > Lee Lowder
> >
> > This communication and any attachments are confidential, protected by
> > Communications Privacy Act 18 USCS § 2510, solely for the use of the
> > intended recipient, and may contain legally privileged material. If you
> are
> > not the intended recipient, please return or destroy it immediately.
> Thank
> > you.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>

Reply via email to