Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 91477 invoked from network); 19 Oct 2009 09:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 09:40:54 -0000 Received: (qmail 83348 invoked by uid 500); 19 Oct 2009 09:35:23 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 83333 invoked by uid 500); 19 Oct 2009 09:35:22 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 83316 invoked by uid 99); 19 Oct 2009 09:35:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 09:35:21 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 209.85.220.213 is neither permitted nor denied by domain of alex.rotaru@altom.ro) Received: from [209.85.220.213] (HELO mail-fx0-f213.google.com) (209.85.220.213) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 09:35:12 +0000 Received: by fxm9 with SMTP id 9so5148182fxm.1 for ; Mon, 19 Oct 2009 02:34:49 -0700 (PDT) Received: by 10.102.80.14 with SMTP id d14mr1986246mub.73.1255944889617; Mon, 19 Oct 2009 02:34:49 -0700 (PDT) Received: from ?192.168.1.64? ([86.34.227.250]) by mx.google.com with ESMTPS id n10sm7764874mue.17.2009.10.19.02.34.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Oct 2009 02:34:49 -0700 (PDT) Message-Id: <47BA1CEE-078B-4B33-B92D-F40D65CE032D@altom.ro> From: Alexandru Rotaru To: JMeter Users List Content-Type: multipart/alternative; boundary=Apple-Mail-3-612296875 Mime-Version: 1.0 (Apple Message framework v936) Subject: JMeter ResponseTime >> Browser ResponseTime Date: Mon, 19 Oct 2009 12:34:47 +0300 X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-3-612296875 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi all, I'm running some simple tests using Jmeter 2.3.4: 1. connect to the website home page 2. go to the login page 3. log into the website My test plan looks like this: + HTTP Cookie Manager + HTTP Cache Manager + HTTP Request Defaults ("Retrieve all embedded resources from html files" is ticked) + Thread Group (repeat 1 thread for 10 times) - HTTP Request HomePage-Get - HTTP Request LoginPage-Get - HTTp Request LoginPage-Post +View Results Tree The response times for the Get requests are: HomePage - Get -> First run ~ 16.5 seconds, Next 9 runs ~ 9.3 seconds LoginPage - Get -> First run ~ 14.5 seconds, Next 9 runs ~ 9.3 seconds If I run the same steps in a browser, I get the following results: HomePage - Get -> First time (nothing is cached) <10 seconds, Next runs < 3 seconds LoginPage - Get -> less than 2 seconds I ran the same tests using the HttpClient sampler, and got similar result. I ran the test both in GUI and non-GUI mode, and the results were similar. I was expecting to see a time difference between the browser and Jmeter, but the other way around (Jmeter time < Browser time) as the browser does also Java Script interpretation, page rendering ... I've been looking through the mailing archive, and found out about YSlow and TamperData, and the Browser times I manually recorder resemble the ones from these apps. Is there a way to measure the server response times using JMeter, and getting results close to real usage? Thanks, Alex --Apple-Mail-3-612296875--