Service Virtualization

Expand all | Collapse all

Virtualize IBM Websphere and Flat Files Using request response

Jump to Best Answer
  • 1.  Virtualize IBM Websphere and Flat Files Using request response

    Posted 04-30-2018 06:53 AM

    Hi,

    I am trying to virtualize using request/response pairs on LISA 9.1.0.399 (I still don't have access to the newer version). The transport protocol is IBM Web sphere (I have selected IBM MQ Series (Deprecated) in the transport protocol). The request and response are flat files. For virtualizing, I have copied the request and response in txt files in a single folder with the correct file names (name-req and name-rsp). I am not sure what request data protocol should I select.

    Here are dummy examples of the request and response -

    Request -

    ZZI0<0000000001**********VMAAR270UserFCVCCCC23280000000000XM001              0000000001**********DDDjg6efi2x*********JJI0KKKK3300003JJJ20180410000000C  JJJ  JJJ-0001                                                    VC0051114208                   XEXPXX   

     

    Response -

    >X0011CXX00000   kk6efi2y    JJI0JJJJ2700003JJJ20180410000430C  JJJ  JJJ-0001                           N007 caa2db07 OOO MM                     REQUEST COMPLETED SUCCESSFULLY                      

      FC0051114208                EYPY                    N100223555589T                   IDLE NUXXX INC                                                                  8711000030  1998-03-11        

                         N                     NN          N     000000000Y GN                          N  000344NRG   NRG   NRG   NRG                                                                   

                 25 RIDER DO S # 611                                                                                                     JUUUUU CITY                     OO070000000IND0000000002        

                                                                                                                                                                                                         

                                                                                       N                                                                                                                 

                                                                 1000000008NUN                                              5000N                                                                        

                                                                                             0000                                                                      10000008140000000000000000

    {0000000000000000{0000000000000000{0000000000000000{??                                                                                                                                               

                                                              0000000000000000{NBOHSmall Business                                    NYNNNYNNNNYNNN0000000000000000{NN10/31/2017000000000NN              

                                                         N Y NNNE       000000000 000000000000{000000000000{                                                       Mxxxxxn Wxxxxxx                       

                                         N    N                                                                                RDN                                                                       

                                                                                                                        201         Y                                         NUSA   L                   

                                                                                      NPRI                                                                                            00NO SPL HANDLINGN 

          0100000001        100000000                                                                                                                                                                    

                                                                                                                                                                                                         

                                                                                N                NNNNN                    00008  IN 000010000000001                                                      

               00010101 00000000000050000008                    NNNNNNNNNN  NN   NN     00000000NV9000000001          00001NW0101000199999999                                                            

                                                                                                                                                                                                         

                                                                                                                                                                                                         

                                                                                                                                                                                                         

                                                        N                                                                                                                                                

        US                                1N                                                                           N                            L   0  0  0                                          

                          IDLE NUXXX INC                                                   A                                                                                                             

                        00ZXX                                                                                                                                                                            

                                                                                                                                                                                                         

                                                                                                                                     12/13/2016                                                          

                                                                              N                          Return Business Jigs Ringng                                                                     

          11/22/2009                                                                                                                                                                                     



  • 2.  Re: Virtualize IBM Websphere and Flat Files Using request response

    Posted 05-01-2018 05:26 AM

    Hi Vikram,

     

    This seems to be copy Book file for Virtualizing MQ services .Copy book files are structural files written in COBOL. 

    You need to use CopyBook DPH here but only that won't help. You have to create a mapping file as well.

     

    Kevin.Bowman

    Hi Kevin,

     

    Can you please help here i too want to get this clarified.



  • 3.  Re: Virtualize IBM Websphere and Flat Files Using request response
    Best Answer

    Posted 05-01-2018 02:53 PM

    Yeah, it looks like Copybook but I am no Copybook expert.  "Flat File" seems to be some kind of specific thing; it's been mentioned before on these forums.  But I've never really found a conclusive answer as to whether "Flat File" is the same thing as "Copybook".  In that other thread they were going to try and use the Delimited Text DPH, but there are number of problems that can come up with that method

     

    DevTest can infer structure from some data formats, like XML, SOAP, and JSON.  But Flat File/Copybook is not one of them.  We need help in the form of the Copybook definition files or some other kind of custom DPH that knows where the field boundaries actually are and can create VSE arguments appropriately.



  • 4.  Re: Virtualize IBM Websphere and Flat Files Using request response

    Posted 05-02-2018 04:01 AM

    Thanks Kevin.



  • 5.  Re: Virtualize IBM Websphere and Flat Files Using request response

    Posted 05-15-2018 06:29 AM

    Thanks Rahul and Kevin!!