Using CICS® web services for HTTP traffic

You can use CICS® web services to record, redirect, or create stubs for HTTP traffic. CICS® programs can make available or use HTTP-based web services.

About this task

HCL OneTest API can be used to do these tasks.

  • Test a CICS® program that is available as an HTTP web service.
  • Virtualize an HTTP-based web service that is called from a CICS® program.
  • Use the HTTP client open exit XWBOPEN to specify an HTTP proxy for the CICS® programs to use.

You can then use the HTTP/TCP proxy from the HCL® Quality Server to test HTTP traffic.

To record or virtualize a web service that is called from a CICS® transaction:

Procedure

  1. Ensure that CICS® uses the HTTP proxy included in the HCL® Quality Server.
  2. Configure CICS® to use an HTTP proxy by using the HTTP client open exit XWBOPEN.

    For information about how to specify an HTTP proxy for CICS®, go to HTTP client open exit XWBOPEN.