Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 98267 invoked from network); 6 Nov 2009 07:14:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 07:14:27 -0000 Received: (qmail 7000 invoked by uid 500); 6 Nov 2009 07:14:26 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 6944 invoked by uid 500); 6 Nov 2009 07:14:26 -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 6934 invoked by uid 99); 6 Nov 2009 07:14:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 07:14:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shettyd@gmail.com designates 209.85.222.204 as permitted sender) Received: from [209.85.222.204] (HELO mail-pz0-f204.google.com) (209.85.222.204) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 07:14:15 +0000 Received: by pzk42 with SMTP id 42so610662pzk.31 for ; Thu, 05 Nov 2009 23:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=VzkeJi/uiR4JtsBAeapY8vUvB4QsxTRkFk8I+QWu+ZU=; b=hSW3k5PoTw8jGTXVerWX0idYP09KUzr3QgqGPwiR36+HnDNVcdNHr5+5OqleIBhR/i 60SyEmZR9g8IPRu+ZV2gy4vtdIOEKOCAyplU62m6NSYxnXZfksTYHYZ3QpJAMRgxUGLr 26LaO+BRlLTSEXv0W5zfWDXybWJMn17wqY5U4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Uh8Atkp99cJN5G6AQSQXyskXTy3oRWerVUVAODIAUiM+myUc2hgPa+KAtRjST20DOL SIGWBdwNaNiuA39A9f4bAip5g/29OJVZYGM6I+yBMbcI8C8oaNNdgOZtmFDyGky8PDEb x1ZX9uTmoMP6V1byRFJxsCeYOYt6a0BNPnJRU= MIME-Version: 1.0 Received: by 10.140.177.16 with SMTP id z16mr215197rve.128.1257491634250; Thu, 05 Nov 2009 23:13:54 -0800 (PST) In-Reply-To: <26223743.post@talk.nabble.com> References: <26223743.post@talk.nabble.com> Date: Thu, 5 Nov 2009 23:13:54 -0800 Message-ID: <4483c26c0911052313k33c9f1a5p6f9c8cdcb31312a2@mail.gmail.com> Subject: Re: Performance Test Setup for a web site... From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=000e0cd211da2ae4510477ae9610 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd211da2ae4510477ae9610 Content-Type: text/plain; charset=ISO-8859-1 >I will create Scripts which will hit the site pages proportional to there usage This isnt easy. >- What should be the configuration of the machine which will simulate these >- If more then one test machine is required please specify there configuration? >- How many instances of jMeter we need to run for simulating 5000 users? My preference is Multiple low end machines running separate JMeter instances to 1 big machine. It simulates the network better . The load you can generate depends on what else is running and what your tests actually do. People have reported running 1000 threads from a single machine. In any case , you must generate a load and check your client machine resources , preferably the cpu shouldn't exceed 60-80% and memory used should all be RAM not virtual. You can increase the number of threads till you hit some limit after which the client machine may become a bottleneck and give you incorrect results. See related http://wiki.apache.org/jakarta-jmeter/HowManyThreads http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean When running multiple jmeter instances you can either run each instance separately (my preference) or you can run Jmeter in master slave (this is more inefficient , check the mail archives). >How the result file output should be consolidated from various scripts? If >someone is using any tool for consolidating the output files please share >information regarding the same. >- Is there any tool for converting these files to some reports. I have heard >that reports can be generated using some available xslt's in ant. But that >does not work with large output files. So please suggest alternatives. I assume you mean combining the results if you run jmeter instances separately. if you use CSV as your format, just concatenate. Mostly if you have long running tests , you would load the CSV files into a database table. You have some listeners that can read the CSV/JTL files , but you'd have to use a listener whose memory utlization is constant and not proportional to number of samples (e.g. summary report - http://jakarta.apache.org/jmeter/usermanual/component_reference.html section 18.3). regards deepak On Thu, Nov 5, 2009 at 2:54 PM, Harry_ wrote: > > Hi, > > We need to do performance testing for our website simulating 5000 users > using jmeter and other open source tools. The following information is with > us: > > - A csv file containing links and number of times that link last month. The > file is sorted according to popularity of page visited. > - With this file I can get information about average number of hits per > unit > time say per minute. (estimate can be made regarding max load, min load). I > will create Scripts which will hit the site pages proportional to there > usage. > - All the requests will be http requests. > - Average size of the page will be 350 KB (including embedded objects > within > the page). > > Now we need answer to the following questions: > > - How should performance testing of the site simulating that much user load > using Jmeter should be done? > - What should be the configuration of the machine which will simulate these > many users? (Someone suggested me 8 core@3 GHz, 16 GB machine). > - If more then one test machine is required please specify there > configuration? > - How many instances of jMeter we need to run for simulating 5000 users? > - How the result file output should be consolidated from various scripts? > If > someone is using any tool for consolidating the output files please share > information regarding the same. > - Is there any tool for converting these files to some reports. I have > heard > that reports can be generated using some available xslt's in ant. But that > does not work with large output files. So please suggest alternatives. > - What other things should i keep in mind for doing the performance test? > > We would appreciate if someone can answer these queries based on there > experience. . > > Thanks, > Harry > -- > View this message in context: > http://old.nabble.com/Performance-Test-Setup-for-a-web-site...-tp26223743p26223743.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --000e0cd211da2ae4510477ae9610--