iNTERFACEWARE Products Manual > Installing and Using Iguana > Using the Tools and Utility Applications > Testing System Integrity With The generator Utility |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The generator utility program, which is included with Iguana, provides a convenient way to ensure that no messages are being lost in transit while they are being sent from one system to another.
generator is intended to be used simultaneously by the system that is sending messages and the system that is receiving messages. The system that is receiving messages keeps track of the message IDs of the received messages. If it receives a message ID different from the one that it is expecting, it generates an error. If no errors are detected, all messages were received in the correct order. To set up generator on the system that is sending messages, you need to create a channel that has From Plugin as the source component and that defines generator as the plugin to be executed. To do this:
Now that you have set up generator on the system that is sending messages, the next step is to set up generator on the system that is receiving messages. To do this:
When generator is set up on both systems, you can test whether your messages are being sent properly. To do this, start both of the channels. If the messages are being received properly, the receiving channel will indicate that there are no channel errors, and log messages similar to the ones below will appear in the logs: generator uses a tracker file to keep track of the message ID of the last message sent or the last message received by a channel. This tracker file is located in the plugins\generator_files subdirectory of the directory in which Iguana is installed. One tracker file is defined for each channel source component or destination component that uses generator. The tracker file for the source component is named <channel>_source_id.txt, where <channel> is the name of the channel. The tracker file for the destination component is named <channel>_state.txt. If you need to restart a test, delete the tracker file for the source component of the sending channel and delete the tracker file for the destination component of the receiving channel.
When using generator, you can specify any of the following options:
|