You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Philipp Walther <pw...@progress.com> on 2008/04/02 14:50:12 UTC

"Read Throttling" for GET (Limit Bandwidth)

Hi all,

I think the subject should make it pretty clear what I want to
achieve.. I'm looking for a way to limit the speed with which
httpclient reads (downloads) from a server.

Does anybody know of a way to do that?

TIA,
Regards,
Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: "Read Throttling" for GET (Limit Bandwidth)

Posted by sebb <se...@gmail.com>.
I wrote some add-ons for JMeter which do this, see:

http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/SlowHttpClientSocketFactory.java
and the Slow* files in:

http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/

For an example usage, see:

http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java


On 02/04/2008, Philipp Walther <pw...@progress.com> wrote:
> Hi all,
>
>  I think the subject should make it pretty clear what I want to
>  achieve.. I'm looking for a way to limit the speed with which
>  httpclient reads (downloads) from a server.
>
>  Does anybody know of a way to do that?
>
>  TIA,
>  Regards,
>  Phil
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>  For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org