First create a dummy test port using transaction WE21 and then use transaction WE46 (“Test” tab) to define that as your test port. Transaction WE05 allows you to actually see actual IDocs in the system.

There are many transactions to help with testing (with WE19 being one of the best). See the Common Transactions page for a list.