Browse Prior Art Database

A TECHNIQUE AND APPARATUS FOR AUTOMATIC GENERATION OF IBM* MQSERIES* MESSAGES

IP.com Disclosure Number: IPCOM000020389D
Original Publication Date: 2003-Nov-19
Included in the Prior Art Database: 2003-Nov-19
Document File: 3 page(s) / 111K

Publishing Venue

IBM

Abstract

The general purpose of automatic message generation is to give the user the ability to generate a stream of message inputs with some characteristics. The message suite generated can then be used to test the receiving application (MQSeries*), to test a specific Message Flow (MQSeries Integrator), or to test the correctness of a process flow (MQSeries Workflow). The user selects a message type and then defines a generation profile, which includes directives for generation: the number of messages to generate, a random seed to use and the mixture of generation functions to use for every message field. Basic generation functions are provided, such as: random value, sequential values, value read from a file, etc. The set of generation functions available matches the different field types possible in an MQ message. The generation profile can be kept for a future use, along with the message type. The automatic message generation process is divided into two main steps: 1) Message generation - data generation for each message field. In this step the user defines the generation functions for each message field and the specific data is generated. 2) Message browser - in this step the user is able to browse through the messages generated and modify the message suite. A concrete message can be generated using the data generated in step 1, and sent to a desired MQ queue.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 56% of the total text.

Page 1 of 3

A TECHNIQUE AND APPARATUS FOR AUTOMATIC GENERATION OF IBM* MQSERIES* MESSAGES

Message Generation

    The data generation process generates a large number of messages for a specific message type according to the user directives. These are the steps of the process:

Select a message type from a list of predefined message types that exist in the

workspace. A default generation function is assigned to each message field. For a chosen

subset of the message fields select a mixture of generation functions from the available generation functions. Several generation functions can be selected for a single field by specifying the probability for applying each of the functions. The generation functions are specific for every data type. Define a random seed to be used by the generation functions. This enables the

user to direct successive generations. Determine the number of messages to generate.

    The set of generation selections made by the user can be defined as a generation profile. The generation profile is specific for a message type. The generation profile is saved as part of the message type. Several profiles can be defined and saved for the same message type. A message type is constructed from previously defined element types, that can appear in several message types.

    The tool enables the user to create a generation profile for each defined element type. In addition the user can refine this generation profile by creating a new generation profile in each place where the defined element type is used. This feature provides a general generation profile override mechanism.

    When the user defines a new generation profile for a message type, for each of the contained element types he can choose to:

Use a predefined generation profile, Use a default generation profile, Create a new generation profile for the element.

    The data generation process is performed for a selected message type. The data generation proceeds by applying the selected generation functions for each field. The number of messages generated is set by the user. The random seed selected holds for the entire group of messages generated.

    The following image presents the message generation window. On the left hand side o...