- Create a service layout.
- Create a new mock answer.
- Open the answer layout editor (double-clicking it) and click on the exclamation mark symbol that creates the SOAP Fault response.
If you look at the response RAW code, you will see error code 500. (Internal HTTP / 1.1 500 server error)
Btw, if you created two reponses, successful and the error response, and then when using the mock service SOAPUI alternates between the two answers.
source share