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

Integrated Test Client reference

The Integrated Test Client uses buttons to create and modify test scripts for the emission of sample events to a monitor model.


Buttons

The following table lists the buttons found in the Integrated Test Client.

Buttons in the Add Values to Events section
Icon image Name Description

Add to Test Script Adds the sample event to the bottom of the test script.

Add Edited Values Saves changes to the values of the sample event in the test script and exits edit mode. This button is only available when the sample event is being edited from the test script.

Cancel Edit Cancels the edits made to the values in the sample event and exits edit mode. This button is only available when the sample event is being edited from the test script.

Buttons in the Create Test Script section
Icon image Name Description

Create new test script Creates a new test script.

This will clear all commands that are currently in the test script. If you want to save the commands in the current script, use the Save as button.

Open existing test script Opens an existing test script.

Save test script Saves the test script. If the Script file field contains the value untitled, you must name the test script.

If the test script is empty (contains no commands) the save button does not save the empty script.

Save test script as Saves the script with another name. When a script is saved, its file name is displayed in the Script file field of the Create Test Script section.

Add Delay Adds a sleep command to the test script. You are prompted to specify the duration. The default is 500 milliseconds.

Add Pause Adds a pause command to the test script. When the pause command is encountered, the script stops until you start the script again.

Import Events Adds an import command to the test script. If you select File containing events, you are prompted for an XML file that contains a list of Common Base Events to be imported. If you select IBM Business Monitor recorded events, you can use the events that have been recorded as the server was running. If you select Extract events from CEI database, you are prompted to choose the set of Common Base Events that will be extracted from the CEI database and put into an XML file to be imported.

Move Up Moves the selected event or command up one position in the test script.

Move Down Moves the selected event or command down one position in the test script.

Edit Edits the selected command or event. If you select an event that you previously created in the Add Values to Events section and click Edit, the event data elements are loaded into the Common Base Event data tables in the Add Values to Events section. The Save Edited Event and Cancel Edit buttons become available in the Add Values to Events section.

The pause command cannot be edited.

Remove Deletes the selected command or event from the script.

Run Script Runs commands in order from top to bottom, beginning with the currently selected command.

Stop Emitting Events If the script is running, aborts the execution of the running command and the script as a whole.

Use the Integrated Test Client to send events