Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
[stevieb]: it's a long day when you want to make changes to a project and the entire test suite takes 2 hours to fully run :)
choroba knows the situation. At work, unit tests run for 30 minutes, and integration and end-to-end tests take almost one hour.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-03-26 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.