From guruprashadminhas at hsbc.co.in Thu Dec 1 01:46:27 2005 From: guruprashadminhas at hsbc.co.in (guruprashadminhas@hsbc.co.in) Date: Thu Dec 1 02:16:49 2005 Subject: [HTTP-Recorder] Fw: Problem:Can't locate object method "query_param" via package Message-ID: Hi, Can some one please suggest a way to fix the issue explained below, also is there any way to make HTTP recorder work/handle Java Scripts. Thanks, Guru Prashad > > Hi, > > My name is Kotra Kiran Kumar .I am working in HSBC Software ,Pune,India .I > installed Http::Recorder perl modules .When I am trying to run > http-recorder I am getting code when I moved from one page to another page > through links.But when I submits any form in the web page the proxy > program(which is running in command prompt) is terminating by showing the > below message.Http recorder also stops working. > > Can't locate object method "query_param" via package > "rec-action=submitform&rec- > formname=_fCustomLogin&rec-formnumber=1&rec-form1-hidden- > %25%25ModDate=1&%25%25M > odDate=0000002800000540&rec-form1-unknown- > Username=1&Username=kirankumar2+kotra& > rec-form1-password-Password=1&Password=oceanllan&rec-form1-hidden- > RedirectTo=1&R > edirectTo=%2FHSDIApplications%2Fdiscuss.nsf%2F" (perhaps you forgot to > load > "rec > -action=submitform&rec-formname=_fCustomLogin&rec-formnumber=1&rec-form1- > hidden- > %25%25ModDate=1&%25%25ModDate=0000002800000540&rec-form1-unknown- > Username=1&User > name=kirankumar2+kotra&rec-form1-password- > Password=1&Password=oceanllan&rec-form > 1-hidden-RedirectTo=1&RedirectTo=%2FHSDIApplications%2Fdiscuss.nsf%2F"?) > at > C:/P > erl/site/lib/HTTP/Recorder.pm line 352. > > Can you please help me in solving the problem.Quick reply will be > appreciated. > > Thanks and Regards, > KOTRA KIRAN KUMAR > GLTi 2.0 > Off No:020 5642 2194 > > > ************************************************************ > HSBC Software Development (India) Pvt Ltd > HSBC Center Riverside,West Avenue , > 25 B Kalyani Nagar Pune 411 006 INDIA > > Telephone: +91 20 26683000 > Fax: +91 20 26681030 > ************************************************************ > > > ----------------------------------------- > *********************************************************************** > This e-mail is confidential. It may also be legally privileged. > If you are not the addressee you may not copy, forward, disclose > or use any part of it. If you have received this message in error, > please delete it and all copies from your system and notify the > sender immediately by return e-mail. > > Internet communications cannot be guaranteed to be timely, > secure, error or virus-free. The sender does not accept liability > for any errors or omissions. > *********************************************************************** > ----------------------------------------- ****************************************************************** This message originated from the Internet. Its originator may or may not be who they claim to be and the information contained in the message and any attachments may or may not be accurate. ****************************************************************** ************************************************************ HSBC Software Development (India) Pvt Ltd HSBC Center Riverside,West Avenue , 25 B Kalyani Nagar Pune 411 006 INDIA Telephone: +91 20 26683000 Fax: +91 20 26681030 ************************************************************ ************************************************************ HSBC Software Development (India) Pvt Ltd HSBC Center Riverside,West Avenue , 25 B Kalyani Nagar Pune 411 006 INDIA Telephone: +91 20 26683000 Fax: +91 20 26681030 ************************************************************ From mpeters at plusthree.com Thu Dec 1 10:00:05 2005 From: mpeters at plusthree.com (Michael Peters) Date: Thu Dec 1 10:44:06 2005 Subject: [HTTP-Recorder] Fw: Problem:Can't locate object method "query_param" via package In-Reply-To: References: Message-ID: <438F0FF5.3050505@plusthree.com> guruprashadminhas@hsbc.co.in wrote: > also is > there any way to make HTTP recorder work/handle Java Scripts. There sure is. Write a JavaScript interpreter in Perl that can also parse HTML (and CSS) and create a Document Object Model. But make sure it's configurable so that it can behave like either IE, or Mozilla (or Safari or Opera, etc). So it can be done, but it's a monumental task. It basically means that you need to write an entire browser in Perl with no visual components. -- Michael Peters Developer Plus Three, LP From ivan at pechorin.com Thu Dec 1 11:09:41 2005 From: ivan at pechorin.com (Ivan Pechorin) Date: Thu Dec 1 11:28:45 2005 Subject: [HTTP-Recorder] Fw: Problem:Can't locate objectmethod "query_param" via package In-Reply-To: <438F0FF5.3050505@plusthree.com> Message-ID: <009f01c5f691$a6c3d570$677954c2@moscow.cma.ru> Hello, people! Michael Peters wrote: >> also is >> there any way to make HTTP recorder work/handle Java Scripts. > There sure is. Write a JavaScript interpreter in Perl that can also parse HTML (and CSS) and create a Document Object Model. But make sure it's configurable so that it can behave like either IE, or Mozilla (or Safari or Opera, etc). > So it can be done, but it's a monumental task. It basically means that you need to write an entire browser in Perl with no visual components. Another way is to use Mozilla's C implementation of Javascript: http://www.mozilla.org/js/spidermonkey/ I suppose that this is much easier task. Best regards, Ivan Pechorin. From kappa at rambler-co.ru Thu Dec 1 11:21:23 2005 From: kappa at rambler-co.ru (Alex Kapranoff) Date: Thu Dec 1 11:39:16 2005 Subject: [HTTP-Recorder] Fw: Problem:Can't locate object method "query_param" via package In-Reply-To: <438F0FF5.3050505@plusthree.com> References: <438F0FF5.3050505@plusthree.com> Message-ID: <20051201162123.GA76391@capella.park.rambler.ru> * Michael Peters [December 01 2005, 18:00]: > guruprashadminhas@hsbc.co.in wrote: > > also is > > there any way to make HTTP recorder work/handle Java Scripts. > > There sure is. Write a JavaScript interpreter in Perl that can also parse HTML > (and CSS) and create a Document Object Model. But make sure it's configurable so > that it can behave like either IE, or Mozilla (or Safari or Opera, etc). > > So it can be done, but it's a monumental task. It basically means that you need > to write an entire browser in Perl with no visual components. One can use an Open Source JavaScript engine to ease the task. Basically, bricks are there on CPAN: parse HTML to DOM, employ Spidermonkey to execute the included scripts to emulate a Gecko-based browser without visuals, keyboard or mouse. But the task is of course nevertheless monumental. -- Alex Kapranoff, $n=["1another7Perl213Just3hacker49"=~/\d|\D*/g]; $$n[0]={grep/\d/,@$n};print"@$n{1..4}\n" From mpeters at plusthree.com Thu Dec 1 12:56:24 2005 From: mpeters at plusthree.com (Michael Peters) Date: Thu Dec 1 12:56:01 2005 Subject: [HTTP-Recorder] Fw: Problem:Can't locate objectmethod "query_param" via package In-Reply-To: <009f01c5f691$a6c3d570$677954c2@moscow.cma.ru> References: <009f01c5f691$a6c3d570$677954c2@moscow.cma.ru> Message-ID: <438F3948.30000@plusthree.com> Ivan Pechorin wrote: > Hello, people! > > Michael Peters wrote: > > >>>also is >>>there any way to make HTTP recorder work/handle Java Scripts. > > >>There sure is. Write a JavaScript interpreter in Perl that can also parse > > HTML (and CSS) and create a Document Object Model. But make sure it's > configurable so that it can behave like either IE, or Mozilla (or Safari or > Opera, etc). > >>So it can be done, but it's a monumental task. It basically means that you > > need to write an entire browser in Perl with no visual components. > > Another way is to use Mozilla's C implementation of Javascript: > http://www.mozilla.org/js/spidermonkey/ > I suppose that this is much easier task. But you would still need to parse the HTML, create the appropriate DOM objects while parsing and executing that JavaScript (since order and position in the HTML source is important). And that just covers Mozilla. It's not impossible, but it's still basically writing a JS enabled browser without the rendering. -- Michael Peters Developer Plus Three, LP From jayasim_it at yahoo.com Fri Dec 2 01:05:38 2005 From: jayasim_it at yahoo.com (jaya sim) Date: Fri Dec 2 01:13:23 2005 Subject: [HTTP-Recorder] Re: HTTP-Recorder Digest, Vol 12, Issue 1 In-Reply-To: <20051201170006.00CE34D8280@diesel.bestpractical.com> Message-ID: <20051202060538.41479.qmail@web53801.mail.yahoo.com> Hi, If your problem is the one that you cant able to record the javascript actions then if you try with HTTP-Recorder-0.03_01.tar.gz this version of recorder it would able to record the action...if you used that try to use HTTP-Recorder-0.05.tar.gz then you would be able to get the javascript action recorded.The latest version of recorded is rebuilt to record the javascript actions Thnaks. Jayasim. http-recorder-request@lists.bestpractical.com wrote: Send HTTP-Recorder mailing list submissions to http-recorder@lists.bestpractical.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder or, via email, send a message with subject or body 'help' to http-recorder-request@lists.bestpractical.com You can reach the person managing the list at http-recorder-owner@lists.bestpractical.com When replying, please edit your Subject line so it is more specific than "Re: Contents of HTTP-Recorder digest..." Today's Topics: 1. Fw: Problem:Can't locate object method "query_param" via package (guruprashadminhas@hsbc.co.in) 2. Re: Fw: Problem:Can't locate object method "query_param" via package (Michael Peters) 3. RE: Fw: Problem:Can't locate objectmethod "query_param" via package (Ivan Pechorin) 4. Re: Fw: Problem:Can't locate object method "query_param" via package (Alex Kapranoff) ---------------------------------------------------------------------- Message: 1 Date: Thu, 1 Dec 2005 12:16:27 +0530 From: guruprashadminhas@hsbc.co.in Subject: [HTTP-Recorder] Fw: Problem:Can't locate object method "query_param" via package To: http-recorder@lists.bestpractical.com Message-ID: Content-Type: text/plain; charset=US-ASCII Hi, Can some one please suggest a way to fix the issue explained below, also is there any way to make HTTP recorder work/handle Java Scripts. Thanks, Guru Prashad > > Hi, > > My name is Kotra Kiran Kumar .I am working in HSBC Software ,Pune,India .I > installed Http::Recorder perl modules .When I am trying to run > http-recorder I am getting code when I moved from one page to another page > through links.But when I submits any form in the web page the proxy > program(which is running in command prompt) is terminating by showing the > below message.Http recorder also stops working. > > Can't locate object method "query_param" via package > "rec-action=submitform&rec- > formname=_fCustomLogin&rec-formnumber=1&rec-form1-hidden- > %25%25ModDate=1&%25%25M > odDate=0000002800000540&rec-form1-unknown- > Username=1&Username=kirankumar2+kotra& > rec-form1-password-Password=1&Password=oceanllan&rec-form1-hidden- > RedirectTo=1&R > edirectTo=%2FHSDIApplications%2Fdiscuss.nsf%2F" (perhaps you forgot to > load > "rec > -action=submitform&rec-formname=_fCustomLogin&rec-formnumber=1&rec-form1- > hidden- > %25%25ModDate=1&%25%25ModDate=0000002800000540&rec-form1-unknown- > Username=1&User > name=kirankumar2+kotra&rec-form1-password- > Password=1&Password=oceanllan&rec-form > 1-hidden-RedirectTo=1&RedirectTo=%2FHSDIApplications%2Fdiscuss.nsf%2F"?) > at > C:/P > erl/site/lib/HTTP/Recorder.pm line 352. > > Can you please help me in solving the problem.Quick reply will be > appreciated. > > Thanks and Regards, > KOTRA KIRAN KUMAR > GLTi 2.0 > Off No:020 5642 2194 > > > ************************************************************ > HSBC Software Development (India) Pvt Ltd > HSBC Center Riverside,West Avenue , > 25 B Kalyani Nagar Pune 411 006 INDIA > > Telephone: +91 20 26683000 > Fax: +91 20 26681030 > ************************************************************ > > > ----------------------------------------- > *********************************************************************** > This e-mail is confidential. It may also be legally privileged. > If you are not the addressee you may not copy, forward, disclose > or use any part of it. If you have received this message in error, > please delete it and all copies from your system and notify the > sender immediately by return e-mail. > > Internet communications cannot be guaranteed to be timely, > secure, error or virus-free. The sender does not accept liability > for any errors or omissions. > *********************************************************************** > ----------------------------------------- ****************************************************************** This message originated from the Internet. Its originator may or may not be who they claim to be and the information contained in the message and any attachments may or may not be accurate. ****************************************************************** ************************************************************ HSBC Software Development (India) Pvt Ltd HSBC Center Riverside,West Avenue , 25 B Kalyani Nagar Pune 411 006 INDIA Telephone: +91 20 26683000 Fax: +91 20 26681030 ************************************************************ ************************************************************ HSBC Software Development (India) Pvt Ltd HSBC Center Riverside,West Avenue , 25 B Kalyani Nagar Pune 411 006 INDIA Telephone: +91 20 26683000 Fax: +91 20 26681030 ************************************************************ ------------------------------ Message: 2 Date: Thu, 01 Dec 2005 10:00:05 -0500 From: Michael Peters Subject: Re: [HTTP-Recorder] Fw: Problem:Can't locate object method "query_param" via package To: guruprashadminhas@hsbc.co.in Cc: http-recorder@lists.bestpractical.com Message-ID: <438F0FF5.3050505@plusthree.com> Content-Type: text/plain; charset=ISO-8859-1 guruprashadminhas@hsbc.co.in wrote: > also is > there any way to make HTTP recorder work/handle Java Scripts. There sure is. Write a JavaScript interpreter in Perl that can also parse HTML (and CSS) and create a Document Object Model. But make sure it's configurable so that it can behave like either IE, or Mozilla (or Safari or Opera, etc). So it can be done, but it's a monumental task. It basically means that you need to write an entire browser in Perl with no visual components. -- Michael Peters Developer Plus Three, LP ------------------------------ Message: 3 Date: Thu, 1 Dec 2005 19:09:41 +0300 From: "Ivan Pechorin" Subject: RE: [HTTP-Recorder] Fw: Problem:Can't locate objectmethod "query_param" via package To: Cc: guruprashadminhas@hsbc.co.in Message-ID: <009f01c5f691$a6c3d570$677954c2@moscow.cma.ru> Content-Type: text/plain; charset="us-ascii" Hello, people! Michael Peters wrote: >> also is >> there any way to make HTTP recorder work/handle Java Scripts. > There sure is. Write a JavaScript interpreter in Perl that can also parse HTML (and CSS) and create a Document Object Model. But make sure it's configurable so that it can behave like either IE, or Mozilla (or Safari or Opera, etc). > So it can be done, but it's a monumental task. It basically means that you need to write an entire browser in Perl with no visual components. Another way is to use Mozilla's C implementation of Javascript: http://www.mozilla.org/js/spidermonkey/ I suppose that this is much easier task. Best regards, Ivan Pechorin. ------------------------------ Message: 4 Date: Thu, 1 Dec 2005 19:21:23 +0300 From: Alex Kapranoff Subject: Re: [HTTP-Recorder] Fw: Problem:Can't locate object method "query_param" via package To: Michael Peters Cc: guruprashadminhas@hsbc.co.in, http-recorder@lists.bestpractical.com Message-ID: <20051201162123.GA76391@capella.park.rambler.ru> Content-Type: text/plain; charset=us-ascii * Michael Peters [December 01 2005, 18:00]: > guruprashadminhas@hsbc.co.in wrote: > > also is > > there any way to make HTTP recorder work/handle Java Scripts. > > There sure is. Write a JavaScript interpreter in Perl that can also parse HTML > (and CSS) and create a Document Object Model. But make sure it's configurable so > that it can behave like either IE, or Mozilla (or Safari or Opera, etc). > > So it can be done, but it's a monumental task. It basically means that you need > to write an entire browser in Perl with no visual components. One can use an Open Source JavaScript engine to ease the task. Basically, bricks are there on CPAN: parse HTML to DOM, employ Spidermonkey to execute the included scripts to emulate a Gecko-based browser without visuals, keyboard or mouse. But the task is of course nevertheless monumental. -- Alex Kapranoff, $n=["1another7Perl213Just3hacker49"=~/\d|\D*/g]; $$n[0]={grep/\d/,@$n};print"@$n{1..4}\n" ------------------------------ _______________________________________________ HTTP-Recorder mailing list HTTP-Recorder@lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder End of HTTP-Recorder Digest, Vol 12, Issue 1 ******************************************** --------------------------------- Yahoo! Personals Skip the bars and set-ups and start using Yahoo! Personals for free -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20051201/c36c4183/attachment.htm From liransgarage at gmail.com Fri Dec 23 07:05:31 2005 From: liransgarage at gmail.com (liran tal) Date: Fri Dec 23 07:13:06 2005 Subject: [HTTP-Recorder] HTTP::Recorder can't go passed java as it seems Message-ID: <3ed55890512230405s71151bfeta2675883491e08b4@mail.gmail.com> Hey guys, I'm using the cpan version - HTTP::Recorder 0.05 with the following code: #!/usr/bin/perl use HTTP::Proxy; use HTTP::Recorder; use URI::QueryParam; # we're adding this to enable login pages as according # solutions at: http://www.spanner.org/lists/osxperl/2005/08/22/905b481c.html my $proxy = HTTP::Proxy->new(); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder; # set the log file (optional) $agent->file("/tmp/proxy"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1; when I try to login to a website which is (i assume) java enabled, HTTP::Recorder stumbles upon some errors or missing some libraries maybe. Here's the output: Use of uninitialized value in substitution (s///) at /usr/local/share/perl/5.8.4 /HTTP/Recorder/Logger.pm line 171. Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173. Can't locate object method "query_param" via package "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9" (perhaps you forgot to load "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9"?) at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347. Use of uninitialized value in substitution (s///) at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171. Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173. Can't locate object method "query_param" via package "rec-action=submitform&rec-formname=p&rec-formnumber=1 &rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9" (perhaps you forgot to load "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9"?) at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347. Use of uninitialized value in substitution (s///) at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171. While the appending to the log file seems just fine, but it won't go passed it: liran@octave:~/Programming/perls$ tail -f /tmp/proxy $agent->get('http://www.example.net/') ; $agent->get('http://www.example.net/index.html') ; $agent->form_name('p'); $agent->field('password', '123123'); $agent->field('language', ''); $agent->field('userName', 'test'); $agent->click(); $agent->form_name('p'); $agent->field('password', '123123'); $agent->field('language', ''); $agent->field('userName', 'test'); $agent->click(); Any comment is welcome. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20051223/68b0358d/attachment.htm From jayasim_it at yahoo.com Mon Dec 26 01:14:50 2005 From: jayasim_it at yahoo.com (jaya sim) Date: Mon Dec 26 01:15:17 2005 Subject: [HTTP-Recorder] use double slash in perl In-Reply-To: <20051223170003.A6BE34D837B@diesel.bestpractical.com> Message-ID: <20051226061450.20332.qmail@web53808.mail.yahoo.com> Hi, if u use $agent->file("//tmp//proxy"); instead of $agent->file("/tmp/proxy"); it may work.. http-recorder-request@lists.bestpractical.com wrote: Send HTTP-Recorder mailing list submissions to http-recorder@lists.bestpractical.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder or, via email, send a message with subject or body 'help' to http-recorder-request@lists.bestpractical.com You can reach the person managing the list at http-recorder-owner@lists.bestpractical.com When replying, please edit your Subject line so it is more specific than "Re: Contents of HTTP-Recorder digest..." Today's Topics: 1. HTTP::Recorder can't go passed java as it seems (liran tal) ---------------------------------------------------------------------- Message: 1 Date: Fri, 23 Dec 2005 14:05:31 +0200 From: liran tal Subject: [HTTP-Recorder] HTTP::Recorder can't go passed java as it seems To: http-recorder@lists.bestpractical.com Message-ID: <3ed55890512230405s71151bfeta2675883491e08b4@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hey guys, I'm using the cpan version - HTTP::Recorder 0.05 with the following code: #!/usr/bin/perl use HTTP::Proxy; use HTTP::Recorder; use URI::QueryParam; # we're adding this to enable login pages as according # solutions at: http://www.spanner.org/lists/osxperl/2005/08/22/905b481c.html my $proxy = HTTP::Proxy->new(); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder; # set the log file (optional) $agent->file("/tmp/proxy"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1; when I try to login to a website which is (i assume) java enabled, HTTP::Recorder stumbles upon some errors or missing some libraries maybe. Here's the output: Use of uninitialized value in substitution (s///) at /usr/local/share/perl/5.8.4 /HTTP/Recorder/Logger.pm line 171. Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173. Can't locate object method "query_param" via package "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9" (perhaps you forgot to load "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9"?) at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347. Use of uninitialized value in substitution (s///) at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171. Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173. Can't locate object method "query_param" via package "rec-action=submitform&rec-formname=p&rec-formnumber=1 &rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9" (perhaps you forgot to load "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9"?) at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347. Use of uninitialized value in substitution (s///) at /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171. While the appending to the log file seems just fine, but it won't go passed it: liran@octave:~/Programming/perls$ tail -f /tmp/proxy $agent->get('http://www.example.net/') ; $agent->get('http://www.example.net/index.html') ; $agent->form_name('p'); $agent->field('password', '123123'); $agent->field('language', ''); $agent->field('userName', 'test'); $agent->click(); $agent->form_name('p'); $agent->field('password', '123123'); $agent->field('language', ''); $agent->field('userName', 'test'); $agent->click(); Any comment is welcome. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20051223/68b0358d/attachment.html ------------------------------ _______________________________________________ HTTP-Recorder mailing list HTTP-Recorder@lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder End of HTTP-Recorder Digest, Vol 12, Issue 3 ******************************************** --------------------------------- Yahoo! for Good - Make a difference this year. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.bestpractical.com/pipermail/http-recorder/attachments/20051225/e71c1893/attachment.htm From liransgarage at gmail.com Thu Dec 29 16:42:34 2005 From: liransgarage at gmail.com (liran tal) Date: Thu Dec 29 16:43:05 2005 Subject: [HTTP-Recorder] use double slash in perl In-Reply-To: <20051226061450.20332.qmail@web53808.mail.yahoo.com> References: <20051223170003.A6BE34D837B@diesel.bestpractical.com> <20051226061450.20332.qmail@web53808.mail.yahoo.com> Message-ID: <3ed55890512291342i47a5a1f9g730ed0875418fa44@mail.gmail.com> i dont see how the java thing has anything to do with //tmp//proxy instead of /tmp/proxy... On 12/25/05, jaya sim wrote: > > Hi, > if u use > > $agent->file("//tmp//proxy"); instead of $agent->file("/tmp/proxy"); > it may work.. > > > *http-recorder-request@lists.bestpractical.com* wrote: > > Send HTTP-Recorder mailing list submissions to > http-recorder@lists.bestpractical.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder > or, via email, send a message with subject or body 'help' to > http-recorder-request@lists.bestpractical.com > > You can reach the person managing the list at > http-recorder-owner@lists.bestpractical.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of HTTP-Recorder digest..." > > > Today's Topics: > > 1. HTTP::Recorder can't go passed java as it seems (liran tal) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 23 Dec 2005 14:05:31 +0200 > From: liran tal > Subject: [HTTP-Recorder] HTTP::Recorder can't go passed java as it > seems > To: http-recorder@lists.bestpractical.com > Message-ID: > <3ed55890512230405s71151bfeta2675883491e08b4@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hey guys, > > I'm using the cpan version - HTTP::Recorder 0.05 with the following code: > > #!/usr/bin/perl > > use HTTP::Proxy; > use HTTP::Recorder; > use URI::QueryParam; > # we're adding this to enable > login pages as according > # solutions at: > http://www.spanner.org/lists/osxperl/2005/08/22/905b481c.html > > my $proxy = HTTP::Proxy->new(); > > # create a new HTTP::Recorder object > my $agent = new HTTP::Recorder; > > # set the log file (optional) > $agent->file("/tmp/proxy"); > > # set HTTP::Recorder as the agent for the proxy > $proxy->agent( $agent ); > > # start the proxy > $proxy->start(); > > 1; > > > > when I try to login to a website which is (i assume) java enabled, > HTTP::Recorder stumbles upon some > errors or missing some libraries maybe. > > Here's the output: > > Use of uninitialized value in substitution (s///) at > /usr/local/share/perl/5.8.4 /HTTP/Recorder/Logger.pm line 171. > Use of uninitialized value in concatenation (.) or string at > /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173. > Can't locate object method "query_param" via package > > "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9" > (perhaps you forgot to load > > "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9"?) > at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347. > Use of uninitialized value in substitution (s///) at > /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171. > Use of uninitialized value in concatenation (.) or string at > /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173. > Can't locate object method "query_param" via package > "rec-action=submitform&rec-formname=p&rec-formnumber=1 > > &rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9" > (perhaps you forgot to load > > "rec-action=submitform&rec-formname=p&rec-formnumber=1&rec-form1-unknown-userName=1&userName=colloron&rec-form1-password-password=1&password=t040682&rec-form1-unknown-language=1&language=&rec-form1-image-refresh=1&refresh.x=113&refresh.y=9"?) > at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347. > Use of uninitialized value in substitution (s///) at > /usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171. > > > While the appending to the log file seems just fine, but it won't go > passed > it: > > > liran@octave:~/Programming/perls$ tail -f /tmp/proxy > > $agent->get('http://www.example.net/') ; > > $agent->get('http://www.example.net/index.html') > ; > $agent->form_name('p'); > $agent->field('password', '123123'); > $agent->field('language', ''); > $agent->field('userName', 'test'); > $agent->click(); > > $agent->form_name('p'); > $agent->field('password', '123123'); > $agent->field('language', ''); > $agent->field('userName', 'test'); > $agent->click(); > > > > Any comment is welcome. > thanks. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.bestpractical.com/pipermail/http-recorder/attachments/20051223/68b0358d/attachment.html > > ------------------------------ > > _______________________________________________ > HTTP-Recorder mailing list > HTTP-Recorder@lists.bestpractical.com > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/http-recorder > > > End of HTTP-Recorder Digest, Vol 12, Issue 3 > ******************************************** > > > ------------------------------ > Yahoo! for Good - Make a difference this year. > > > _______________________________________________ > 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/20051229/aee1e508/attachment.htm From guruprashadminhas at hsbc.co.in Fri Dec 30 12:03:28 2005 From: guruprashadminhas at hsbc.co.in (guruprashadminhas@hsbc.co.in) Date: Fri Dec 30 12:03:55 2005 Subject: [HTTP-Recorder] Guruprashad S MINHAS is out of the office. Message-ID: I will be out of the office starting 30/12/2005 and will not return until 02/01/2006. Below are the contacts in my absence . For Templating, please get in touch with Shubhangi/Shivakumar/Abhijeet. For WPS Dev, please get in touch with Rajendra/Sreenivas. For BDE Support/Provisioning, please get in touch with Anshu/Rajkumar/Abhijeet. For Brochureware/Pagecomposer, please get in touch with Bhawna/Sagar/Balaveera. For Pageassembly, please get in touch with Shreyam. Thanks&Regards, Guru Prashad ----------------------------------------- *********************************************************************** This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ***********************************************************************