Lots of projects now use http to communicate with other modules, and it is not very convenient to test without a sniffer (and even so, when using https, you’ll unlikely get anything usable).
So I started to write several test pages. So if you want to make sure your app is accessing/sending/receiving what you expect, Those test pages may be handy. I’ll try to update this post from my needs, but feel free to suggest me some more tests.
| HTTP Infos | |
| Generic User infos : | Dumps everything from the request : user IP, HTTP headers, cookies, POST & GET data |
| Delayed display : | Wait before responding the page. The timeout can be passed as a get parameter. |
| POSTData reflect : | this page just displays what was sent as POST Data. |
| Redirection | |
| PHP Redirection (301 Code) : | Redirection from the return code (301), and the Location header |
| HTTP Redirection (meta refresh) : | Redirection from the refresh meta tag |
| Javascript Redirection : | Redirection from a client script |
| htaccess / htpassword | |
| Password protected directory : | Basic HTTP Authentication. user = password = test |
| SSL & Certificates | |
| Simple page over SSL | One way SSL (server authenticated) |
| 2 Ways SSL | Soon |