IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Testing monitor models > Emitting test events > Use the Integrated Test Client to send events

Create sample events for testing

You can create sample events from the events definitions in the selected monitor model. Sample events are created in the Add Values to Events section and added to the test script.

Before you begin this task, launch the Integrated Test Client by right-clicking a monitor model and clicking Launch Integrated Test Client.

To create a sample event and add it to the test script, complete the following steps:


Procedure

  1. In the Add Values to Events section of the Integrated Test Client, select a monitoring context definition. The Monitoring context field lists all the monitoring contexts defined in the monitor model.

  2. Select the inbound event definition for which you want to create a sample event in the Event definition field.

  3. For any predefined data elements, enter values in the Values column of the Predefined data section under the Common Base Event data.

  4. For any context data elements, enter values in the Values column of the Property data elements section under the Common Base Event data.

  5. For any extended data elements, enter values in the Values column of the Extended data elements section under the Common Base Event data.

  6. For any XSD-defined event parts, enter values in the Values column of the Event part details section under the Event details. In the first table, click each event part to show its corresponding fields in the second table. Enter the values for each field in the second table.

  7. When you have finished adding values to the sample event, add it to the test script by clicking Add to Test Script

    .

  8. When you are prompted to give this sample event a name, accept the name of the event definition or change the name if you prefer, and click OK. This name is used only to label the event in the test script and is not part of the event content that will be sent when the script runs.


Results

The sample event is added at the bottom of the test script.

Use the Integrated Test Client to send events