I have written a custom DCTM rest service(16.4) to connect to Documentum and fetch objectId from DCTM DB.
To test the exception scenarios, In case if the Documentum Content server is down, will the request comes till the session creation and fails there? or will it fail when we hit the URL(post man).
Yesterday, I have tested this by stopping the CS, first two times when I hit the URL, it throws 500 error (Internal Server Error), it actually went to the session creation code and after the next hits, it is throwing 404, E_BAD_Repository_Error(my code is not executing).
In my case, if the Documentum server is down, it should throw 5xx error. Is this achievable?
I know only if the DCTM DB is down, it throws 500 error.