Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Need slow web client

by daxim (Chaplain)
on Mar 21, 2013 at 09:48 UTC ( #1024696=note: print w/ replies, xml ) Need Help??


in reply to Need slow web client

1. LWP::UserAgent with :content_cb and put a sleep in there or something.

2. HTTP::Proxy::BodyFilter::simple and put a sleep in there or something. This is going to be useful for testing other aspects of your proxy, too, as you can tamper with many more aspects of the HTTP request/response pair.

edit: added LWP


Comment on Re: Need slow web client
Re^2: Need slow web client
by McA (Curate) on Mar 21, 2013 at 10:39 UTC

    Thank you. I'll have a look at these.

    McA

      Note that HTTP::Proxy doesn't "do" https (yet).


      Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2014-07-31 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls