Service Virtualization

  • 1.  tcp  conversation examples

    Posted Jun 14, 2017 09:59 PM

    anyone  can  provide tcp  conversation examples with rrpair Project for me ,ths.



  • 2.  Re: tcp  conversation examples

    Posted Jun 19, 2017 11:20 AM

    Hi, 

     

    Which version of DevTest are you using?

     

    TCP Virtualization by recording has been introduced in DevTest from version 9.0. Here is the link to the documentation for the same - Virtualize Services via Recording (TCP) - DevTest Solutions - 9.0 - CA Technologies Documentation 

     

    For the verions prior to that, you can create a TCP VS using RR Pairs - 

     

    Please refer to the DevTest documentation here:- "Home >> Using >> Using CA Service Virtualization >> Using the Workstation and Console with CA Service Virtualization >> Creating Service Images >> Create a Service Image from Request-Response Pair" of DevTest documentation. 

     

    Doc link for 9.0 - Create a Service Image from Request-Response Pair - DevTest Solutions - 9.0 - CA Technologies Documentation 

    ************** Extract ********************************* 

    The request/response pairs should be named with a unique identifier, then a "-req" on the request side and a "-rsp" on the response side, with an .xml or .txt extension. For example, addUserObject-req.xml and addUserObject-rsp.xml. 

    Note: A request can have multiple responses. Using the previous example, the following file names would create one request with three responses. 
    addUserObject-req.xml 
    addUserObject-rsp1.xml 
    addUserObject-rsp2.xml 
    addUserObject-rsp3.xml 

    VSE generates a transaction for each request/response pair in the directory you specify. For HTTP/S, the files must contain the entire SOAP envelope and the header 

    ************** End Extract ********************************* 

    This requirement is possible to achieve using RR Pairs.

     

    Hope this helps. 

     

    Thank you 

    Neelima K