Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP
In directory usw-pr-cvs1:/tmp/cvs-serv18261/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.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** WebTest.pm 22 Aug 2002 09:10:10 -0000 1.27
--- WebTest.pm 18 Oct 2002 21:09:30 -0000 1.28
***************
*** 423,427 ****
my $tests = [
! { name => 'Yahoo home page',
url => 'http://www.yahoo.com',
text_require => [ '<a href=r/qt>Quotations</a>...<br>' ],
--- 423,427 ----
my $tests = [
! { test_name => 'Yahoo home page',
url => 'http://www.yahoo.com',
text_require => [ '<a href=r/qt>Quotations</a>...<br>' ],
***************
*** 437,440 ****
--- 437,441 ----
};
+ my $webtest = new HTTP::WebTest;
$webtest->run_tests($tests, $params);
***************
*** 1330,1335 ****
C<multipart/form-data> content type used for C<Form-based File Upload>
as specified in RFC 1867. Each parameter with list value is treated
! as file part specification specification with the following
! interpretation:
( FILE, FILENAME, HEADER => VALUE... )
--- 1331,1335 ----
C<multipart/form-data> content type used for C<Form-based File Upload>
as specified in RFC 1867. Each parameter with list value is treated
! as file part specification with the following interpretation:
( FILE, FILENAME, HEADER => VALUE... )
***************
*** 1353,1356 ****
--- 1353,1358 ----
Additional optional headers for file part.
+ =back
+
Example (wtscript file):
***************
*** 1363,1368 ****
and reported under name C<myfile.txt>.
- =back
-
=head2 pauth
--- 1365,1368 ----
***************
*** 1414,1417 ****
--- 1414,1430 ----
See also the C<text_require> and C<ignore_case> parameters.
+ =head2 relative_urls
+
+ If set to C<yes> than C<HTTP-WebTest> supports relative URLs. See
+ test parameter C<url> for more information.
+
+ =head3 Allowed values
+
+ C<yes>, C<no>
+
+ =head3 Default value
+
+ C<no>
+
=head2 send_cookies
***************
*** 1523,1528 ****
=head2 url
! URL to test. If schema part of URL is omitted (i.e. URL doesn't start
! with C<http://>, C<ftp://>, etc) then C<http://> is implied.
=head2 user_agent
--- 1536,1549 ----
=head2 url
! URL to test.
!
! If test parameter C<relative_urls> is set to C<yes> than URL for each
! test is treated as relative to the URL in the previous test. URL in
! the first test is treated as relative to C<http://localhost>.
!
! If test parameter C<relative_urls> is set to C<no> than each URL is
! treated as absolute. In this case if schema part of URL is omitted
! (i.e. URL doesn't start with C<http://>, C<ftp://>, etc) then
! C<http://> is implied.
=head2 user_agent
***************
*** 1587,1594 ****
--- 1608,1621 ----
etc.) but it should work on Win32 systems. (Exception: local file tests
don't work on Win32 systems.)
+
The module's HTTP requests time out after 3 minutes (the default value
for L<LWP::UserAgent|LWP::UserAgent>). If the C<file_path> parameter is
specified, Apache must be installed.
+ If you want to test https:// web sites you may have to install
+ additional modules to enable SSL support in L<LWP>. In short you may
+ have to install L<Crypt::SSLeay> module. For details see README.SSL
+ file in L<LWP> distro.
+
=head1 AUTHORS
***************
*** 1607,1611 ****
C<HTTP::WebTest> maillist.
You can sign up at
! http://lists.sourceforge.net/lists/listinfo/http-webtest-general.
The email address is C<htt...@li...>.
--- 1634,1638 ----
C<HTTP::WebTest> maillist.
You can sign up at
! http://lists.sourceforge.net/lists/listinfo/http-webtest-general .
The email address is C<htt...@li...>.
|