Subject: | HTTP::Recorder setup tutorial & dependencies |
Date: | Thu, 3 Aug 2006 14:39:38 -0700 (PDT) |
To: | bug-HTTP-Recorder [...] rt.cpan.org |
From: | David Luu <cuuld [...] yahoo.com> |
I found out about HTTP::Recorder while doing a search
on web automation. I came across this page:
http://www.perl.com/pub/a/2004/06/04/recorder.html?page=1
It seems to be useful but I can't get it to run (start
the proxy). I'm using ActiveState Perl v5.8.7. I
downloaded the pm module and when trying to run the
code listing under "How to Set It Up: Use It with a
Web Proxy" from the command line, I find I need some
additional modules:
lib/Email (relevant modules under this branch)
lib/Class/Accessor/Fast.pm
lib/HTTP/Proxy (well I should have expected that)
lib/HTTP/Request/Params.pm
and then I got stuck at this point on command line:
C:\Documents and Settings\dluu\My
Documents\code>HttpRec.pl
Can't locate object method "mk_accessors" via package
"HTTP::Request::Params" at
C:/Perl/lib/HTTP/Request/Params.pm line 92.
Compilation failed in require at
C:/Perl/lib/HTTP/Recorder.pm line 94.
BEGIN failed--compilation aborted at
C:/Perl/lib/HTTP/Recorder.pm line 94.
Compilation failed in require at C:\Documents and
Settings\dluu\My Documents\cod
e\HttpRec.pl line 4.
BEGIN failed--compilation aborted at C:\Documents and
Settings\dluu\My Documents
\code\HttpRec.pl line 4.
Perhaps a more in depth tutorial on how to establish
the proxy for the web browser and a noted list of
required dependency modules would be helpful so that I
know what I need to download if I don't have them in
my Perl installation.
I was hoping to use HTTP::Recorder to simplify my web
automation of HTTP POST requests, as I'm trying to
automate actions that are performed by Java applets
and I have to analyze the HTTP traffic with Ethereal
and then manually craft the POST request using my
analysis. I had hoped that I could have HTTP::Recorder
analyze the traffic and generate the scripts for me
instead. It looks like I have some more searching to
do for now.