We developed a web service project for which we recently enhanced it to do some operations if remote exception occurs. Everything is perfect except that we are not able to understand how to test this functionality as this would require generating a remote exception.
Now my question is,
- How to replicate remote exceptions for testing?
I tried reading lot of articles, but could not find anything relevant to what I am searching for. As of now, we do not have any scenario which causes this failure, any suggestions would help a lot.
Thx in adv.
Aucun commentaire:
Enregistrer un commentaire