a custom code calls an interface to SAP PI with SAP Proxy. Recently there was an outage in our SAP PI system. We had discovered that the exceptions CX_AI_SYSTEM_FAULT and CX_AI_APPLICATION_FAULT are not properly handled in the custom code. Now PI is back up and running. I want to investigate the issue some further.
My question is: Is there an easy way how to simulate a PI outage in order to throw the exceptions for debugging purposes?
I am on the development systems (both ERP and PI) so it is OK to make PI unreachable for some time. I prefer avoiding shutting down the dev PI server just for debugging if other option exists.