iNTERFACEWARE Products Manual > Installing and Using Iguana > Using Iguana > Working With Plugins > Testing a Plugin > Testing a Source Plugin |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The easiest way to test a source plugin is to create a test channel with From Plugin as the source component and LLP Client as the destination component. You can use the HL7 Listener, included with your installation of Iguana, to display the messages that the plugin sends. To create the test channel:
After you have created the channel, you can test the plugin as follows:
When the channel is started, it begins sending out MessageRequest events at regular intervals to request a message from the plugin. (The time between events is specified in the Polling time field of the From Plugin destination component of the channel.)
When the plugin is started, the following happens:
The console for the plugin displays that the message was sent successfully, and the sent message is displayed in the HL7 Listener's display window: To finish testing your channel:
After you have successfully tested your plugin, you can create a production channel that processes the messages sent 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 Source Plugin. |