Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 romping around the Monastery: (12)
As of 2014-09-18 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (111 votes), past polls