What are you trying to performance benchmark again? AJAX requests from
Selenium to the server? Or something else (or something else in addition to
the AJAX requests)? Like Javascript processing/rendering time, etc.?

And what kind of scalability targets are you trying to achieve? Some
average/max response time? Some give hits per sec against the server?

W/o that info, it's hard to tell if what you want to test is viable in
JMeter or Selenium, etc.

On Mon, Feb 4, 2013 at 3:27 PM, Zippy Zeppoli <[email protected]>wrote:

> The problem is Selenium has no performance testing harness.
> Sucks that it seems BrowserMob (paid solution) is the only solid option.
>
> Until someone builds something with Phantom.js, but it seems JMeter isn't
> going to cut it here.
>
> On Fri, Feb 1, 2013 at 5:40 PM, David Luu <[email protected]> wrote:
>
> > You'll need to figure out what the complex javascript does. Does it make
> > any AJAX requests, or is it all local client side processing/rendering?
> >
> > If it's all local, then there's no point testing it with JMeter, that's
> > client side browser testing better done with Selenium. It won't impact
> the
> > server side load test (except delay in server response time for fetching
> > files will impact the javascript execution on client side, but that can
> be
> > compensated w/ JMeter load test against server with 1+ Selenium test
> > running at same time to gauge client side performance of site/app in
> > browser).
> >
> > If the javascript does execute AJAX requests, you need to figure out the
> > HTTP requests made and mimic that in JMeter as part of your test. You can
> > get that reading dev/design docs, or reverse engineer/traffic sniffing
> the
> > app while doing manual testing.
> >
> > On Fri, Feb 1, 2013 at 1:45 PM, Zippy Zeppoli <[email protected]
> > >wrote:
> >
> > > Hello,
> > > If I have a website which requires logging in, and executing complex
> > > javascript actions, how would I do this (if at all) in jmeter?
> > >
> > > I've heard of writing groovy scripts to do this but this sounds like a
> > lot
> > > of work / maintenance.
> > >
> > > Thank you.
> > >
> >
>

Reply via email to