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 B5D701169F for ; Tue, 12 Aug 2014 15:25:21 +0000 (UTC) Received: (qmail 88290 invoked by uid 500); 12 Aug 2014 15:25:21 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 88254 invoked by uid 500); 12 Aug 2014 15:25:21 -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 88240 invoked by uid 99); 12 Aug 2014 15:25:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 15:25:21 +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 shettyd@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 15:25:16 +0000 Received: by mail-wi0-f175.google.com with SMTP id ho1so6047156wib.2 for ; Tue, 12 Aug 2014 08:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=v/oKPdEgWM0tDzJIlvHbInmdSg4kuU7J/dfM0wabNR8=; b=dTnJQR1cT5iHd39EznMTZBeeWy7RNTZnopcJ8ePggSTyRJcFeHkgsGY/90dNd3TIH5 xzdzWtbZsfE5M60ysJgeQTceq5iAEV3/fEYJdqWBOkwiLqkqV4ImgGi+252UNJ7ekA4T cw6uDQALFR4Bau0toW2yjbITHKWkTYAaZGO7Ic9hmvmomQOqHcB1xnQFg4RbzJLzJX4m JHDMTXW7RMSCaoadrrt03BZ5vwEB2/eAmauApnPFtXbr5KPOngMGicHih0OAbCJvSU1P t8VHmn0FJ7fsUuGdcLT5PvA0flVaszV3ESaCVPFe8pJSb9mky2WGpFBtArngmIlzN4iZ TYwQ== MIME-Version: 1.0 X-Received: by 10.180.99.4 with SMTP id em4mr28912399wib.8.1407857095293; Tue, 12 Aug 2014 08:24:55 -0700 (PDT) Received: by 10.194.40.8 with HTTP; Tue, 12 Aug 2014 08:24:55 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Aug 2014 08:24:55 -0700 Message-ID: Subject: Re: jmeter - thread count limit From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=f46d041828160f426405007046d0 X-Virus-Checked: Checked by ClamAV on apache.org --f46d041828160f426405007046d0 Content-Type: text/plain; charset=UTF-8 Hi >"docs mention there is no hard & fast rule, it depends on system hardware/software config & how soon the server responds for APIs under test." This is the technically correct answer >" lists a number between 200-300 for number of threads" This is most likely a rule of thumb or a starting point (e.g. I will rarely exceed 40 threads on my client PC) >We now need to put more load on it It depends on how you define "load" - *Usually* you mean the concurrent usage that the server sees in which case option B is the correct one.(It's possible you might be running a long running test , just to see whether there are memory leaks or something like that and you are using "load" in that context in which case you probably only need option A. - happens , but rare) However lets say you want to test out 10 users accessing your system at the same time, for an hour , then you might want to use different users (rather than using the same user or 10 users which means you might get better than expected results due to server caching user details or something like that) - in which case you do also need Option A to make Option B realistic. However you cannot just increase the number of threads without limit , because at some point of time , either the JMeter machine or the network might start slowing down your tests which would not happen in a real life scenario - in which case you now need to add more JMeter machines (either distributed or standalone) - What number of threads your system supports is dependent on multiple factors and there is no way out of testing and validating your results - This has probably been discussed numerous times in the archives of these mailing lists. regards deepak On Mon, Aug 11, 2014 at 6:06 PM, Shilpa Kulkarni wrote: > Hi > > I have a question about thread count limit in jmeter. Some of the - > slightly older documentation on the internet - lists a number between > 200-300 for number of threads. Some docs mention there is no hard & fast > rule, it depends on system hardware/software config & how soon the server > responds for APIs under test. > > I have built a basic API test plan for a mobile/server type of application > & tested for 2 users in csv file & thread count = 10. We now need to put > more load on it & I was checking out for any guide lines here. What are my > options? A + B or just one of them? Are there any other options? > A. Increase number of users in csv file > B. Increase thread count > > Thanks > SK > --f46d041828160f426405007046d0--