Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024843]
help
Chatterbox?
thezip switches the jolokia powder with Folgers Crystals...
[Michael W]: So i can read ok from this how do i put data back inmy @Variables = ( $Map_Request_Date, $Map_Due_Date,$Map _Cutover_Date,$Map _Complete_Date,$Ma p_Approved_Date);
[Corion]: Michael_W: $Variables[0] = $Map_Request_Date; $Variables[1] = $Map_Due_Date; ...
[choroba]: ( $Map_Request_Date, $Map_Due_Date,$Map _Cutover_Date,$Map _Complete_Date,$Ma p_Approved_Date) = @Variables;?
[thezip]: something like: $Map_Request = <value>; etc. should work
[Corion]: Duh - I read it backwards. I shouldn't code today I guess ;)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-04-27 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (509 votes). Check out past polls.