I implemented this for JMeter. See the Slow*.java files in:
http://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2/src/core/org/apache/jmeter/util/ and also in: http://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/util/ The socket factory is registered as follows: Protocol.registerProtocol("http", new Protocol("http", new SlowHttpClientSocketFactory(cps), 80)); The HTTPS version is rather more complicated to set up in JMeter because we use custom SSL authentication which supports both httpclient and java protocol stacks, but it comes to the same thing. S. On 11/07/07, lior grinfeld <[EMAIL PROTECTED]> wrote:
Hi Neil, I thought about something inside the httpclient code, maybe someone wrote slow client implementation. any way thanks and I wonder how did you do it using proxy? Regards Lior On 7/11/07, neil al <[EMAIL PROTECTED]> wrote: > > I think I have simulated it using a proxy or a web debugger like > (charles). > > On 7/11/07, lior grinfeld <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > i am trying to simulate slow connection. how can i do it? > > > > > > Thanks > > > > Lior Grinfeld > > > -- Regards Lior Grinfeld
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
