Recording and playing back configuration scripts using the Configuration Manager Proxy API Exerciser

You can execute a script file from the command line, a shell window, or from a batch file. Ensure the first action performed by the script is connecting to a Configuration Manager. The Configuration Manager Proxy API Exerciser sample can be used to record and play back configuration scripts.
  1. Start the Configuration Manager Proxy API Exerciser.
    • On Windows®, click Start > IBM WebSphere Message Brokers 6.0 > Java Programming APIs > Configuration Manager Proxy API Exerciser.
    • On other platforms, run the following shell script from the installation directory:

      INST_DIR\sample\ConfigManagerProxy\StartConfigManagerProxyExerciser

      Where INST_DIR is the installation directory.

    The Configuration Manager Proxy API Exerciser window is displayed.
  2. Start recording a script by clicking Scripting > Record New Script.

    The Save dialog is displayed.

  3. Type a name for the script file and select an appropriate file location.
  4. Click Save.
  5. Perform a number of actions on a Configuration Manager using the Configuration Manager Proxy API Exerciser.

    In this case the first action performed will be connecting to a Configuration Manager, however you can start recording a script at any point during the management of a Configuration Manager.

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

    A pause causes the Configuration Manager Proxy API Exerciser to wait for a period of time so that responses can be returned before the next action is issued. This is important in order to remove naming conflicts if you are deleting and recreating objects of the same name.

    The Insert a pause dialog box is displayed, which allows you to specify the duration of the pause.

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

    Information relating to the actions preformed are saved to the script file.

  8. To replay the script file, click Scripting > Play Back Recorded Script.

    The Open dialog box is displayed.

  9. Select the appropriate script file.
  10. Click Open.

    The script file is replayed.

Related concepts
The Configuration Manager Proxy samples
Related tasks
Running the Configuration Manager Proxy API Exerciser sample
Viewing and managing a broker domain using the Configuration Manager Proxy API Exerciser
Customizing the Configuration Manager Proxy API Exerciser
Modifying the Configuration Manager Proxy samples
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009. All Rights Reserved.
Last updated : 2009-01-07 15:40:21

ae33380_