Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP
In directory usw-pr-cvs1:/tmp/cvs-serv16194a/lib/HTTP
Modified Files:
WebTest.pm.in WebTest.pm
Log Message:
Removing Apache plugin from HTTP-WebTest (to be published as separate
CPAN module)
Index: WebTest.pm.in
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** WebTest.pm.in 11 Oct 2002 21:35:07 -0000 1.22
--- WebTest.pm.in 19 Oct 2002 22:37:54 -0000 1.23
***************
*** 541,552 ****
=cut
- =for pod_merge replace apache
-
- Content of this section should be autogenerated from POD documentation
- in Apache plugin module. Everything from this point till next =cut
- will be replaced with autogenerated documentation.
-
- =cut
-
=head1 RESTRICTIONS / BUGS
--- 541,544 ----
Index: WebTest.pm
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest.pm,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** WebTest.pm 18 Oct 2002 21:09:30 -0000 1.28
--- WebTest.pm 19 Oct 2002 22:37:55 -0000 1.29
***************
*** 3,7 ****
# lib/HTTP/WebTest.pm.in
# lib/HTTP/WebTest.pm.in
- # lib/HTTP/WebTest/Plugin/Apache.pm
# lib/HTTP/WebTest/Plugin/Click.pm
# lib/HTTP/WebTest/Plugin/ContentSizeTest.pm
--- 3,6 ----
***************
*** 566,636 ****
C<yes>
- =head2 apache_dir
-
- I<GLOBAL PARAMETER>
-
- Absolute or relative path name of directory containing Apache files.
- See the L<APACHE DIRECTORY AND FILES|/"APACHE DIRECTORY AND FILES">
- section. This parameter is ignored unless the C<file_path> parameter
- is specified.
-
- =head3 Default value
-
- C</usr/local/etc/http-webtest>
-
- =head2 apache_exec
-
- I<GLOBAL PARAMETER>
-
- Absolute or relative path name of Apache executable. This command can
- be in your C<$PATH>. This parameter is ignored unless the
- C<file_path> parameter is specified.
-
- =head3 Default value
-
- C</usr/sbin/apache>
-
- =head2 apache_loglevel
-
- I<GLOBAL PARAMETER>
-
- Apache logging level. If you use a level less than C<warn> (i.e.,
- C<debug>, C<info>, or C<notice>), the program may generate irrelevant
- errors. This parameter is ignored unless the C<file_path> parameter
- is specified. See also the C<ignore_error_log> parameter.
-
- =head3 Allowed values
-
- C<debug>, C<info>, C<notice>, C<warn>, C<error>, C<crit>, C<alert>,
- C<emerg>
-
- =head3 Default value
-
- C<warn>
-
- =head2 apache_max_wait
-
- I<GLOBAL PARAMETER>
-
- Maximum number of seconds to wait for Apache to start. This parameter
- is ignored unless the C<file_path> parameter is specified.
-
- =head3 Default value
-
- C<60>
-
- =head2 apache_options
-
- I<GLOBAL PARAMETER>
-
- Additional Apache command line options. Many of the options cause
- Apache to exit immediately after starting, so the web page tests will
- not run. This parameter is ignored unless the C<file_path> parameter
- is specified.
-
- =head3 Allowed values
-
- See Apache documentation
-
=head2 auth
--- 565,568 ----
***************
*** 1003,1019 ****
It marks the end of test block.
- =head2 error_log
-
- I<GLOBAL PARAMETER>
-
- The pathname of a local web server error log. The module counts the
- number of lines in the error log before and after each request. If
- the number of lines increases, an error is counted and the additional
- lines are listed in the report. This argument should be used only
- when the local web server is running in single-process mode.
- Otherwise, requests generated by other processes/users may add lines
- to the error log that are not related to the requests generated by
- this module. See also parameter C<ignore_error_log>.
-
=head2 fh_out
--- 935,938 ----
***************
*** 1027,1046 ****
as arguments from a calling Perl script.
- =head2 file_path
-
- If L<HTTP::WebTest|HTTP::WebTest> encounters parameter C<file_path> it
- switches in local web file test mode. In local web file test mode it
- launches an instance of Apache daemon, copies local test file(s) under
- DocumentRoot of this Apache and performs test checks against it.
-
- =head3 Allowed values
-
- Two-element list. First element is the file to test, either an
- absolute or a relative pathname. Second element is the subdirectory
- pathname, relative to the Apache htdocs directory, to copy the file
- to. The copied file will have the same basename as the first element
- and the relative pathname of the second element. To copy the file
- directly to the htdocs directory, use a pathname of C<.> or C<./.>.
-
=head2 form_name
--- 946,949 ----
***************
*** 1089,1134 ****
C<no>
- =head2 ignore_error_log
-
- Option to ignore any errors found in the Apache error log. The
- default behavior is to flag an error if the fetch causes any errors to
- be added to the error log and echo the errors to the program output.
- This check is available only if C<error_log> parameter is specified.
- See also the C<apache_loglevel> parameter.
-
- =head3 Allowed values
-
- C<yes>, C<no>
-
- =head3 Default value
-
- C<no>
-
- =head2 include_file_path
-
- List with an even number of elements. Odd-numbered elements are files
- to copy to the the temporary Apache directory before running the
- tests. These files can be specified using either an absolute or a
- relative pathname. Even-numbered elements are the subdirectory
- pathname, relative to the Apache ServerRoot directory, to copy the
- corresponding file to. The copied file will have the same basename as
- the odd-numbered element and the relative pathname of the
- corresponding even-numbered element. To copy the file directly to the
- ServerRoot directory, use a pathname of C<.> or C<./.>.
-
- For example:
-
- include_file_path = (/home/tester/inc/header.inc => htdocs/includes)
-
- will copy the file to htdocs/includes/header.inc.
-
- This parameter is also useful for adding Perl modules that are needed
- by the web page specified by the file_path parameter. For example:
-
- include_file_path = ( ../apps/myapp/DBconn.pm => lib/perl/apps )
-
- will copy the Perl module DBconn.pm to a directory that is in the
- Perl @INC array.
-
=head2 mail
--- 992,995 ----
***************
*** 1558,1603 ****
where C<NN> is version number of HTTP-WebTest.
-
- =cut
-
-
-
- =head1 APACHE DIRECTORY AND FILES
-
- A tree of directories with templates of Apache config files is
- required to run local web file tests.
-
- The C<apache_dir> parameter must be set to the name of a directory
- that contains the subdirectories C<conf>, C<logs> and C<htdocs>. The
- C<conf> subdirectory must contain a file named C<httpd.conf-dist>.
- The C<htdocs> subdirectory must contain a subdirectory named
- C<webtest> that contains a file named C<is_apache_responding.html>.
- If your installation of Apache has the Perl module
- L<Apache::ASP|Apache::ASP> configured, the C<apache_dir> directory
- must also contain a subdirectory named C<asp_tmp>.
-
- The file C<httpd.conf-dist> is used as template for the Apache config
- file. It contains tags which are replaced with the values needed by
- the Apache server that the program starts at runtime.
-
- =over 4
-
- =item * Please_do_not_modify_PORT
-
- To be replaced with port number on which Apache runs during tests.
-
- =item * Please_do_not_modify_HOST_NAME
-
- To be replace with Apache host name.
-
- =item * Please_do_not_modify_SERVER_ROOT
-
- To be replaced with Apache server root.
-
- =item * Please_do_not_modify_LOG_LEVEL
-
- To be replaced with Apache log level.
-
- =back
=cut
--- 1419,1422 ----
|