This is a step-by-step introduction to Rational® Integration Tester (RIT) for new users. It avoid, as far as possible, reference to use of a particular technology so the basic functionality of the product is seen more clearly. For more in-depth information on the product, see my reading list.
The main facilities provided by RIT and associated products are:
- Run tests and save the results.
- Model services - using various forms of inspection of the environment under test RIT can form a model described as a collection of services.
- Virtualize services
- Either by starting from scratch, or by recording information from a live service, RIT can by used to build a service "simulator"
As the simulator doesn't react identically to the live service, and often provides a subset of the live services functionality, it is referred to as a stub (coming from the English word describing a short remaining piece, as of of a pencil, cigar, or candle).
- With the service simulation running, RIT can redirect traffic from the live service to the simulator, thereby virtualizing the service.
With all of these facilities in play, you can easily develop strategies to test complex interconnected services when the live services may be unavailable, or prohibitively costly to connect to just for testing
Running Tests and saving the results.
- How to create a test with a log action which just logs the message "Hello World".
- How to run the test within Rational® Integration Tester.
- How to set up a Results Database.
- How to associate the database with a Rational® Integration Tester project.
- How suites are required in order to be able to save test results.
- How to view test results in the Results Database, via the Rational® Integration Tester Results Gallery.
- How to run the test suite from the command line.
- How to run the test suite using Ant.
- How to model a service, using the "echo" web service that is integrated in RTCP.
From Rational Integration Tester - ready-to-run example projects now available for download ....you can download demonstration material, including a pre-built RIT project and a calculator application. The material covers....
- Running the calculator application
- Running the test suite
- Recording the calculator application
- Temporarily replacing the calculator web service with the "VirtualCalculator" stub (for 5 minutes)
- Temporarily replacing the calculator web service with the "2+2=5" stub (for 5 minutes) - this nicely demonstrates RIT's sift-and-pass-through facility.
- Replacing the calculator web service with the "VirtualCalculator" stub, deployed to an agent.