New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed 'Forwarded' should produce 502 if upstream unavailable #568
Comments
Hi @Evynglais! If the mocked service works and it is just to forwarding functionality that does not work then it could be any of these problems:
Hope you find this answer helpful. Have a nice day! |
Hi, Sorry if I wasn't clear. The failure is expected; the issue is that castlemock returns a 500 status code rather than the correct 502 indicating an upstream gateway problem. Thanks |
Describe the bug
Failing to forward a SOAP request using 'Forwarded' status should result in a 502 error, rather than a 500 'Internal Server Error'.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A statusCode 502 indicating an upstream gateway problem, and an error message indicating as such.
Desktop (please complete the following information):
WSDL files or other resource attachments:
Unable to share due to company policy.
The text was updated successfully, but these errors were encountered: