iNTERFACEWARE Products Manual > Installing and Using Iguana > Using Iguana > Working With Plugins > Testing a Plugin > Testing a Destination Plugin |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The easiest way to test a destination plugin is to create a test channel with LLP Listener as the source component and To Plugin as the destination component. You can then use the HL7 Simulator, included with your installation of Iguana, to send test messages through the channel and ensure that the plugin receives them properly. To create the test channel:
After you have created the channel, you can use the HL7 Simulator to test the plugin. To test the plugin:
When the HL7 Simulator sends the test message, an OnMessageReceived event is triggered in the plugin. The event handler writes the test message to the plugin console window.
After you have successfully tested your plugin, you can create a production channel that processes the messages that are to be received by your plugin. This production channel can automatically start the plugin when the channel is started. For details on how to create this channel, see Creating a Channel For a Destination Plugin. |