http-webtest-commits Mailing List for HTTP-WebTest
Brought to you by:
m_ilya,
richardanderson
You can subscribe to this list here.
2002 |
Jan
(38) |
Feb
(83) |
Mar
(10) |
Apr
(28) |
May
(42) |
Jun
(61) |
Jul
(43) |
Aug
(42) |
Sep
(14) |
Oct
(27) |
Nov
(16) |
Dec
(81) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(81) |
Feb
(29) |
Mar
(32) |
Apr
(42) |
May
(3) |
Jun
|
Jul
(11) |
Aug
|
Sep
(33) |
Oct
(6) |
Nov
(4) |
Dec
|
2004 |
Jan
|
Feb
|
Mar
(10) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ilya M. <m_...@us...> - 2004-04-22 12:16:32
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2890 Modified Files: TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/TODO,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** TODO 28 Nov 2003 14:42:08 -0000 1.30 --- TODO 22 Apr 2004 12:16:10 -0000 1.31 *************** *** 11,15 **** * Generator of Perl and wtscript code from test objects (partially done) ! * HTTP proxy which autogenerates skeleton of test file (work in process - see HTTP::WebTest::Recorder) * HTML formated reports --- 11,16 ---- * Generator of Perl and wtscript code from test objects (partially done) ! * HTTP proxy which autogenerates skeleton of test file (work in ! process - see HTTP::WebTest::Recorder) * HTML formated reports *************** *** 21,23 **** * More work on cookbook. Probably I need one example of very simple plugin. ! * Support for meta-refresh \ No newline at end of file --- 22,27 ---- * More work on cookbook. Probably I need one example of very simple plugin. ! * Support for meta-refresh ! ! * Apparently file uploads are broken as HTTP::WebTest generates bad ! Content-Type (and Length?) headers \ No newline at end of file |
From: Ilya M. <m_...@us...> - 2004-03-15 10:17:43
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30168/lib/HTTP/WebTest/Plugin Added Files: LinksTest.pm Log Message: Added LinksTest.pm --- NEW FILE: LinksTest.pm --- package HTTP::WebTest::Plugin::LinksTest; use strict; use base qw(HTTP::WebTest::Plugin); use HTML::TokeParser; use URI; sub param_types { return q(check_links yesno); } sub check_response { my $self = shift; $self->validate_params(qw(check_links)); return if $self->test_param('check_links') !~ /yes/i; my $curr_res = $self->webtest->current_response; return unless $curr_res->is_success; ## do nothing unless it is HTML return unless $curr_res->content_type eq 'text/html'; my $links = $self->find_links(response => $curr_res); return unless $links; my $link = ""; my $ua = $self->webtest->user_agent; my $failures = ""; my $link_count = scalar @$links; my $failed_count = 0; foreach $link (@$links) { my $req = HTTP::Request->new(HEAD => $link->{url}); my $res = $ua->request($req); unless ($res->is_success) { $failed_count++; $failures .= " link: ".$link->{'url'}. "(".$res->status_line.")\n"; } } my $status = "$link_count links found. Failed: $failed_count."; my $result = 1; my $comment = $status; if ($failures) { $result = 0; $comment = $status." Failures: ".$failures; } return ['CHECK LINKS',$self->test_result($result,$comment)]; } sub find_base { my $self = shift; my $response = shift; my $base = $response->base; my $content = $response->content; ## look for base tag inside of head tag my $parser = HTML::TokeParser->new(\$content); my $token = $parser->get_tag('head'); if (defined $token) { $token = $parser->get_tag('base', '/head'); if ($token->[0] eq 'base') { $base = $token->[1]{href}; } } return $base; } sub find_links { my $self = shift; my %param = @_; my $response = $param{response}; my $base = $self->find_base($response); my $content = $response->content; ## look for matching 'link' tags my $parser = HTML::TokeParser->new(\$content); my @links = (); while (my $token = $parser->get_token) { if ($token->[0] eq 'S') { ## Process 'start' tags my $uri = ""; my $type = ""; if ($token->[1] =~ /^(a|area|link)$/) { ## has attr href=URL|URI $type = $1; $uri = $token->[2]{href}; ## Skip mailto and javascript href values next if $uri =~ /^(?:mailto|javascript)\:/; } elsif ($token->[1] =~ /^(img|script|frame|style|embed)$/) { ## has attr src=URI $type = $1; $uri = $token->[2]{src}; } elsif ($token->[1] eq 'form') { ## has attr action=URI $type = 'form'; $uri = $token->[2]{action}; } elsif ($token->[1] eq 'applet') { ## has attr codebase=URL|this.location and code=code.class ## will fetch codebase/code.class $type = 'applet'; $uri = $token->[2]{codebase}; $uri .= '/' unless $uri =~ /\/$/; ## Append trailing slash $uri .= $token->[2]{code}; } next unless $uri; push @links,{url => URI->new_abs($uri,$base), type => $type, }; } } return (@links) ? \@links : ""; } 1; =head1 NAME HTTP::WebTest::Plugin::LinksTest - Checks links on a webpage =head1 SYNOPSIS ## Example: wt configuration usage plugins = ( ::LinksTest ) test_name = Main page url = http://192.168.1.102/ check_links = yes end_test =head1 DESCRIPTION This is a plugin module for the HTTP::WebTest test suite. This plugin checks the links contained with a page (static or dynamic) and reports back the number of links found and the failure count. The checks consist of issuing HEAD requests to the URLS used by the following tags: * <a href="..." ## href="mailto:.. and href="javascript: are skipped * <area href="..." * <link href="..." * <img src="..." * <script src="..." * <frame src="..." * <sytle src="..." * <embed src="..." * <form action="..." * <applet codebase="URL" code="java.class" A good chunk of the code was I<gleaned> from the B<HTTP::WebTest::Plugin::(Click|StatusTest)> modules. Thanks Ilya. =head1 TEST PARAMETERS =for pod_merge copy opt_params =head2 check_links If set to C<yes> checks links in HTML pages. =head3 Allowed values C<yes>, C<no> =head3 Default value C<no> =cut =head1 SEE ALSO L<HTTP::WebTest> =head1 AUTHOR Carlos Ramirez, E<lt>ca...@qu...E<gt> =head1 COPYRIGHT AND LICENSE Copyright (C) 2004 by Carlos Ramirez This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available. =cut |
From: Ilya M. <m_...@us...> - 2004-03-15 10:17:43
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30168/lib/HTTP Modified Files: WebTest.pm.in WebTest.pm Log Message: Added LinksTest.pm Index: WebTest.pm.in =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm.in,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** WebTest.pm.in 11 Mar 2004 10:36:02 -0000 1.36 --- WebTest.pm.in 15 Mar 2004 10:08:33 -0000 1.37 *************** *** 424,427 **** --- 424,431 ---- This plugin module allows the user to specify pauses in the test sequence. + =item L<HTTP::WebTest::Plugin::LinksTest|HTTP::WebTest::Plugin::LinksTest> + + This plugin module provides link validation in HTML pages. + =item L<HTTP::WebTest::Plugin::HarnessReport|HTTP::WebTest::Plugin::HarnessReport> Index: WebTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** WebTest.pm 11 Mar 2004 10:36:03 -0000 1.39 --- WebTest.pm 15 Mar 2004 10:08:33 -0000 1.40 *************** *** 10,13 **** --- 10,14 ---- # lib/HTTP/WebTest/Plugin/HarnessReport.pm # lib/HTTP/WebTest/Plugin/Hooks.pm + # lib/HTTP/WebTest/Plugin/LinksTest.pm # lib/HTTP/WebTest/Plugin/Loader.pm # lib/HTTP/WebTest/Plugin/ResponseTimeTest.pm *************** *** 445,448 **** --- 446,453 ---- This plugin module allows the user to specify pauses in the test sequence. + =item L<HTTP::WebTest::Plugin::LinksTest|HTTP::WebTest::Plugin::LinksTest> + + This plugin module provides link validation in HTML pages. + =item L<HTTP::WebTest::Plugin::HarnessReport|HTTP::WebTest::Plugin::HarnessReport> *************** *** 542,545 **** --- 547,564 ---- for web page access authorization. + =head2 check_links + + I<NON-CORE PARAMETER> from L<HTTP::WebTest::Plugin::LinksTest> + + If set to C<yes> checks links in HTML pages. + + =head3 Allowed values + + C<yes>, C<no> + + =head3 Default value + + C<no> + =head2 click_button |
From: Ilya M. <m_...@us...> - 2004-03-15 10:17:42
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30168 Modified Files: MANIFEST Changes Log Message: Added LinksTest.pm Index: MANIFEST =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/MANIFEST,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** MANIFEST 14 Jul 2003 08:21:52 -0000 1.33 --- MANIFEST 15 Mar 2004 10:08:34 -0000 1.34 *************** *** 1,9 **** Changes INSTALL - MANIFEST This list of files - Makefile.PL - README - TODO - bin/wt lib/Bundle/HTTP/WebTest.pm lib/HTTP/WebTest.pm --- 1,5 ---- + bin/wt Changes INSTALL lib/Bundle/HTTP/WebTest.pm lib/HTTP/WebTest.pm *************** *** 21,24 **** --- 17,21 ---- lib/HTTP/WebTest/Plugin/HarnessReport.pm lib/HTTP/WebTest/Plugin/Hooks.pm + lib/HTTP/WebTest/Plugin/LinksTest.pm lib/HTTP/WebTest/Plugin/Loader.pm lib/HTTP/WebTest/Plugin/ResponseTimeTest.pm *************** *** 33,39 **** lib/HTTP/WebTest/TestResult.pm lib/HTTP/WebTest/Utils.pm ! scripts/README scripts/make_readme.PL scripts/pod_merge.PL t/01-api.t t/02-generic.t --- 30,39 ---- lib/HTTP/WebTest/TestResult.pm lib/HTTP/WebTest/Utils.pm ! Makefile.PL ! MANIFEST This list of files ! README scripts/make_readme.PL scripts/pod_merge.PL + scripts/README t/01-api.t t/02-generic.t *************** *** 49,56 **** t/12-request.t t/13-harness.t ! t/HTTP/WebTest/Plugin/Counter.pm ! t/HelloWorld.pm ! t/README ! t/StartTests.pm t/borked1.wt t/borked2.wt --- 49,53 ---- t/12-request.t t/13-harness.t ! t/14-linkstest.t t/borked1.wt t/borked2.wt *************** *** 62,67 **** --- 59,68 ---- t/borked8.wt t/good.wt.in + t/HelloWorld.pm + t/HTTP/WebTest/Plugin/Counter.pm + t/README t/real.wt.in t/simple.wt + t/StartTests.pm t/test.out/auth t/test.out/borked1.err *************** *** 139,140 **** --- 140,142 ---- t/test5.html t/test6.html + TODO Index: Changes =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/Changes,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** Changes 5 Sep 2003 20:06:12 -0000 1.83 --- Changes 15 Mar 2004 10:08:34 -0000 1.84 *************** *** 3,6 **** --- 3,12 ---- Revision history for Perl module HTTP::WebTest. + 2.05 *not released yet* + + * Carlos Ramirez contributed new HTTP::WebTest plugin LinksTest.pm. + This plugin module adds validation of links in HTML pages. Thanks to + Carlos Ramirez. + 2.04 Fri Sep 5 2003 |
From: Ilya M. <m_...@us...> - 2004-03-15 10:17:39
|
Update of /cvsroot/http-webtest/HTTP-WebTest/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30168/t Added Files: 14-linkstest.t Log Message: Added LinksTest.pm --- NEW FILE: 14-linkstest.t --- # FIXME: tests for this module use Test::More tests => 1; BEGIN { use_ok('HTTP::WebTest::Plugin::LinksTest') }; |
From: Ilya M. <m_...@us...> - 2004-03-11 11:03:17
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18401/lib/HTTP/WebTest Modified Files: Utils.pm TestResult.pm Test.pm SelfTest.pm Request.pm ReportPlugin.pm Plugins.pod Plugin.pm Parser.pm Cookies.pm Cookbook.pod API.pm Log Message: Update copyright year Index: Utils.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Utils.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Utils.pm 2 Mar 2003 11:52:10 -0000 1.9 --- Utils.pm 11 Mar 2004 10:36:02 -0000 1.10 *************** *** 334,338 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 334,338 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: TestResult.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/TestResult.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TestResult.pm 2 Mar 2003 11:52:10 -0000 1.5 --- TestResult.pm 11 Mar 2004 10:36:02 -0000 1.6 *************** *** 96,100 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 96,100 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Test.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Test.pm,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Test.pm 2 Mar 2003 11:52:10 -0000 1.7 --- Test.pm 11 Mar 2004 10:36:02 -0000 1.8 *************** *** 196,200 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 196,200 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: SelfTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/SelfTest.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SelfTest.pm 10 Sep 2003 11:08:44 -0000 1.9 --- SelfTest.pm 11 Mar 2004 10:36:02 -0000 1.10 *************** *** 414,418 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 414,418 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Request.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Request.pm,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Request.pm 14 Jul 2003 08:21:08 -0000 1.6 --- Request.pm 11 Mar 2004 10:36:02 -0000 1.7 *************** *** 164,168 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 164,168 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: ReportPlugin.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/ReportPlugin.pm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ReportPlugin.pm 10 Sep 2003 10:49:00 -0000 1.11 --- ReportPlugin.pm 11 Mar 2004 10:36:02 -0000 1.12 *************** *** 359,363 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 359,363 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Plugins.pod =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugins.pod,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Plugins.pod 10 Sep 2003 10:50:53 -0000 1.8 --- Plugins.pod 11 Mar 2004 10:36:02 -0000 1.9 *************** *** 139,143 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 139,143 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Plugin.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin.pm,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Plugin.pm 10 Sep 2003 10:44:10 -0000 1.15 --- Plugin.pm 11 Mar 2004 10:36:02 -0000 1.16 *************** *** 523,527 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 523,527 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Parser.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Parser.pm,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Parser.pm 10 Sep 2003 10:40:09 -0000 1.22 --- Parser.pm 11 Mar 2004 10:36:02 -0000 1.23 *************** *** 358,362 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 358,362 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Cookies.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Cookies.pm,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Cookies.pm 3 Jul 2003 15:54:00 -0000 1.6 --- Cookies.pm 11 Mar 2004 10:36:02 -0000 1.7 *************** *** 90,94 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 90,94 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Cookbook.pod =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Cookbook.pod,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Cookbook.pod 2 Mar 2003 11:52:10 -0000 1.20 --- Cookbook.pod 11 Mar 2004 10:36:02 -0000 1.21 *************** *** 237,241 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 237,241 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: API.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/API.pm,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** API.pm 2 Mar 2003 11:52:10 -0000 1.29 --- API.pm 11 Mar 2004 10:36:02 -0000 1.30 *************** *** 738,742 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 738,742 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify |
From: Ilya M. <m_...@us...> - 2004-03-11 11:03:09
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18401/lib/HTTP/WebTest/Plugin Modified Files: TextMatchTest.pm StatusTest.pm SetRequest.pm ResponseTimeTest.pm Loader.pm Hooks.pm HarnessReport.pm Delay.pm DefaultReport.pm Cookies.pm ContentSizeTest.pm Click.pm Log Message: Update copyright year Index: TextMatchTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/TextMatchTest.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TextMatchTest.pm 10 Sep 2003 10:47:57 -0000 1.9 --- TextMatchTest.pm 11 Mar 2004 10:35:59 -0000 1.10 *************** *** 148,152 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 148,152 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: StatusTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/StatusTest.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** StatusTest.pm 2 Mar 2003 11:52:09 -0000 1.9 --- StatusTest.pm 11 Mar 2004 10:36:02 -0000 1.10 *************** *** 61,65 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 61,65 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: SetRequest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/SetRequest.pm,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** SetRequest.pm 2 Mar 2003 11:52:09 -0000 1.20 --- SetRequest.pm 11 Mar 2004 10:36:02 -0000 1.21 *************** *** 315,319 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 315,319 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: ResponseTimeTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/ResponseTimeTest.pm,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ResponseTimeTest.pm 2 Mar 2003 11:52:09 -0000 1.7 --- ResponseTimeTest.pm 11 Mar 2004 10:36:02 -0000 1.8 *************** *** 98,102 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 98,102 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Loader.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/Loader.pm,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Loader.pm 2 Mar 2003 11:52:09 -0000 1.7 --- Loader.pm 11 Mar 2004 10:36:02 -0000 1.8 *************** *** 70,74 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 70,74 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Hooks.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/Hooks.pm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Hooks.pm 2 Mar 2003 11:52:09 -0000 1.11 --- Hooks.pm 11 Mar 2004 10:36:02 -0000 1.12 *************** *** 178,182 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 178,182 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: HarnessReport.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/HarnessReport.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** HarnessReport.pm 2 Mar 2003 11:52:09 -0000 1.12 --- HarnessReport.pm 11 Mar 2004 10:36:02 -0000 1.13 *************** *** 104,108 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 104,108 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Delay.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/Delay.pm,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Delay.pm 2 Mar 2003 11:52:09 -0000 1.4 --- Delay.pm 11 Mar 2004 10:36:02 -0000 1.5 *************** *** 56,60 **** =head1 COPYRIGHT ! Copyright (c) 2002-2003 Duncan Cameron. All rights reserved. This program is free software; you can redistribute it and/or modify --- 56,60 ---- =head1 COPYRIGHT ! Copyright (c) 2002-2004 Duncan Cameron. All rights reserved. This program is free software; you can redistribute it and/or modify Index: DefaultReport.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/DefaultReport.pm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** DefaultReport.pm 10 Sep 2003 10:45:29 -0000 1.11 --- DefaultReport.pm 11 Mar 2004 10:36:02 -0000 1.12 *************** *** 324,328 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 324,328 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Cookies.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/Cookies.pm,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Cookies.pm 2 Mar 2003 11:52:09 -0000 1.7 --- Cookies.pm 11 Mar 2004 10:36:02 -0000 1.8 *************** *** 509,513 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 509,513 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: ContentSizeTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/ContentSizeTest.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ContentSizeTest.pm 2 Mar 2003 11:52:09 -0000 1.9 --- ContentSizeTest.pm 11 Mar 2004 10:36:02 -0000 1.10 *************** *** 98,102 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 98,102 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: Click.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/Click.pm,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Click.pm 5 Sep 2003 20:01:51 -0000 1.18 --- Click.pm 11 Mar 2004 10:36:02 -0000 1.19 *************** *** 233,237 **** =head1 COPYRIGHT ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 233,237 ---- =head1 COPYRIGHT ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify |
From: Ilya M. <m_...@us...> - 2004-03-11 11:02:40
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/Bundle/HTTP In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18401/lib/Bundle/HTTP Modified Files: WebTest.pm Log Message: Update copyright year Index: WebTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/Bundle/HTTP/WebTest.pm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** WebTest.pm 10 Sep 2003 10:38:59 -0000 1.11 --- WebTest.pm 11 Mar 2004 10:36:03 -0000 1.12 *************** *** 54,58 **** =head1 COPYRIGHT ! Copyright (c) 2002-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 54,58 ---- =head1 COPYRIGHT ! Copyright (c) 2002-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify |
From: Ilya M. <m_...@us...> - 2004-03-11 11:02:40
|
Update of /cvsroot/http-webtest/HTTP-WebTest/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18401/bin Modified Files: wt Log Message: Update copyright year Index: wt =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/bin/wt,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** wt 10 Sep 2003 10:37:43 -0000 1.6 --- wt 11 Mar 2004 10:36:03 -0000 1.7 *************** *** 70,74 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 70,74 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify *************** *** 102,106 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 102,106 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify |
From: Ilya M. <m_...@us...> - 2004-03-11 11:02:38
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18401 Modified Files: README Log Message: Update copyright year Index: README =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/README,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** README 2 Mar 2003 11:52:10 -0000 1.10 --- README 11 Mar 2004 10:36:04 -0000 1.11 *************** *** 73,77 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify it --- 73,77 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify it |
From: Ilya M. <m_...@us...> - 2004-03-11 11:02:37
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18401/lib/HTTP Modified Files: WebTest.pm.in WebTest.pm Log Message: Update copyright year Index: WebTest.pm.in =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm.in,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** WebTest.pm.in 5 Sep 2003 20:03:01 -0000 1.35 --- WebTest.pm.in 11 Mar 2004 10:36:02 -0000 1.36 *************** *** 546,550 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 546,550 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify Index: WebTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** WebTest.pm 21 Sep 2003 09:57:11 -0000 1.38 --- WebTest.pm 11 Mar 2004 10:36:03 -0000 1.39 *************** *** 1479,1483 **** Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2003 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify --- 1479,1483 ---- Copyright (c) 2000-2001 Richard Anderson. All rights reserved. ! Copyright (c) 2001-2004 Ilya Martynov. All rights reserved. This program is free software; you can redistribute it and/or modify |
From: Ilya M. <m_...@us...> - 2003-11-28 14:42:12
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv24618 Modified Files: TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/TODO,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** TODO 13 Dec 2002 00:55:51 -0000 1.29 --- TODO 28 Nov 2003 14:42:08 -0000 1.30 *************** *** 7,19 **** * support hidden fields in Click plugin - * automated tests for mail sending (even better unit tests for all - code) - * plugin for page validation with HTML::Validator (HTML::Lint ? or both ?) ! * Generator of Perl and wtscript code from test objects ! * HTTP proxy which autogenerates skeleton of test file (consider using ! HTTP::RecorderSession framework) * HTML formated reports --- 7,15 ---- * support hidden fields in Click plugin * plugin for page validation with HTML::Validator (HTML::Lint ? or both ?) ! * Generator of Perl and wtscript code from test objects (partially done) ! * HTTP proxy which autogenerates skeleton of test file (work in process - see HTTP::WebTest::Recorder) * HTML formated reports *************** *** 23,28 **** * Support including of test scripts into other test scripts ! * More work on cookbook. Probably I need one example of very simple ! plugin. ! * Add test name into errors text --- 19,23 ---- * Support including of test scripts into other test scripts ! * More work on cookbook. Probably I need one example of very simple plugin. ! * Support for meta-refresh \ No newline at end of file |
From: Ilya M. <m_...@us...> - 2003-11-25 10:43:15
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv24369 Modified Files: INSTALL Log Message: Update list of WebTest reqs Index: INSTALL =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/INSTALL,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** INSTALL 25 Nov 2003 09:14:42 -0000 1.14 --- INSTALL 25 Nov 2003 09:16:07 -0000 1.15 *************** *** 4,8 **** * Perl 5.005 or later ! * libwww 5.72 or later * libnet (is included in Perl 5.8.0 and later) * Test::More (is included in Perl 5.8.0 and later) --- 4,8 ---- * Perl 5.005 or later ! * libwww 5.76 or later * libnet (is included in Perl 5.8.0 and later) * Test::More (is included in Perl 5.8.0 and later) |
From: Ilya M. <m_...@us...> - 2003-11-25 10:43:10
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv23532 Modified Files: Makefile.PL Log Message: LWP::UserAgent prior to 5.76 had some problems with redirects we trigger Index: Makefile.PL =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/Makefile.PL,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Makefile.PL 21 Oct 2003 10:31:12 -0000 1.17 --- Makefile.PL 25 Nov 2003 09:12:02 -0000 1.18 *************** *** 16,20 **** PREREQ_PM => { 'Algorithm::Diff' => 0, 'CGI::Cookie' => 0, ! 'LWP' => 5.72, 'MIME::Base64' => 0, 'Net::SMTP' => 0, --- 16,20 ---- PREREQ_PM => { 'Algorithm::Diff' => 0, 'CGI::Cookie' => 0, ! 'LWP' => 5.76, 'MIME::Base64' => 0, 'Net::SMTP' => 0, |
From: Ilya M. <m_...@us...> - 2003-11-25 10:43:06
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv24062 Modified Files: INSTALL Log Message: Update list of make test reqs Index: INSTALL =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/INSTALL,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** INSTALL 21 Oct 2003 10:31:43 -0000 1.13 --- INSTALL 25 Nov 2003 09:14:42 -0000 1.14 *************** *** 22,25 **** --- 22,26 ---- * Algorithm::Diff + * MIME::Base64 * Test::Builder::Tester * Test::MockObject |
From: Ilya M. <m_...@us...> - 2003-10-21 11:57:37
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv25151 Modified Files: INSTALL Log Message: Update requirements Index: INSTALL =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/INSTALL,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** INSTALL 26 Apr 2003 15:17:21 -0000 1.12 --- INSTALL 21 Oct 2003 10:31:43 -0000 1.13 *************** *** 4,8 **** * Perl 5.005 or later ! * libwww 5.60 or later * libnet (is included in Perl 5.8.0 and later) * Test::More (is included in Perl 5.8.0 and later) --- 4,8 ---- * Perl 5.005 or later ! * libwww 5.72 or later * libnet (is included in Perl 5.8.0 and later) * Test::More (is included in Perl 5.8.0 and later) |
From: Ilya M. <m_...@us...> - 2003-10-21 11:14:37
|
Update of /cvsroot/http-webtest/HTTP-WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv25104 Modified Files: Makefile.PL Log Message: Update requirements Index: Makefile.PL =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/Makefile.PL,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Makefile.PL 26 Apr 2003 15:17:20 -0000 1.16 --- Makefile.PL 21 Oct 2003 10:31:12 -0000 1.17 *************** *** 16,20 **** PREREQ_PM => { 'Algorithm::Diff' => 0, 'CGI::Cookie' => 0, ! 'LWP' => 5.60, 'MIME::Base64' => 0, 'Net::SMTP' => 0, --- 16,20 ---- PREREQ_PM => { 'Algorithm::Diff' => 0, 'CGI::Cookie' => 0, ! 'LWP' => 5.72, 'MIME::Base64' => 0, 'Net::SMTP' => 0, |
From: Ilya M. <m_...@us...> - 2003-10-20 19:09:24
|
Update of /cvsroot/http-webtest/HTTP-WebTest/t/test.out In directory sc8-pr-cvs1:/tmp/cvs-serv585/t/test.out Modified Files: redirect Log Message: Updated Index: redirect =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/test.out/redirect,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** redirect 2 Oct 2003 08:59:32 -0000 1.5 --- redirect 20 Oct 2003 13:49:52 -0000 1.6 *************** *** 3,6 **** --- 3,7 ---- 0 2 *** no name *** 0 2 *** no name *** + 0 2 *** no name *** *************** *** 32,34 **** ! Total web tests failed: 0 succeeded: 6 --- 33,44 ---- ! Test Name: N/A ! URL: http://http.web.test/redirect ! ! STATUS CODE CHECK ! Expected '200' and got: 200 OK SUCCEED ! REQUIRED TEXT ! Method: <GET> SUCCEED ! ! ! Total web tests failed: 0 succeeded: 8 |
From: Ilya M. <m_...@us...> - 2003-10-03 09:04:25
|
Update of /cvsroot/http-webtest/HTTP-WebTest/t In directory sc8-pr-cvs1:/tmp/cvs-serv26702 Modified Files: 02-generic.t Log Message: Add another test case for redirects (it fails for now but I'll fix it in next release) Index: 02-generic.t =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/02-generic.t,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** 02-generic.t 2 Oct 2003 08:59:33 -0000 1.29 --- 02-generic.t 3 Oct 2003 09:04:08 -0000 1.30 *************** *** 438,441 **** --- 438,445 ---- params => [ location => '/test-file2' ], text_require => [ 'UUPIPEOUT' ], }, + { url => abs_url($URL, '/redirect'), + method => 'post', + params => [ location => '/show-request' ], + text_require => [ 'Method: <GET>' ], }, ]; |
From: Ilya M. <m_...@us...> - 2003-10-02 08:59:43
|
Update of /cvsroot/http-webtest/HTTP-WebTest/t In directory sc8-pr-cvs1:/tmp/cvs-serv21756/t Modified Files: 02-generic.t Log Message: More tests on POST followed by redirects Index: 02-generic.t =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/02-generic.t,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** 02-generic.t 14 Jul 2003 08:21:08 -0000 1.28 --- 02-generic.t 2 Oct 2003 08:59:33 -0000 1.29 *************** *** 6,9 **** --- 6,10 ---- use strict; + use CGI; use CGI::Cookie; use HTTP::Response; *************** *** 433,436 **** --- 434,441 ---- method => 'post', text_require => [ 'abcde' ], }, + { url => abs_url($URL, '/redirect'), + method => 'post', + params => [ location => '/test-file2' ], + text_require => [ 'UUPIPEOUT' ], }, ]; *************** *** 789,794 **** $connect->send_response($response); } elsif($path eq '/redirect') { my $response = new HTTP::Response(RC_FOUND); ! $response->header(Location => '/test-file1'); $connect->send_response($response); --- 794,806 ---- $connect->send_response($response); } elsif($path eq '/redirect') { + my $location; + if($request->content) { + my $query = CGI->new($request->content); + $location = $query->param('location') + } + $location ||= '/test-file1'; + my $response = new HTTP::Response(RC_FOUND); ! $response->header(Location => $location); $connect->send_response($response); |
From: Ilya M. <m_...@us...> - 2003-10-02 08:59:42
|
Update of /cvsroot/http-webtest/HTTP-WebTest/t/test.out In directory sc8-pr-cvs1:/tmp/cvs-serv21756/t/test.out Modified Files: redirect Log Message: More tests on POST followed by redirects Index: redirect =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/test.out/redirect,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** redirect 17 Aug 2002 12:42:05 -0000 1.4 --- redirect 2 Oct 2003 08:59:32 -0000 1.5 *************** *** 2,5 **** --- 2,6 ---- 0 2 *** no name *** 0 2 *** no name *** + 0 2 *** no name *** *************** *** 22,24 **** ! Total web tests failed: 0 succeeded: 4 --- 23,34 ---- ! Test Name: N/A ! URL: http://http.web.test/redirect ! ! STATUS CODE CHECK ! Expected '200' and got: 200 OK SUCCEED ! REQUIRED TEXT ! UUPIPEOUT SUCCEED ! ! ! Total web tests failed: 0 succeeded: 6 |
From: Ilya M. <m_...@us...> - 2003-09-21 09:57:25
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP In directory sc8-pr-cvs1:/tmp/cvs-serv28307/lib/HTTP Modified Files: WebTest.pm Log Message: Regenerated Index: WebTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** WebTest.pm 5 Sep 2003 20:04:49 -0000 1.37 --- WebTest.pm 21 Sep 2003 09:57:11 -0000 1.38 *************** *** 923,927 **** Give form name attribute (i.e. C<<form name="foo"E<gt>>) on previously ! requested HTML page, builds test request to the submitted page. Note that you still need to pass all form parameters yourself using --- 923,927 ---- Give form name attribute (i.e. C<<form name="foo"E<gt>>) on previously ! requested HTML page, builds test request to the submitted page. Note that you still need to pass all form parameters yourself using |
From: Ilya M. <m_...@us...> - 2003-09-10 11:08:50
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv1334 Modified Files: SelfTest.pm Log Message: Minor code cleanups Index: SelfTest.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/SelfTest.pm,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SelfTest.pm 3 Jul 2003 11:22:01 -0000 1.8 --- SelfTest.pm 10 Sep 2003 11:08:44 -0000 1.9 *************** *** 384,394 **** my $credentials = shift; ! return () unless defined $credentials; $credentials =~ m|^ \s* Basic \s+ ([A-Za-z0-9+/=]+) \s* $|x; my $basic_credentials = $1; ! return () unless defined $basic_credentials; ! my $user_pass = decode_base64($basic_credentials); ! my($user, $password) = $user_pass =~ /^ (.*) : (.*) $/x; ! return () unless defined $password; return ($user, $password); --- 384,393 ---- my $credentials = shift; ! return unless defined $credentials; $credentials =~ m|^ \s* Basic \s+ ([A-Za-z0-9+/=]+) \s* $|x; my $basic_credentials = $1; ! return unless defined $basic_credentials; ! my($user, $password) = split ':', decode_base64($basic_credentials), 2; ! return unless defined $password; return ($user, $password); |
From: Ilya M. <m_...@us...> - 2003-09-10 10:55:35
|
Update of /cvsroot/http-webtest/HTTP-WebTest/t In directory sc8-pr-cvs1:/tmp/cvs-serv31988 Modified Files: 05a-email-report.t Log Message: Use $mock->fake_new(..) instead of $mock->fake_module(..., new => sub{ .. }) Index: 05a-email-report.t =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/05a-email-report.t,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** 05a-email-report.t 5 Sep 2003 19:33:40 -0000 1.2 --- 05a-email-report.t 10 Sep 2003 10:55:30 -0000 1.3 *************** *** 25,31 **** $SMTP = Test::MockObject->new; ! Test::MockObject->fake_module('Net::SMTP', ! new => sub { $SMTP } ! ); require_ok('HTTP::WebTest::ReportPlugin'); --- 25,29 ---- $SMTP = Test::MockObject->new; ! $SMTP->fake_new('Net::SMTP'); require_ok('HTTP::WebTest::ReportPlugin'); |
From: Ilya M. <m_...@us...> - 2003-09-10 10:50:56
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv31245 Modified Files: Plugins.pod Log Message: Minor POD style fix Index: Plugins.pod =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugins.pod,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Plugins.pod 2 Mar 2003 11:52:10 -0000 1.7 --- Plugins.pod 10 Sep 2003 10:50:53 -0000 1.8 *************** *** 3,7 **** =head1 NAME ! HTTP::WebTest::Plugins - Plugin developers documentation. =head1 SYNOPSIS --- 3,7 ---- =head1 NAME ! HTTP::WebTest::Plugins - Plugin developer manual =head1 SYNOPSIS |