Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 15227 invoked from network); 8 Dec 2005 18:30:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Dec 2005 18:30:54 -0000 Received: (qmail 88459 invoked by uid 500); 8 Dec 2005 18:30:51 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 88425 invoked by uid 500); 8 Dec 2005 18:30:51 -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 88414 invoked by uid 99); 8 Dec 2005 18:30:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 10:30:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sebbaz@gmail.com designates 64.233.182.195 as permitted sender) Received: from [64.233.182.195] (HELO nproxy.gmail.com) (64.233.182.195) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 10:30:47 -0800 Received: by nproxy.gmail.com with SMTP id l37so237474nfc for ; Thu, 08 Dec 2005 10:30:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cQCtJz/BBx3B+OCMhWYyZB9ubX2+ItOldYNYKpX+WrdSa6Hszr8AeiMCT0Od5jBlH6ydyx1oV03EvvjHs1xklM60Cf7fsgxUU3n5InRoQ9Y4CVFMe2D0LKX/chx93cqWXxeIHghI9JXAKWffclOXz4OdhF/KiLchJRYOvw6qZuM= Received: by 10.49.5.10 with SMTP id h10mr324456nfi; Thu, 08 Dec 2005 10:30:26 -0800 (PST) Received: by 10.48.30.12 with HTTP; Thu, 8 Dec 2005 10:30:26 -0800 (PST) Message-ID: <25aac9fc0512081030x74736583o@mail.gmail.com> Date: Thu, 8 Dec 2005 18:30:26 +0000 From: sebb To: JMeter Users List Subject: Re: Testing the effect of page compression with Jmeter; Any gotchas? In-Reply-To: <27e674a90512081000g65645277xa779077fade92642@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2B413CF244938945A239F439B20C412A01BDB6D1@cacexc10.americas.cpqcorp.net> <27e674a90512081000g65645277xa779077fade92642@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "cps" should perhaps be named "bps", because it calculates the delay based on the number of Java bytes sent or received. These are 8 bits, but that is without the overhead, which can vary between connections - e.g. number of stop-bits, parity etc. Note that the setting only applies to the Http Sampler using Apache HttpCli= ent. It has no effect on the original Http Sampler which uses the JVM Http implementation. Whatever setting is chosen will be approximate, because it does not take the actual line speed into account. S. On 08/12/05, Peter Lin wrote: > hmm... I haven't used the new feature myself. maybe sebb can respond with > some tips > > peter > > > On 12/8/05, Christensen, Alan wrote: > > > > I tried setting these properties first to 6250 and later both to 100. > > Neither setting appeared to have any significant impact. (And, yes, I > > did get rid of the "#" in column 1) :-) > > > > I am using the December 7th nightly build to try out this capability. > > > > I tried first via VPN, then directly to the site. No impact of setting > > these parameters in either configuration. > > > > Any ideas? > > > > -----Original Message----- > > From: Christensen, Alan > > Sent: Thursday, December 08, 2005 8:45 AM > > To: JMeter Users List > > Subject: RE: Testing the effect of page compression with Jmeter; Any > > gotchas? > > > > The only lines that I could find in the Dec 7th nightly build regarding > > this property are in the Jmeter properties file: > > > > # Define characters per second > 0 to emulate slow connections > > #httpclient.socket.http.cps=3D0 #httpclient.socket.https.cps=3D0 > > > > I just want to confirm that I should be using 8 bits/character. My > > suspicion is also that a 50kbps line doesn't really deliver 6250 > > char/sec but some smaller number due to overhead. Is this the case? I= f > > so, should I use a smaller number for "httpclient.socket.http.cps" than > > 6250? If anyone has thoughts on the most appropriate number to use to > > simulate a 50kbps dialup line, then I'd appreciate their advice. > > > > -----Original Message----- > > From: Peter Lin [mailto:woolfel@gmail.com] > > Sent: Thursday, December 08, 2005 8:19 AM > > To: JMeter Users List > > Subject: Re: Testing the effect of page compression with Jmeter; Any > > gotchas? > > > > sebb would know how to do that. I believe he updated the docs in SVN, > > but the website hasn't been updated yet. if you download a nightly, the > > docs packaged in the tar/zip should have an explanation. > > > > peter > > > > > > On 12/8/05, Christensen, Alan wrote: > > > > > > How exactly is this property set for various speeds? If I wanted to > > > emulate a 50kbps dialup line, what would I set this property to? Do = I > > > > > set it to 50000/8 =3D 6250? > > > > > > -----Original Message----- > > > From: sebb [mailto:sebbaz@gmail.com] > > > Sent: Monday, November 28, 2005 9:02 AM > > > To: JMeter Users List > > > Subject: Re: Testing the effect of page compression with Jmeter; Any > > > gotchas? > > > > > > As to slower connections, the latest nightly builds include a means o= f > > > > > simulating slow connections for the Apache HttpClient sampler. > > > > > > See jmeter.properties: > > > > > > #httpclient.socket.http.cps=3D0 > > > #httpclient.socket.https.cps=3D0 > > > > > > =3D=3D > > > > > > I looked at extending this to the default Http implementation, but it > > > is non-trivial, and requires overriding the boot classpath, as one ha= s > > > > > to create a java.net class. > > > > > > S. > > > On 28/11/05, Christensen, Alan wrote: > > > > > > > > Has anyone used Jmeter to test the effects of using page compressio= n > > > > > > vs not using page compression? Any gotchas that should be avoided, > > > > or > > > > > > > best practices that will make this easier? What would you suggest > > > > be used to mimic slower connections? > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org