Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Live re(p)laying of HTTP requests

by perrin (Chancellor)
on Jun 25, 2004 at 19:15 UTC ( #369722=note: print w/ replies, xml ) Need Help??


in reply to Live re(p)laying of HTTP requests

Here's a way to do it with httperf. (Warning: PDF file)


Comment on Re: Live re(p)laying of HTTP requests
Re^2: Live re(p)laying of HTTP requests
by liz (Monsignor) on Jun 25, 2004 at 19:34 UTC
    I'm not interested in benchmarking. This is really about testing new releases of (legacy) software that work fine when run by themselves, but which blow up for some reason in a mod_perl environment.

    I don't see httperf allowing me to do what I want to do. It has some support for replaying sessions, but they don't seem to support POST requests.

    Am I missing something?

    Liz

      I thought I remembered it supporting POST, but I'm not psitive. What I've done with it is turn an apache log into a httperf session and play it back. If you really need it to be live, I would look at LWP instead. There are a couple of modules for proxying requests with LWP, which you can find on CPAN, but you'd have to do a bit of work to make them actually run the request locally as well as proxy it. Ideally, I would put the proxy stuff in a cleanup handler.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-08-27 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (237 votes), past polls