Testing the scenario
Follow these steps to test Scenario 12
- Start CICS® TG.
CICS TG starts successfully and reports in the log that the DSS policy, POLICY1 is enabled.For example:
CTG9902I CTG910 Policy-based DSS is active CTG9903I CTG910 Current DSS policy is POLICY1The log also reports that the web service,
myservice, has been loaded. For example:
CTG9920I CTG910 JSON web service PERFCHAN started successfully
- Send a web service request Use a web service application or simulate one using a REST Client plug-in (see Scenario SC11) to send a request to CICS TG specifying a server name of WEBCICS. You can confirm that the request went to CICSA or CICSB, by checking the use count of the CICS server program, which has increased by one.The request also increments the relevant CICS TG statistics.
- Send an ECI request. Using the
EciB1Java™ sample application, send a request to CICS TG specifying any server name except WEBCICS. This request calls CICS server program EC01 on CICSX (or CICSY if CICSX is unavailable). You can confirm that the request went to CICSX or CICSY, by checking the use count of the CICS server program, which has increased by one. The request also increments the relevant CICS TG statistics.