Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 21373
Status: rejected
Priority: 0/
Queue: Test-WWW-Mechanize

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.12
Fixed in: (no value)



Subject: get_ok fails to get, where LWP::UserAgent succeeds
Perhaps I am doing something very silly here, in which case please accept my advance apologies: use strict; use warnings; use Test::More tests => 3; use Test::WWW::Mechanize; use LWP::UserAgent; my $API_ROOT = 'http://PC-L438542.national.core.bbc.co.uk/'; my $mech = Test::WWW::Mechanize->new; isa_ok( $mech, 'Test::WWW::Mechanize', 'HTTP Test Object'); $mech->timeout(10); $mech->get_ok( $API_ROOT, 'Root' ); my $ua = LWP::UserAgent->new; $ua->timeout(2); my $response = $ua->get($API_ROOT); ok($response->is_success, 'Root'); __END__ OUTPUT: 1..3 ok 1 - HTTP Test Object isa Test::WWW::Mechanize not ok 2 - Root # Failed test 'Root' # in C:\temp.pl at line 12. # 500 # read timeout ok 3 - Root # Looks like you failed 1 test of 3. Tool completed with exit code 1
Subject: Re: [rt.cpan.org #21373] get_ok fails to get, where LWP::UserAgent succeeds
Date: Thu, 7 Sep 2006 08:10:58 -0500
To: bug-Test-WWW-Mechanize [...] rt.cpan.org
From: Andy Lester <andy [...] petdance.com>
On Sep 7, 2006, at 8:05 AM, lee via RT wrote: Show quoted text
> > Thu Sep 07 09:05:13 2006: Request 21373 was acted upon. > Transaction: Ticket created by LGODDARD > Queue: Test-WWW-Mechanize > Subject: get_ok fails to get, where LWP::UserAgent succeeds > Broken in: 1.12 > Severity: Important > Owner: Nobody > Requestors: LGODDARD@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21373 > > > > Perhaps I am doing something very silly here, in which case please > accept my advance apologies:
What if you try it with just WWW::Mechanize? This ought to be sent to the libwww list at lists.perl.org before being reported as a bug. -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
Subject: Re: [rt.cpan.org #21373] get_ok fails to get, where LWP::UserAgent succeeds
Date: Fri, 08 Sep 2006 23:13:39 +0100
To: bug-Test-WWW-Mechanize [...] rt.cpan.org
From: Lee Goddard <lee [...] leegoddard.net>
andy@petdance.com via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=21373 > > > > On Sep 7, 2006, at 8:05 AM, lee via RT wrote: > >
>> Thu Sep 07 09:05:13 2006: Request 21373 was acted upon. >> Transaction: Ticket created by LGODDARD >> Queue: Test-WWW-Mechanize >> Subject: get_ok fails to get, where LWP::UserAgent succeeds >> Broken in: 1.12 >> Severity: Important >> Owner: Nobody >> Requestors: LGODDARD@cpan.org >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21373 > >> >> >> Perhaps I am doing something very silly here, in which case please >> accept my advance apologies: >>
> > What if you try it with just WWW::Mechanize? > > This ought to be sent to the libwww list at lists.perl.org before > being reported as a bug. >
Maybe - I'm just a humble end-user trying to help out. My view was that if it doesn't work as documented, it's a bug - simple soul I am. Sorry not to be more help. -- Lee Goddard Server-side Systems Ltd London N1 :: 0208 369 6832

Message body is not shown because sender requested not to inline it.