From knoebi at gmx.net Thu Jul 1 17:26:18 2004 From: knoebi at gmx.net (knoebi@gmx.net) Date: Thu Jul 1 17:32:44 2004 Subject: [HTTP-Recorder] Hi List, first impressions and some ideas Message-ID: <10448.1088717178@www8.gmx.net> Hi List, i was visiting the 6. german perl workshop during the last 3 days and linda talked about HTTP::Recorder. Just returned home and tried HTTP::Recorder first v0.2 (with cpanp, nothing worked, probably you should go soon to 0.3) and then the developer release: looks very promising to me. i plan to use HTTP::Recorder for automated web testing. i used evalid (commercial, browser input ie) for some time and its really easy to use & works fine. also worked with java's webtest, which is also an good tool. but now i'am really really really happy about the HTTP::Recorder. I looked at rt but there were not so many requests over there, so i'am posting to the list. HTTP::Recorder should have the best out of those tools. so i'am off for the weekend (open air and its raining...) but i want to thank linda for her talk and espescially for HTTP::Recorder. ciao Philipp Knobel -- +++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++ GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl From knoebi at gmx.net Thu Jul 1 17:27:02 2004 From: knoebi at gmx.net (knoebi@gmx.net) Date: Thu Jul 1 17:33:28 2004 Subject: [HTTP-Recorder] Hi List, first impressions and some ideas Message-ID: <12412.1088717222@www8.gmx.net> Hi List, i was visiting the 6. german perl workshop during the last 3 days and linda talked about HTTP::Recorder. Just returned home and tried HTTP::Recorder first v0.2 (with cpanp, nothing worked, probably you should go soon to 0.3) and then the developer release: looks very promising to me. i plan to use HTTP::Recorder for automated web testing. i used evalid (commercial, browser input ie) for some time and its really easy to use & works fine. also worked with java's webtest, which is also an good tool. but now i'am really really really happy about the HTTP::Recorder. I looked at rt but there were not so many requests over there, so i'am posting to the list. HTTP::Recorder should have the best out of those tools. so i'am off for the weekend (open air and its raining...) but i want to thank linda for her talk and espescially for HTTP::Recorder. ciao Philipp Knobel -- +++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++ GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl From tom at cumbriankitchen.co.uk Tue Jul 6 08:58:53 2004 From: tom at cumbriankitchen.co.uk (Tom) Date: Tue Jul 6 09:28:19 2004 Subject: [HTTP-Recorder] http::recorder as a proxy logger Message-ID: <40EAA20D.3030604@cumbriankitchen.co.uk> Hi Does anyone have a sample script for using HTTP::Recorder as a proxy logger, or else any hints on how to use it to set up a transparent proxy listening on a specific port and forwarding on to another? What I want to do is to record all requests (full header and body) and their responses to a given page - these requests do not come through a browser, it is a backend system handling XMLmessages. I used to do this using LWP, but I've just upgraded Perl to 5.8.3 and I can't get my script working anymore! Thanks Tom From mpeters at plusthree.com Tue Jul 6 00:32:24 2004 From: mpeters at plusthree.com (mpeters) Date: Tue Jul 6 12:44:38 2004 Subject: [HTTP-Recorder] RFC: HTTP::Recorder::httperf Message-ID: <20040706042703.M16064@petersfamily.org> List, I'm new to H::R and have started using it to record test for regression testing websites. I started to use it to also record tests for load testing but WWW::Mech and LWP::UA are a little bulky for regression tests so I turned to httperf (http://www.hpl.hp.com/personal/David_Mosberger/httperf.html). I still wanted to use H::R to record my tests to play them back, so I wrote HTTP::Recorder::httperf which will record the ouptut into a httperf style session log. This can then be fed to httperf. If you feel like checking this out it's at http://people.plusthree.com/~mpeters/HTTP-Recorder-httperf-0.01.tar.gz If there's enought interest I'll put it on CPAN. Thanks, Michael Peters Plus Three Developer From tdryden at comcast.net Tue Jul 6 20:41:55 2004 From: tdryden at comcast.net (Tom Dryden) Date: Tue Jul 6 20:41:35 2004 Subject: [HTTP-Recorder] http-recorder adding ",1" to all input fields Message-ID: <40EB46D3.5070405@comcast.net> Hi, I just got proxy and recorder installed they are logging fine (as far as I have tested so far). I am having problems getting the console to display. Jonathan, you indicated that you got it to work, what was the magic? Linda, great work this looks like a promising tool. Thanks for the hard work! Tom From ivan at pechorin.com Sat Jul 10 01:34:40 2004 From: ivan at pechorin.com (Ivan Pechorin) Date: Sat Jul 10 01:54:35 2004 Subject: [HTTP-Recorder] http-recorder adding ",1" to all input fields In-Reply-To: <40EB46D3.5070405@comcast.net> References: <40EB46D3.5070405@comcast.net> Message-ID: <1089437679.1836.6.camel@localhost.localdomain> Hello! > I am having problems getting the console to > display. Tom, which version of HTTP::Recorder do you use? You should use 0.03_01: http://search.cpan.org/CPAN/authors/id/L/LE/LEIRA/HTTP-Recorder-0.03_01.tar.gz Please, try it and let us know if you still experience problems with the console. From tdryden at comcast.net Sat Jul 10 13:35:59 2004 From: tdryden at comcast.net (Tom Dryden) Date: Sat Jul 10 13:35:43 2004 Subject: [HTTP-Recorder] http-recorder adding ",1" to all input fields In-Reply-To: <1089437679.1836.6.camel@localhost.localdomain> References: <40EB46D3.5070405@comcast.net> <1089437679.1836.6.camel@localhost.localdomain> Message-ID: <40F028FF.4030306@comcast.net> Hi Yes, I am using 0.03_01, here here are the symptoms, with Mozilla 1.5 I don't see any window at all. With Opera 7.23 I get an empty window and the following popup message "the address is not available from this machine http://http-recorder" when ever I move to a new page. The scripts are being recorded to the log file. here is the script I am using to start it up: > #!/usr/bin/perl > > > use HTTP::Proxy; > use HTTP::Recorder; > > > my $proxy = HTTP::Proxy->new(); > > > # create a new HTTP::Recorder object > my $agent = new HTTP::Recorder; > > > # set the log file (optional) > $agent->file("/tmp/myfile"); > > > # show control panel > $agent->showwindow(1); > > > > > # set HTTP::Recorder as the agent for the proxy > $proxy->agent( $agent ); > > > > > # start the proxy > $proxy->start(); > > > 1; Thanks for your time Tom Ivan Pechorin wrote: >Hello! > > > >>I am having problems getting the console to >>display. >> >> > >Tom, which version of HTTP::Recorder do you use? You should use 0.03_01: > >http://search.cpan.org/CPAN/authors/id/L/LE/LEIRA/HTTP-Recorder-0.03_01.tar.gz > >Please, try it and let us know if you still experience problems with the >console. > >_______________________________________________ >HTTP-Recorder mailing list >HTTP-Recorder@lists.bestpractical.com >http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20040710/add88958/attachment.htm From ivan at pechorin.com Sun Jul 11 03:22:56 2004 From: ivan at pechorin.com (Ivan Pechorin) Date: Sun Jul 11 03:22:59 2004 Subject: [HTTP-Recorder] http-recorder adding ",1" to all input fields In-Reply-To: <40F028FF.4030306@comcast.net> References: <40EB46D3.5070405@comcast.net> <1089437679.1836.6.camel@localhost.localdomain> <40F028FF.4030306@comcast.net> Message-ID: <1089530575.14482.1.camel@localhost.localdomain> > Yes, I am using 0.03_01, here here are the symptoms, with Mozilla 1.5 > I don't see any window at all. > With Opera 7.23 I get an empty window and the following popup message > "the address is not available from this machine http://http-recorder" > when ever I move to a new page. Tom, I just tried script you provided and it works fine for me. My FireFox 0.9 blocked popup window. So, I had to open http://http-recorder/ manually in new tab. Are you sure that your Mozilla doesn't block HTTP::Recorder's popup window? From tdryden at comcast.net Sun Jul 11 19:24:16 2004 From: tdryden at comcast.net (Tom Dryden) Date: Sun Jul 11 19:23:51 2004 Subject: [HTTP-Recorder] http-recorder adding ",1" to all input fields In-Reply-To: <1089530575.14482.1.camel@localhost.localdomain> References: <40EB46D3.5070405@comcast.net> <1089437679.1836.6.camel@localhost.localdomain> <40F028FF.4030306@comcast.net> <1089530575.14482.1.camel@localhost.localdomain> Message-ID: <40F1CC20.9000206@comcast.net> Thanks, that worked for me.....I never thought about the popup blocker Thanks again Tom Ivan Pechorin wrote: >>Yes, I am using 0.03_01, here here are the symptoms, with Mozilla 1.5 >>I don't see any window at all. >>With Opera 7.23 I get an empty window and the following popup message >>"the address is not available from this machine http://http-recorder" >>when ever I move to a new page. >> >> > >Tom, I just tried script you provided and it works fine for me. >My FireFox 0.9 blocked popup window. So, I had to open >http://http-recorder/ manually in new tab. > >Are you sure that your Mozilla doesn't block HTTP::Recorder's popup >window? > > >_______________________________________________ >HTTP-Recorder mailing list >HTTP-Recorder@lists.bestpractical.com >http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20040711/b6a017dc/attachment.htm From lippmann at zirndorf.de Tue Jul 13 08:33:50 2004 From: lippmann at zirndorf.de (Lippmann, Richard) Date: Tue Jul 13 08:42:23 2004 Subject: [HTTP-Recorder] Using http-recorder with a proxy in my company Message-ID: <31E8F72BD93FD511A470000103D6D0944ED996@sv-hedwig.zdf> I thought it's a good idea to use HTTP::Recorder with my company's proxy. But it was not so easy to set it up. So I wrote this script which could help you, too, to do your next job faster. Greetings, Horshack == #!/usr/bin/perl my $version = "0.01"; print "This is $0 V$version\n"; # Take the newest version from # http://search.cpan.org/CPAN/authors/id/L/LE/LEIRA/HTTP-Recorder-0.03_01.tar. gz use HTTP::Recorder "0.03_01"; use HTTP::Proxy; # Set everything to undef if you have no proxy-servers # in your organisation my %whoami = ( # listen to every network interface on this machine: # host => undef, # host => "127.0.0.1", # listen only to network interface 10.1.1.5 host => "10.95.81.5", # which is the port I shall listen port => "3128", ); # this is for forwarding all requests to my proxy in the company my %proxy = ( host => "http://proxy.zdf:3128", user => undef, pass => undef, ); # set HTTP::Recorder as the agent my $agent = HTTP::Recorder->new( # Log to a file # file => "/tmp/tmpfile", file => "proxy.log", showwindow => 1); # Set my own proxy to forward requests $agent->proxy( "http", $proxy{host} ) if $proxy{host}; $request->proxy_authorization_basic( @proxy{ qw/user pass/ } ) if $proxy{user}; my $proxy = HTTP::Proxy->new; $proxy->agent( $agent ); $proxy->port( $whoami{port} ) if $whoami{port}; # Set how I get soon from my users if ( $whoami{host} ) { # My interface to be reached $proxy->host( $whoami{host} ); } # My port to be reached $proxy->port( $whoami{port} ); # you may need to set the host print "Your proxy-server in your web-browser shall be:\n"; printf "\t%s:%s\n", $whoami{host} ? $whoami{host} : "the_host_i_run", $whoami{port} ? $whoami{port} : 8080; print "Navigate to http://http-recorder/ to download the script\n"; print "\twhich has been generated\n"; # Endless loop $proxy->start(); From tom at cumbriankitchen.co.uk Wed Jul 14 07:21:53 2004 From: tom at cumbriankitchen.co.uk (Tom) Date: Wed Jul 14 07:21:24 2004 Subject: [HTTP-Recorder] Using http-recorder with a proxy in my company In-Reply-To: <31E8F72BD93FD511A470000103D6D0944ED996@sv-hedwig.zdf> References: <31E8F72BD93FD511A470000103D6D0944ED996@sv-hedwig.zdf> Message-ID: <40F51751.4040608@cumbriankitchen.co.uk> Thanks Richard - script is pretty similar to my old one. file was a method of the agent in a previous version, and that's where I was all wrong! Tom Lippmann, Richard wrote: >I thought it's a good idea to use HTTP::Recorder with my company's proxy. >But it was not so easy to set it up. So I wrote this script which could help >you, too, to do your next job faster. > >Greetings, >Horshack > >== > > >#!/usr/bin/perl >my $version = "0.01"; >print "This is $0 V$version\n"; ># Take the newest version from ># >http://search.cpan.org/CPAN/authors/id/L/LE/LEIRA/HTTP-Recorder-0.03_01.tar. >gz >use HTTP::Recorder "0.03_01"; >use HTTP::Proxy; > ># Set everything to undef if you have no proxy-servers ># in your organisation >my %whoami = ( > # listen to every network interface on this machine: > # host => undef, > # host => "127.0.0.1", > # listen only to network interface 10.1.1.5 > host => "10.95.81.5", > # which is the port I shall listen > port => "3128", >); > ># this is for forwarding all requests to my proxy in the company >my %proxy = ( > host => "http://proxy.zdf:3128", > user => undef, > pass => undef, >); > ># set HTTP::Recorder as the agent >my $agent = HTTP::Recorder->new( > # Log to a file > # file => "/tmp/tmpfile", > file => "proxy.log", > showwindow => 1); > ># Set my own proxy to forward requests >$agent->proxy( "http", $proxy{host} ) > if $proxy{host}; >$request->proxy_authorization_basic( @proxy{ qw/user pass/ } ) > if $proxy{user}; > >my $proxy = HTTP::Proxy->new; >$proxy->agent( $agent ); >$proxy->port( $whoami{port} ) > if $whoami{port}; > ># Set how I get soon from my users >if ( $whoami{host} ) { > # My interface to be reached > $proxy->host( $whoami{host} ); >} ># My port to be reached >$proxy->port( $whoami{port} ); > ># you may need to set the host > >print "Your proxy-server in your web-browser shall be:\n"; >printf "\t%s:%s\n", > $whoami{host} ? $whoami{host} : "the_host_i_run", > $whoami{port} ? $whoami{port} : 8080; > >print "Navigate to http://http-recorder/ to download the script\n"; >print "\twhich has been generated\n"; > > ># Endless loop >$proxy->start(); >_______________________________________________ >HTTP-Recorder mailing list >HTTP-Recorder@lists.bestpractical.com >http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder > > > > From tdryden at comcast.net Tue Jul 6 20:16:01 2004 From: tdryden at comcast.net (Tom Dryden) Date: Thu Aug 19 11:01:22 2004 Subject: [HTTP-Recorder] http-recorder adding ",1" to all input fields Message-ID: <40EB3FA9.3020106@comcast.net> Hi, I just got proxy and recorder installed they are logging fine (as far as I have tested so far). I am having problems getting the console to display. Jonathan, you indicated that you got it to work, what was the magic? Linda, great work this looks like a promising tool. Thanks for the hard work! Tom From BParent at onealinc.com Tue Jul 13 13:22:55 2004 From: BParent at onealinc.com (Parent, Bernie) Date: Thu Aug 19 11:01:22 2004 Subject: [HTTP-Recorder] HTTP-Reorder very slow windows platform and localhost Message-ID: <85C10CED0675A347949F91AF08F62CD0A80BDD@gvl02.onealinc.com> I am using HTTP-Recorder v.3 and running it on the same machine that my browser ( IE or Firefox ) is on that I use to surf the Internet. The browser proxy is configured as localhost and 8080 and things work, but are extremely slow. It might take 15 minutes to completely load a page and record the results when normally, without HTTP-Recorder and HTTP-Proxy, the page will be complete in a few seconds. I am running this on Microsoft XP behind a corporate firewall and using the latest build from ActivePerl. Any ideas on how to speed things up? Thanks, Bernie Parent bparent@onealinc.com ________________________________ *************************************************************************** Visit O'Neal, Inc. on the web at http://www.onealinc.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20040713/08557b43/attachment.htm