You can create a WCF stub with two Operation Contracts Publish() and Subscribe() to test your application. All you need to do is, host this WCF service stub in Console Application. (Check the
link[
^] to figure out how).
The stub should work in the following fashion:
-Publish(): This stub's Operation will publish messages to BizTalk by reading a file location where you can place your input files.
-Subscribe(): This Stub's Operation will accept/capture messages from BizTalk and save it on a file location.
You can then use
BizUnit[
^] to check the output file if it is compliant with your output or not.
Note: Replace Publish() and Subscript() with the operations on Receive and Send ports respectively.