Adding other scripting languages

In addition to ECMAScript, you can customize Rational® Integration Tester to use other scripting languages. The language must provide a .jar archive that implements the Java™ Scripting API and that you can embed in the product.

For more information about the Java Scripting API, see the Java Scripting Programmer's Guide.

Example: Adding Groovy script to Rational Integration Tester

For example, to add Groovy script to Rational Integration Tester, complete the following steps:
  1. From the Groovy website (http://groovy.codehaus.org/), download the latest stable release.
  2. Extract the archive file to a local directory.
  3. Copy the groovy-1.8.6\embeddable\groovy-all-x.x.x.jar file into the Rational Integration Tester installation directory:
    rit_installation_directory/jre/lib/ext/
  4. Restart Rational Integration Tester.
  5. Groovy is displayed as an option in the drop-down menu for the Function.
Note: An agent that runs stubs that include Groovy scripts must have the Groovy .jar file on its classpath. If the file is not present in the classpath, the agent throws a null pointer exception.

Feedback