IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Create monitor models > Generate monitor models > Generate from applications outside the workspace > Earlier versions of WebSphere Integration Developer and IBM Integration Designer

Testing monitor models created in earlier versions

To test monitor models based on applications created in WebSphere Integration Developer 6.1, 6.2, or 7.0 or in earlier versions of Integration Designer, you can run the application using the Process Server test environment for that version, capture the events with a script, and use the Integrated Test Client to play back the events in the Business Monitor V8.0.1 test environment.

To use the Monitor test environment to test the monitor models:


Procedure

  1. To capture the events, use WebSphere Integration Developer 6.1, 6.2, or 7.0 or the earlier version of Integration Designer to run the application using the Process Server or WebSphere Enterprise Service Bus test environment. When events are emitted by the application, they are captured in the Common Event Infrastructure (CEI) database and can be viewed in the Common Base Event browser.

  2. Once the events are visible in the Common Base Event browser, use the eventQuery.bat file or the eventQuery.jacl script to extract the events from the CEI database. (These files are command-line files provided with Integration Designer as part of the WebSphere Application Server installation.)
  3. Edit the resulting file to make it a valid XML file as follows:

    1. Remove the top two header lines. (They begin with WASX.)

    2. Add <CommonBaseEvents> as the top line of the file and </CommonBaseEvents> as the last line of the file.
    You might also want to look at the order of the events in the script and see if you need to re-order them before they are emitted by the Integrated Test Client.

  4. To start the Integrated Test Client, right-click the monitor model in the Project Explorer view of the Business Monitor development toolkit 8.0 and click Launch Integrated Test Client.

  5. Create a new test script by clicking Create new ITC script

    .

  6. Add a line to the script to import the events from the XML file, by clicking Import events

    , and selecting File containing events. Navigate to the XML file and click Finish. A command to import the XML file is added to the script.

  7. Run the script by clicking Run Script

    .


What to do next

Alternatively, you can set up a test environment that includes the following:

For more information about configuring a server in a different cell, see "Configuring how to receive events."

Generate monitor models from WebSphere Integration Developer and IBM Integration Designer 7.5


Previous topic: Generate monitor models based on application monitoring information from WebSphere Integration Developer


Next topic: Remove the application monitoring update from WebSphere Integration Developer