IBM Integration Bus, Version 10.0.0.5 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


Recording and playing back configuration scripts using the IBM Integration API Exerciser

Use the IBM® Integration API Exerciser to record and play back configuration scripts.

About this task

You can run a script file from the command line, a shell window, or from a batch file. If you run the script by using one of these methods, ensure the first action completed by the script is to connect to an integration node.

Procedure

  1. Start the IBM Integration API Exerciser.
    • Windows platformOn Windows, run the command:
      install_dir/server/sample/IntegrationAPI/StartIntegrationAPIExerciser
    • Linux platformUNIX platformz/OS platformOn other operating systems, run the following shell script:
      install_dir\server\sample\IntegrationAPI\StartIntegrationAPIExerciser
    The IBM Integration API Exerciser window opens.
  2. Start recording a script by clicking Scripting > Record New Script. The Save dialog opens. Type a name for the script file, select an appropriate file location, and click Save.
    1. Complete one or more actions on an integration node by using the IBM Integration API Exerciser.

      If you start recording before you run actions against the integration node, the first action taken is to connect to the integration node; however, you can start recording a script at any point during the management of an integration node.

    2. Optional: Insert a pause by clicking Scripting > Insert a pause.

      The IBM Integration API Exerciser pauses so that responses can be returned before the next action is issued. Use this option to avoid naming conflicts if you are deleting and recreating objects of the same name.

      The Insert a pause dialog opens; specify the duration of the pause in seconds.

    3. Stop recording the script by clicking Scripting > Stop Recording.

      Information about the actions taken are saved to the script file.

  3. To replay the script file:
    1. Click Scripting > Play Back Recorded Script.

      The Open dialog opens.

    2. Select the appropriate script file and click Open. The script file is replayed.

What to do next

Continue to work with the IBM Integration API Exerciser, or run another sample.

ae33380_.htm | Last updated 2016-06-25 08:07:47