How to check if you are using compression?

As a performance tester, a quick performance win is to do a front end analysis of the website. One of the key items to check is whether HTTP compression is enabled. Compression is a simple way to save bandwidth and speed up any site. With modern browsers all having built in debuggers, checking for compression is easier than […]
Continue reading…

 

Induce a HTTP 500 error in PHP for testing custom error pages

When testing a custom error page in Apache, you may want to induce a HTTP 500 Internal Server Error. The simplest way to do this is to create a new php file with the following contents:

The code will raise an exception, resulting in a regular HTTP 500 error page. If you have custom […]
Continue reading…