From leira at MIT.EDU Tue Aug 9 22:11:04 2005
From: leira at MIT.EDU (Linda L. Julien)
Date: Tue Aug 9 22:11:26 2005
Subject: [HTTP-Recorder] 0.03_02 uploaded
Message-ID: <42F96238.4030705@mit.edu>
Hi folks,
I know it's been a while, but I just uploaded HTTP::Recorder 0.03_02.
I expect to add a few more things, then call it 0.04. If you have any
special requests, make sure you've entered them at http://rt.cpan.org/,
and let me know what's most important to you.
Thanks,
Linda
From leira at MIT.EDU Tue Aug 16 18:58:24 2005
From: leira at MIT.EDU (Linda L. Julien)
Date: Tue Aug 16 18:58:41 2005
Subject: [HTTP-Recorder] web-based SVN access for the source tree
Message-ID: <43026F90.3040507@mit.edu>
You can now browse the HTTP::Recorder source tree, in case you don't
want to wait for the next release.
I'm trying out two different ways of browsing the tree: WebSVN and
SVN::Web. I'd be interested in hearing your feedback about which one
you prefer, and why.
The URLs are:
http://www.bitmistress.org/websvn/
http://www.bitmistress.org/svnweb/
You can expect the next developer release shortly.
As always, if you have any bugs or feature requests, please make sure to
enter them at http://rt.cpan.org/
Linda
From leira at MIT.EDU Wed Aug 17 23:00:03 2005
From: leira at MIT.EDU (Linda L. Julien)
Date: Wed Aug 17 23:02:51 2005
Subject: [HTTP-Recorder] 0.04 is out
Message-ID: <4303F9B3.5050709@mit.edu>
Among other things, it contains significant improvements to the control
panel and the ability to record the checking of multiple checkboxes with
the same name.
I'm parsing and manipulating URIs and parameters with other modules now,
so HTTP::Request::Params and URI::QueryParam are now requirements.
The format of the "fields" argument to HTTP::Recorder::Logger's
SetFieldsAndSubmit method is different now, but this shouldn't affect
you unless you've made a subclass or you're calling that method directly.
Enjoy,
Linda
From leira at MIT.EDU Fri Aug 19 12:53:07 2005
From: leira at MIT.EDU (Linda L. Julien)
Date: Fri Aug 19 12:53:24 2005
Subject: [HTTP-Recorder] HTTP::Recorder 0.05 available
Message-ID: <43060E73.8000801@mit.edu>
This version fixes a problem in 0.04 with link text not being properly
un-escaped.
There have also been changes to the way that the control panel is
accessed. Read the POD for additional information.
Linda
From zawwinhtike at gmail.com Thu Aug 25 01:04:40 2005
From: zawwinhtike at gmail.com (Zaw Win Htike)
Date: Thu Aug 25 13:25:15 2005
Subject: [HTTP-Recorder] Not opening control panel window and Not creating
Log File
Message-ID: <1da5aefc05082422045052dd41@mail.gmail.com>
When I run the following code, it generate only printed message, seems like
nothing is happening for opening control panel window and creating log file.
Can someone help?
here is my code
###############################################################
#!/usr/bin/perl
use HTTP::Proxy;
use HTTP::Recorder;
print "Creating http:proxy \n";
my $proxy = HTTP::Proxy->new();
# create a new HTTP::Recorder object
print "Creating http::recorder \n";
my $agent = new HTTP::Recorder(file => "/tmp/myLogfile");
print "calling showwindow function \n";
showwindow => 1;
# spare futile attempts at accessing control panel
print "setting control panel setting \n";
control => "http://http-recorder/";
# set the log file (optional)
#$agent->file("/tmp/myLogfile");
# set HTTP::Recorder as the agent for the proxy
print "The proxy is - $proxy \n";
$proxy->port( 8080 );
$proxy->agent( $agent );
# start the proxy
print "starting proxy \n";
$proxy->start();
1;
###############################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20050825/75022cab/attachment.htm
From leira at MIT.EDU Thu Aug 25 14:00:01 2005
From: leira at MIT.EDU (Linda L. Julien)
Date: Thu Aug 25 14:00:22 2005
Subject: [HTTP-Recorder] Not opening control panel window and Not creating
Log File
In-Reply-To: <1da5aefc05082422045052dd41@mail.gmail.com>
References: <1da5aefc05082422045052dd41@mail.gmail.com>
Message-ID: <430E0721.7060602@mit.edu>
Zaw Win Htike wrote:
> When I run the following code, it generate only printed message,
> seems like nothing is happening for opening control panel window and
> creating log file.
>
> Can someone help?
>
> here is my code
> ###############################################################
>
> #!/usr/bin/perl
>
> use HTTP::Proxy; use HTTP::Recorder;
If you put:
use strict;
use warnings;
at the top of your script, you'll get a lot more information about
what's wrong.
> print "calling showwindow function \n"; showwindow => 1;
This needs to be:
$agent->showwindow(1);
However, if you take a look at HTTP::Recorder 0.05, you'll see that this
method is obsolete.
> # spare futile attempts at accessing control panel
>
> print "setting control panel setting \n"; control =>
> "http://http-recorder/ ";
To set the control URL, you'll need to do this:
$agent->control('http://my_recorder_url');
I suspect that in spite of these problems, your script would have
recorded properly anyway. However, you won't see anything in the script
file until you set your browser to use the proxy and start recording
something.
Perhaps the Recorder should write a comment to the log file when it's
instantiated, just so that you can tell it's working. If you'd like to
enter a feature request like this at http://rt.cpan.org/ I'll take a
look at it.
Thanks,
Linda
From seasprocket at gmail.com Tue Aug 30 12:41:24 2005
From: seasprocket at gmail.com (Phil Mitchell)
Date: Tue Aug 30 12:47:54 2005
Subject: [HTTP-Recorder] Can't locate object method "query_param"??
Message-ID: <3d8716b10508300941693bc63a@mail.gmail.com>
Hi,
I just started using HTTP::Recorder (very cool!), but am running into
problems with forms. Doesn't happen with every form, but here's a
typical example:
Can't locate object method "query_param" via package
"email=spatbuck%40gmail.com&fullname=Phil+Mitchell&pw=&pw-conf=&digest=0&email-button=Subscribe"
(perhaps you forgot to load
"email=spatbuck%40gmail.com&fullname=Phil+Mitchell&pw=&pw-conf=&digest=0&email-button=Subscribe"?)
at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347.
This is actually the subscription form for this list
(http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder),
I accidentally left H:R on when I tried to subscribe.
The form fails -- it appears that HTTP::Recorder::unmodify is calling
a method on a string?
My setup is pretty simple:
<new();
my $agent = HTTP::Recorder->new();
$agent->file("/tmp/http_recorder.out");
$proxy->agent( $agent );
$proxy->port( 4567 );
$proxy->start();
1;
END_QUOTE
Originally I thought this might be due to the fact that I'm trying to
record interactions with a catalyst app that I'm running on
localhost:3000 -- but as you can see, the problem arises with internet
forms also.
Any idea what I'm doing wrong!?
tia,
Phil
--
==========================
2People Blog: http://2-people.blogspot.com/
2People site: http://www.2people.org