MQ Visual Edit

Chapter 10 SIM Server

SIM Server

This section will describe how to invoke and use the SIM Server Stress Testing tool. The SIM Server will continuously consume messages and for each incoming messages, send a reply message(s). The reply message's data can be from 1 of 3 Data Sources: A simple input text from the screen or from a text file or from a VEQ Backup file (this file can contain many messages with MQMDs).

The incoming message MUST have the Reply-To-Queue and Reply-To-QMgr fields filled in. The SIM Server will use these fields to sent a reply message to. Also, the incoming message's MsgID field of the MQMD header is copied to the outgoing message's CorrelID field of the MQMD header.

For the Stress Testing Servers (Get, Put & SIM Servers), you can have unlimited number of them running (up to what your box can support). Also, while any of the Servers are running, the user can still use MQ Visual Edit.

From the main panel of MQ Visual Edit, select Tools, then SIM Server.

 

This is the main panel of the SIM Server. The user will need to select the queue and queue manager before starting the SIM Server. Click the Select button to choose the queue and queue manager.

 

This is the standard 'Open Queue' dialog. Select the queue and queue manager then click the Open button.

 

Once the queue and queue manager have been selected, the user can provide more information:

  • The user can choose to ignore 'Datagram' type messages or reply to them. (Note: The incoming message's Reply-To-Queue and Reply-To-QMgr fields of the MQMD header must be filled in.)
  • The user is required to select a Data Source. The message text can come from 1 of 3 sources:
    • The user can input simple text in the text box on the SIM Server panel. The MQMD header will default to whatever the queue defaults attributes are.
    • The user can select a text file to be used as the message text. The MQMD header will default to whatever the queue defaults attributes are.
    • The user can select a VEQ Backup file. A VEQ Backup file can have multiple messages (including MQMD header) in it. Therefore, each message (with the associated MQMD header) in the VEQ Backup file will be written as separate messages to the output queue. Note: If there are 8 messages in the VEQ Backup file then a total of 8 messages will be written to the output queue for each incoming message.

After filling in the required information, the user can start the SIM Server by clicking the Start button.

 

While the SIM Server is running, the current statistics are displayed and updated. To stop the execution of the SIM Server click the Stop button.

 




Copyright © 2002-2012 Capitalware Inc.  All Rights Reserved.