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.

IBM® DevOps Test Integrations and APIs (Test Integrations and APIs) 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 IBM DevOps Test Virtualization Control Panel (Test Virtualization Control Panel) to test HTTP traffic.

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

  1. Ensure that CICS uses the HTTP proxy included in the Test Virtualization Control Panel.
  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.