Adding the CICS® Transaction Gateway Agent to a client application
To record or virtualize requests in a CICS® Transaction Gateway Java™ client, you must add the CICS® Transaction Gateway Agent that is provided with HCL Quality Server to the client application.
About this task
Procedure
-
Download and extract the CICS® Transaction Gateway exits
package (IBMCICSTransactionGateway.zip) that is provided with HCL Quality Server into a
location.
For information about the package, see HCL OneTest API tool packages.
- Modify the classpath for the client application to include com.ibm.rational.rit.ctg.jar, which is located in the extracted CICSTransationGateway folder.
- Edit the registration.xml file, which is located in the same directory as the com.ibm.rational.rit.ctg.jar file. Verify that the server base-url attribute has the correct URL for an instance of HCL Quality Server. If necessary, correct the value.
-
If you moved the com.ibm.rational.rit.ctg.jar file from its default
installation location, do one of the following steps:
- Copy the registration.xml file into the same directory as the com.ibm.rational.rit.ctg.jar file.
- Specify the following Java™ system property when running
the client application:
-Dcom.ibm.rational.rit.registration=<location of registration.cicstg>
where
<location of registration.cicstg>
is the full path to the registration.cicstg file.