summaryrefslogtreecommitdiffstats
path: root/plugins/tests/check_http.t
AgeCommit message (Collapse)AuthorFilesLines
2017-05-05Merge branch 'master' into feature_check_curlAndreas Baumann1-3/+40
2017-03-26Added tests for virtual port behaviour. Separated from all other tests this ↵refs/pull/1474/headChristopher Odenbach1-2/+39
time.
2017-03-18check_curl: make check_curl use the same tests as check_httpSven Nierlein1-3/+6
2016-11-11Revert "adopt http test to changed ssl expire date output"Sven Nierlein1-4/+4
This reverts commit 6cd50bc42cb4b25a3c0f7153df7f83b7262f404b.
2016-11-11tests: make tests reliable for forcing the locale to CSven Nierlein1-0/+2
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-11adopt http test to changed ssl expire date outputSven Nierlein1-4/+4
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-07GMT expiry displayPeter (pir) Radcliffe1-4/+4
Change solution to display GMT time in the local display format with the offset number of hours from GMT to be clear about what timezone this is if the local display format does not include offset.
2016-11-07Revert "Fix check_http test time output"Peter (pir) Radcliffe1-4/+4
This reverts commit 2d9e61a4382b8366331cde7617dbc4e381a0219a.
2016-11-07Fix check_http test time outputPeter (pir) Radcliffe1-4/+4
Tests need to match new output time and timezone.
2015-10-02fix tests for certificates expire date with secondsSven Nierlein1-4/+4
2014-07-21plugins/tests/check_http.t: Adjust date stringsHolger Weiss1-4/+4
Adjust the expected date strings to the now-localized output produced by plugins/sslutils.c. Closes #1275.
2014-06-13require at least HTTP::Daemon 6.01Sven Nierlein1-1/+2
since the test uses send_header from HTTP::Daemon::ClientConn which has been introduced in HTTP::Daemon 6.01
2014-06-12tests: testCmd has own timeout which overwrites local oneSven Nierlein1-15/+9
so add configurable/optional timeout to testCmd. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-01-19Project rename initial commit.Monitoring Plugins Development Team1-1/+1
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline.
2013-08-18Fix the "check_http -d" testsHolger Weiss1-4/+4
2013-08-18added ability to check regex against http headers. booyah!linkslice1-0/+11
2012-08-10tests/check_http.t: Fix whitespace issuesHolger Weiss1-10/+8
In tests/check_http.t, tabs are used for indentation. While at it, apply another few cosmetic changes.
2012-08-10tests/check_http.t: Update the number of SSL testsHolger Weiss1-1/+1
2012-08-10tests/check_http.t: Fix test caseHolger Weiss1-1/+1
Fix the test case which is meant to make sure that check_http -C <n>,<m> [...] returns a CRITICAL state if <m> is large enough.
2012-06-25added test case for certificate checs with both warning and critical valuesWilliam Leibzon1-0/+4
2011-02-04check_http: check for and print the certificate cnThomas Guyot-Sionnest1-3/+3
This patch adds a check for the certificate cn (hostname) to normal certificate checks. It returns CRITICAL if th cn is missing, otherwise it prints it in the normal output. Patch by Stéphane Urbanovski
2010-12-01Fix minor test issuesThomas Guyot-Sionnest1-14/+21
My Test::More wouldn't print the total number of tests anymore, moving the plan at the top appears to fix it. At the same time I made check-http.t eval the special modules so it can skip the tests instead of failing.
2010-06-23Display missing search string and URL when failed (Duncan Ferguson #2999924)tonvoon1-1/+9
2009-03-21check_http: add --onredirect=stickyport - also follow the same portThomas Guyot-Sionnest1-12/+36
2009-03-20tests/check_http.t: Add various timeout-related testsThomas Guyot-Sionnest1-3/+51
2009-03-19Revert "Add timezone support and fix checks around cert expiration" (keep ↵Thomas Guyot-Sionnest1-3/+3
the expiration fix) This reverts commit d41a33a434558189300113c28b26e2d3d681d390.
2009-03-18Add timezone support and fix checks around cert expirationThomas Guyot-Sionnest1-3/+3
2009-03-16Update extended check_http tests for 0d78171...Thomas Guyot-Sionnest1-42/+39
Also add some tests, and make debug mode loop infinitely.
2009-03-06Create expired cert for testing purposes. Updated tests to checkTon Voon1-10/+56
expired and unexpired certificates
2009-03-05Added inline tests for HTTPS using HTTP::Daemon::SSLTon Voon1-128/+194
2008-11-08Fixed bug where extra headers and redirect caused segfault (Dieter Van de ↵Ton Voon1-2/+29
Walle - 2089159) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2076 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08check_http now has options to specify the HTTP method (Jan - 2155152)Ton Voon1-4/+65
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2075 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-25Fix small test failureTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25Fix HTTP::Daemon::VERSION to get a fixed header size for testsTon Voon1-0/+3
(Sven Nierlein) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2048 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25Updated with more tests re: multiple status codes (Sven Nierlein)Ton Voon1-1/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2047 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25The "-e" option now accepts a comma-delimited list of expected statusHolger Weiss1-2/+9
lines (Sven Nierlein - 1894496). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2046 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-22Added HTTP tests for status codesTon Voon1-0/+101
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2045 f882894a-f735-0410-b71e-b25c423dba1c