Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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

Replies are listed 'Best First'.
Re^2: Need slow web client
by McA (Priest) 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 cooling their heels in the Monastery: (9)
As of 2016-07-01 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (412 votes). Check out past polls.