Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3F88E784 for ; Tue, 5 Feb 2013 02:24:46 +0000 (UTC) Received: (qmail 1805 invoked by uid 500); 5 Feb 2013 02:24:46 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 1776 invoked by uid 500); 5 Feb 2013 02:24:46 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 1764 invoked by uid 99); 5 Feb 2013 02:24:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 02:24:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zippyzeppoli@gmail.com designates 209.85.214.50 as permitted sender) Received: from [209.85.214.50] (HELO mail-bk0-f50.google.com) (209.85.214.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 02:24:41 +0000 Received: by mail-bk0-f50.google.com with SMTP id jg9so3036420bkc.9 for ; Mon, 04 Feb 2013 18:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=yoM+/nMb2mVTz0UfqdtTPGU5hQ07YVs7DXhKkpLtApw=; b=szYtrRhPlU/gHFHNalkbPcQM2lqEpODeojspGfuxSc6TcNjr8X7ncQbGOGoKsci5Jf M0M21U28mof1WgtI/JnIWII/nN/s/niEOZ9M4bf/PjFBwb0yL4WVr37FXH4ckeAqaGRD R4hWCk/ujW9RGrjNXnzhTH08fjga8ayaO+2E7UmSWf1os1Gvb805WaPy2p/0slSULnnv DzRDUWBZI+fzeBcWdef4L8V98z3SdQLNZzgzJxZIZFIShi73xRxeobo/LD0qaneyyBM+ MfA6kJK45LsW6J/9ee9m76KIffpOcDTeBN3sndjuGWwmOF1jN6yAKS8R45akfEUlJEQp Lg3g== MIME-Version: 1.0 X-Received: by 10.204.150.82 with SMTP id x18mr6113483bkv.109.1360031059436; Mon, 04 Feb 2013 18:24:19 -0800 (PST) Received: by 10.204.231.79 with HTTP; Mon, 4 Feb 2013 18:24:19 -0800 (PST) In-Reply-To: <2DB71565D9DF26409875BE0660934F6B5F5920260C@TNS-MAIL-AP.win2k.corp.tnsi.com> References: <2DB71565D9DF26409875BE0660934F6B5F5920260C@TNS-MAIL-AP.win2k.corp.tnsi.com> Date: Mon, 4 Feb 2013 18:24:19 -0800 Message-ID: Subject: Re: complex javascript actions in jmeter load test From: Zippy Zeppoli To: JMeter Users List Content-Type: multipart/alternative; boundary=0015175cd10c2e667d04d4f0e87c X-Virus-Checked: Checked by ClamAV on apache.org --0015175cd10c2e667d04d4f0e87c Content-Type: text/plain; charset=ISO-8859-1 I'll take a look at that. Sounds promising. On Mon, Feb 4, 2013 at 4:42 PM, Stott, Charlie wrote: > You can use webdriver from jmeter. Create a webdriver class that performs > the requests and runs the javascript via the browser, then run/call it from > a BSF or JSR sampler. > > > > -----Original Message----- > > From: Zippy Zeppoli [mailto:zippyzeppoli@gmail.com] > > Sent: Tuesday, 5 February 2013 9:28 AM > > To: JMeter Users List > > Subject: Re: complex javascript actions in jmeter load test > > > > 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 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 > > >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. > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > --0015175cd10c2e667d04d4f0e87c--