services. It can be used to test individual system components that have HTTP interfaces (JSP, ASP, CGI, PHP, Servlets, HTML Forms, XML/SOAP Web Services, etc), and can be used as a test harness to create a suite of [HTTP level] automated functional, acceptance, and regression tests. A test harness, also referred to as a test driver or a test framework, allows you to run many test cases and collect/report your results. WebInject offers real-time results display and may also be used for monitoring system response times. WebInject can be used as a complete test framework that is controlled by the WebInject User Interface (GUI). Optionally, it can be used as a standalone test runner (text/console application) which can be integrated and called from other test frameworks or applications. WWW: http://www.webinject.org/ PR: ports/102402 Submitted by: Gerrit Beine <gerrit.beine(at)gmx.de>
20 lines
742 B
Perl
20 lines
742 B
Perl
--- webinject.pl.orig Wed Jan 4 19:10:30 2006
|
|
+++ webinject.pl Mon Sep 4 16:19:08 2006
|
|
@@ -1362,12 +1362,12 @@
|
|
#------------------------------------------------------------------
|
|
sub getdirname { #get the directory webinject engine is running from
|
|
|
|
- $dirname = $0;
|
|
- $dirname =~ s~(.*/).*~$1~; #for nix systems
|
|
- $dirname =~ s~(.*\\).*~$1~; #for windoz systems
|
|
- if ($dirname eq $0) {
|
|
+# $dirname = $0;
|
|
+# $dirname =~ s~(.*/).*~$1~; #for nix systems
|
|
+# $dirname =~ s~(.*\\).*~$1~; #for windoz systems
|
|
+# if ($dirname eq $0) {
|
|
$dirname = './';
|
|
- }
|
|
+# }
|
|
}
|
|
#------------------------------------------------------------------
|
|
sub getoptions { #command line options
|