I use the App Engine for run my application and want to test how it will handle server errors.
Is there any possibility to simulate an error 500 via the WebTest ?
I use the App Engine for run my application and want to test how
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A 500 error is just what your webapp returns to the client when it gets an uncaught exception. It’s not a specific failure – just what it shows to your users when something unexpected goes wrong. Instead, you should unit-test your handlers to ensure they act as expected.