Simon icon Simon
Flexible server monitoring

Check for closing </html> tag in Source code

We had an issue the other day where the website white screened, seemed to be ok because it was passing an HTTP header back successfully but the page was completely blank.

Is their any way to check for a white screen? Or check for a closing tag in the source code?

David Sinclair's picture

Re: Check for closing </html> tag in Source code

Sure, it's easy to ensure there's a </html> tag in the page source.

The simplest way is to use a Find Required filter to search for that text; that will result in a failure if it isn't present. You can add that filter to a test that also has change detection; you can have any number of filters in a test.