You can also use relative path names to point to test case files located in other directories or subdirectories. If the server responds with an HTTP redirect response , , , etc. Available config settings are: All source code is available to read and modify. If you are using older versions of Perl, your mileage may vary and can be guaranteed not to work for versions older than 5. This works the same as 'verifypositive'.
| Uploader: | Akinolmaran |
| Date Added: | 3 July 2004 |
| File Size: | 25.62 Mb |
| Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
| Downloads: | 85902 |
| Price: | Free* [*Free Regsitration Required] |
Because your verification string is used as a regex, the following characters within it must be escaped with a backslash: This provides graphical trending of time-series data showing Daily, Weekly, Monthly, and Yearly statistics.
This will modify the output of WebInject to be compatible with Nagios. If you want to run from the Wbinject source code or make any modifications to the source code, you will need to setup your Perl environment.
WebInject - Software Testing Tools Guide
Just keep that binary in the same directory as WebInject and no additional configuration is needed. So give the webiniect of these files to 'nagios' or remove them and run WebInject again as the 'nagios' user the one declared in nagios.
However, if you make any modifications that you would like to publish, these wwebinject must also be covered under the same licensing terms. Nagios Plugins Aside from the normal usage as an individual test harness, WebInject can run in a mode that allows it to be used as a plugin for Nagios. The log is automatically consolidated so that it does not grow over time, but still contains all the relevant data for all the stats seen over the last two years.
WebInject - (HTTP) Web Application and Web Services Test Tool - Screenshots
Based on the example wsbinject described earlier, here is a minimal MyApplication. In this case, it wbinject used in console mode as an intelligent test agent that returns status and response times to your external program. WebInject is Free as in freedom and Open Source. An XML file results. You may use complex test case files consisting of multiple tests and verifications chained together, or you may use a simple test case to act as a probe.
F.A.Q. - Frequently Asked Questions About WebInject
Selecting this option before you run your test cases will suppress details of each test case from being displayed in the output window. This works in the same way as the 'baseurl' example above. A Perl module is a block of code that performs a specific function.

In order to run it from Perl source, you need a Perl Interpreter with the required modules built and installed. Normally, as responses are received a new graph is generated and displayed to the Monitor Window in real-time, replacing the previous one. WebInject offers real-time results display and may also be used for monitoring system response times. Using daemon mode, MRTG itself is responsible for timing the measurement intervals. This allows client connections to be tracked and connection-specific data to be maintained.
Beware that if you run WebInject with a user other than the default 'nagios', some files may be created with this user. Webinuect is offered on a volunteer basis from the developer and community of WebInject users.
Build and Configuration Information
This is the default graph style. Once everything is setup, it is advisable to manually validate your WebInject test before configuring Nagios to use it. Therefore, the GUI will not be responsive during the time it is "sleeping". This makes it convenient to change data in a single place that is easy to reference from multiple test cases. All source code is available to read and modify.
If you do not need SSL, you can comment out the "use Crypt:: In order to do this, WebInject provides a method of parsing data from an HTTP response to be resent in subsequent requests.
You can run the WebInject Engine webinject. It is very popular and used by many big companies and organizations for enterprise monitoring. The idea is to consider all of these 4 consecutive WebInject tests as one global test in the Nagios environment.
The same level of detail that is written to results. To maintain state, you need to grab this value so you can resend it in subsequent requests. Response time data is still collected while this option is selected.

Комментарии
Отправить комментарий