Setting up the workload

Set up the workload simulations by using the provided jobs, and configure VTAM® to connect Workload Simulator to the application.

About this task

When you configure and customize the general insurance application, the programs for Workload Simulator are also customized. By default, you can simulate a 3270 workload that runs transactions to add customer and policy records to the database. You can also simulate a web services workload if you have completed the web services scenario.

Procedure

  1. Run the @ITPSTL job in the CNTL data set to translate the Workload Simulator programs into executable scripts.
    These programs simulate terminal and web service requests to the application. The scripts are saved in the USRHLQ.CB12.MSGTXT data set, where USRHLQ is the high-level qualifier that you used for the application data sets.
  2. To set up the web services workload, edit the member GENAPP in the USRHLQ.CB12.WSIM data set.
    This data set contains all the source programs for Workload Simulator. The GENAPP member defines the Workload Simulator network. It contains a simulation for a 3270 device, and a web service device that is commented out. To run a web services workload, remove the comments and edit the following values:
    1. Change the STCPPORT value to the port number of the TCPIPSERVICE resource that you created for web service requests.
    2. Change the SERVADDR value to the IP address of the z/OS® system.
    The following example shows a network that can run both the 3270 and web service workloads through the application:
    *                                                 
    GNWSSSS  VTAMAPPL                                 
    LUSS201  LU       FRSTTXT=#ONCICS,Path=(ADDTRANS) 
    *                                                 
    STCP001   TCPIP   TCPNAME=TCPIP,                 
                      STCPPORT=8080,                 
                      SERVADDR=127.0.0.1,         
                      BUFSIZE=32767,                 
                      MLEN=32767                     
    LUWS001   DEV     TYPE=STCP,PATH=(WEB1)
  3. Add a VTAM node called GNWSSSS to the VTAMLST concatenation in z/OS Communications Server.
    The VTAM node is required by Workload Simulator to connect to the application. The VTAM node must match the VTAMAPPL value in the Workload Simulator network.
  4. Activate the VTAM node using the VARY command.

Results

You have set up the scripts for Workload Simulator and created a VTAM node in z/OS Communications Server.

What to do next

Run the workload and view the results.