When an endpoint does not exist, for example the server name does not exist, REST functions Test returns HTTP 500 status code instead of returning not resolved.
HTTP 500 Internal Server Error: A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
Steps to Reproduce
- Navigate to Outbound > REST Message
- Create a new function and add a URL with a server that it does does not exist
- Click Test
You will see the response of HTTP 500
Manually execute the script. Using RESTMessageV2 it returns code HTTP 0, instead of HTTP 500.
*** Script: status code: 0
Related Problem: PRB737653