Service Virtualization

 View Only
  • 1.  CICS Static Virtual Service

    Posted Sep 17, 2019 11:42 AM
    Hi Folks, i have a questions, there is a way to create static virtual services for CICS ? using RR Pair an Copybooks?

    Regards,

    ------------------------------
    [Julio C. Ramos]
    [DevOps]
    [IT Business Solutions DEF]
    [City]
    ------------------------------


  • 2.  RE: CICS Static Virtual Service

    Posted Sep 18, 2019 01:05 AM
      |   view attached
    Hi Julio,

    With R-R Pairs, you can use the "CICS Copybook Data Protocol". This will require the copybooks & definition files. PFA the screenshot for the same.

    Thanks.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 3.  RE: CICS Static Virtual Service

    Posted Sep 18, 2019 09:08 AM
    Hi Jain, thanks for your  answer.

    I can see for get this that is required having the CICS and LPAR agents configured.

    I can set any program name for it in any CICS an LPAR?


    Regards,


    ------------------------------
    [Julio C. Ramos]
    [DevOps]
    [IT Business Solutions DEF]
    [City]
    ------------------------------



  • 4.  RE: CICS Static Virtual Service

    Posted Sep 19, 2019 01:44 AM
    Hi Julio,

    LPAR and CICS agents are required when you are creating virtual services using recording mode. Once you have the messages available either in logs or via some other medium, you can use R-R approach to create services in the absence of agents.

    Kind Regards.
    Vaibhav J

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 5.  RE: CICS Static Virtual Service

    Posted Sep 19, 2019 08:20 AM
    Hi Jain,

    I´m getting an error when the steps ask me for the transport protocol configuration where i don't have right now CICS agents available.

    I have the pair for request and responses, and the copybooks bundled created.

    Regards,

    ------------------------------
    [Julio C. Ramos]
    [DevOps]
    [IT Business Solutions DEF]
    [City]
    ------------------------------



  • 6.  RE: CICS Static Virtual Service

    Posted Sep 19, 2019 08:26 AM
    Could you please share the files along with the copybooks and mapping files.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 7.  RE: CICS Static Virtual Service

    Posted Sep 19, 2019 09:41 AM
      |   view attached
    Sure Jain, im using to test this feature some files i have found here in the community. Here the .zip file.


    Regards,

    ------------------------------
    [Julio C. Ramos]
    [DevOps]
    [IT Business Solutions DEF]
    [City]
    ------------------------------

    Attachment(s)

    zip
    158031.zip   1 KB 1 version


  • 8.  RE: CICS Static Virtual Service

    Posted Sep 19, 2019 12:01 PM
    ​Hi Julio,

    The issue seems to be with the mapping file as it was not having all the required details. Also, the message was missing one char. I was able to replicate the scenario and generate the XML with modified messages.

    Please find below the request message along with mapping file to be used. I am not able to upload the file because of some issue. Hence copying the mapping file content below:


    -------Request Payload --------- (Remove double quotes)----------------------------------------------

    "VIRTUSAPOLARIS                MANGALVEDHEKAR AKSHAY  DOMBIVLI  PUNE      MAHARASHTRA    "

    -----------End of Request Payload-----------------------------------------------------------------------------------

    ----------------Mapping XML----------------------------------------------------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <payloads>
       <payload name="VJ" type="request" matchType="all" key="CITY"  value="PUNE"  keyStart="63" keyEnd="66" saveHeaderFooter="false">
          <section name="Body">
             <copybook>request.txt</copybook>
          </section>
       </payload>
    <payload name="VJ" type="response" matchType="payload" key="STATUS" value="SUCCESS" keyStart="1" keyEnd="9" headerBytes="0" footerBytes="0" saveHeaderFooter="true">
          <section name="Body">
             <copybook>response.txt</copybook>
          </section>
       </payload>
    </payloads>

    -------------------------------------------------------

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------