I\'m trying to functional test the HTTP status code for a certain request is 200 not 500. I\'m using Symfony2, and here\'s the code:
200
500
You could also echo the html after the request to see what's in the response.
echo $crawler->html();