RSS | Module Info | Add a review of HTTP-Recorder

3 out of 4 found this review helpful:

HTTP-Recorder (0.05)

No comment about this specific distribution, but about specific reviews:

* Usage advice, tips and tricks, etc. belong in cpanforum.com or annocpan.org

* Bug reports belong in rt.cpan.org

If there are quirks that make it hard to use, or bugs, then they are certainly worth mentioning in the review. But the gorey details belong in appropriate forums, not reviews.

--Rob (at the risk of having this review marked useless)

Robert Rothenberg - 2007-11-18 11:40:48
Was this review helpful to you?  Yes No

0 out of 5 found this review helpful:

HTTP-Recorder (0.05)

Many people are suffering from this error generated by HTTP-Recorder:

Can't locate object method "query_param" via package ...

This solution worked for me:

http://lists.fsck.com/pipermail/http-recorder/2007-October/000083.html

I'm quoting it here for your convenience:

A google search returned several complaints about the error "Can't
locate object method "query_param"". Thanks to a tip from Praveen
Hombaiah (http://lists.bestpractical.com/pipermail/http-recorder/2006-
February/000077.html), I diffed the subroutine causing my complaints
from HTTP-Recorder version 0.05 with the one in HTTP-Recorder version
0.03_03 (http://search.cpan.org/src/LEIRA/).

If you edit your version of /lib/HTTP/Recorder.pm and comment out the
"for ... $content->query_param" section and paste in Leira's original
content, then your proxy script should work.


sub unmodify {
my $self = shift;
my $content = shift;

return $content unless $content;

# get rid of the arguments we added
my $prefix = $self->{prefix};

#HIDE THIS
#for my $key ($content->query_param) {
#if ($key =~ /^$prefix-/) {
# $content->query_param_delete($key);
#}
#}

#ADD THIS
$content =~ s/$prefix-(.*?)\?(.*?)&//g;
$content =~ s/$prefix-(.*?)&//g;
$content =~ s/$prefix-(.*?)$//g;
$content =~ s/&$//g;
$content =~ s/\?$//g;
return $content;
}



Bernhard

Bernhard Wagner - 2007-11-17 13:32:13
Was this review helpful to you?  Yes No

1 out of 1 found this review helpful:

HTTP-Recorder (0.03_01) *****

This module has so much promise - there is nothing else like it for perl at the moment. It's still a little rough for now, but is already such a time saver (looking forward to the improving https support).

BTW, the article is at http://www.perl.com/pub/a/2004/06/04/recorder.html

Gavin Brock - 2004-12-16 17:56:59
Was this review helpful to you?  Yes No

1 out of 1 found this review helpful:

HTTP-Recorder (0.02) **

Read the article on www.perl.com about it and tried to configure.
Installed well on both Linux and Windows machines, but not make it work on either one. This module definitely need a more clear documentation.

Topchyan - 2004-06-18 09:11:58
Was this review helpful to you?  Yes No

2 out of 2 found this review helpful:

HTTP-Recorder (0.02) ****

This is SO cleaver - it will definatly make me write more of this sort of test - and more tests are always good!

We are also using it to write tests for our monitoring system.

As the docs say it doesn't do JavaScript yet - which is why I rated it 4 not 5.

Leo Lapworth - 2004-06-09 07:53:02
Was this review helpful to you?  Yes No


the camel