The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 21, 2019, 06:31:08 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: HTTP-Recorder  (Read 15970 times)
emonk
Rookie
**
Offline Offline

Posts: 44


View Profile
« on: December 19, 2007, 11:38:02 AM »

 Any of you guys used HTTP-Recorder? I've been trying to get it to work for weeks, as the majority of the things I write a website interaction scripts of one type or another, but I can't find any version of it that works, and the SVN is borked.

 So my question is: Does anyone know a way to make ANY version of HTTP-Recorder work (including SSL)? Failing that does anyone know of an alternative (especially one that spit's out PHP curl code instead, but whatever)?
Logged
dirk
Global Moderator
Expert
*****
Offline Offline

Posts: 416


View Profile
« Reply #1 on: December 19, 2007, 06:13:17 PM »

Hi emonk,

just tested it and installed HTTP::Proxy and HTTP::Recorder via:

Code:
perl -MCPAN -e shell
install HTTP::Proxy
install HTTP::Recorder

Took a while because there are lots of dependencies.

Then I started a simple test script which I got here:

http://www.perl.com/pub/a/2004/06/04/recorder.html
Use It with a Web Proxy

It was running fine and recorded the session.

Logged
nop_90
Global Moderator
Lifer
*****
Offline Offline

Posts: 2203


View Profile
« Reply #2 on: December 20, 2007, 12:07:50 AM »

I find it easier to just look at the forms and use perl mechanize now days.
I think you are better off to use liveheader plugin for FF (I think IE has a similar type plugin)
Then it not too difficult to make a simple parse that parses the liveheaders and then makes proper fields to use with LWP.
Logged
emonk
Rookie
**
Offline Offline

Posts: 44


View Profile
« Reply #3 on: December 20, 2007, 11:01:36 AM »

Hi emonk,

just tested it and installed HTTP::Proxy and HTTP::Recorder via:

Code:
perl -MCPAN -e shell
install HTTP::Proxy
install HTTP::Recorder

Took a while because there are lots of dependencies.

Then I started a simple test script which I got here:

http://www.perl.com/pub/a/2004/06/04/recorder.html
Use It with a Web Proxy

It was running fine and recorded the session.



 Which version did you use? Everyone all over the internet has been complaining about the "Can't locate object method "query_param."" error, and the only fix involves the SVN code, but the SVN repository is down.

 The only version I could find without that error, wouldn't work on SSL sites.

 I've really tried everything that I could think of, and googled my brains out, but to no avail.

 I was really just mostly hoping that either someone had the SVN code lying around, or knew of an alternative that did something similar like the script that nop_90 describes.

 I guess I'll just have to code something myself.
Logged
dirk
Global Moderator
Expert
*****
Offline Offline

Posts: 416


View Profile
« Reply #4 on: December 20, 2007, 11:42:42 AM »

This is the version I have used:

package HTTP::Recorder;
our $VERSION = "0.05";
Date: 18 Aug 2005

Maybe the following fix will help:

http://lists.fsck.com/pipermail/http-recorder/2007-October/000083.html
Logged
dimitry12
Rookie
**
Offline Offline

Posts: 27



View Profile
« Reply #5 on: December 20, 2007, 10:56:57 PM »

I find it easier to just use perl wsp now days. (http://www.research.att.com/sw/tools/wsp/)
Logged
emonk
Rookie
**
Offline Offline

Posts: 44


View Profile
« Reply #6 on: December 21, 2007, 07:15:56 AM »

I find it easier to just use perl wsp now days. (http://www.research.att.com/sw/tools/wsp/)

 Thanks mayne. I'll give it a go. Smiley
Logged
Bompa
Administrator
Lifer
*****
Offline Offline

Posts: 564


Where does this show?


View Profile
« Reply #7 on: December 30, 2007, 05:58:34 AM »

I find it easier to just use perl wsp now days. (http://www.research.att.com/sw/tools/wsp/)

What does that do that liveheaders doesn't do?  Or is it just easier as you said?

Live headers generates every POST and GET in a file that I can save to disk with one click
Logged

"The most beautiful and profound emotion we can experience is the sensation of the mystical..." - Albert Einstein
dimitry12
Rookie
**
Offline Offline

Posts: 27



View Profile
« Reply #8 on: December 30, 2007, 07:31:04 AM »

It generates the Perl code that replicates that specific browser behavior.

Though it's not the most important point. It's a simple proxy in fact so you don't need to use FF or browser - just a convenient tool that does its job well.
Logged
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!