This repository has been archived by the owner on May 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
README
45 lines (34 loc) · 1.57 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
What is WebInject?
WebInject is a free tool for automated testing of web applications and
web services. It can be used to test individual system components that
have HTTP interfaces (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms,
XML/SOAP Web Services, REST, 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 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.
Installation
We need to install a few prerequisite Perl modules for the test runner:
Module::Install
Module::Install::ReadmeFromPod
LWP::Protocol::https
XML::Simple
XML::Parser
These can either be installed via CPAN or from your favourite package
manager. For example, on Fedora Linux:
dnf install perl-Module-Install perl-Module-Install-ReadmeFromPod \
perl-libwww-perl perl-LWP-Protocol-https perl-XML-Simple \
perl-XML-Parser
For Debian based systems:
apt install libmodule-install-perl libmodule-install-readmefrompod-perl \
libwww-perl liblwp-protocol-https-perl libxml-simple-perl \
libxml-parser-perl
With those in place, the test runner can be installed:
cd Webinject
perl Makefile.PL
make
sudo make install