In order to make the code more stable and be able to handle error conditions you can simulate an “error”.
You can use the <Memo> tag and send in a string with the following format: return_code=xxx.yyy.zzz.
For example:
<Memo>return_code=800.300.101</Memo>
This will force the system to create a response containing the error code 800.300.101 and the following info message:
<InfoMessage>This error is the result of passing: "return_code=800.300.101" in the memo-field of the request</InfoMessage>
ATTENTION: All of this will only work on the test system. It will not work on the LIVE system.