Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Need slow web client

by rjt (Deacon)
on Mar 22, 2013 at 00:16 UTC ( #1024843=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Need slow web client
in thread Need slow web client

But I really want to do a synthetic check whether the proxy is buffering (like promised) the output of the application server (which resides on a different machine).

Maybe I'm missing something, but can you simply check the web server logs to confirm the request came from the proxy instead of the endpoint? And/or check the proxy logs (perhaps increasing the log level for server connection/caching details)? That should at least answer that question. Most proxies also allow you to customize HTTP headers to some extent, so you can even stick some metadata in there to help get more objective results in your testing.

For a very simple "slow client", the LWP::UserAgent callback suggestion is reasonable for a starting point.


Comment on Re^3: Need slow web client

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-08-01 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (8 votes), past polls