Service Virtualization

  • 1.  Is it possible to virtualize using JSON in LISA7.5?

    Posted Jan 30, 2017 06:17 AM

    Hi,

    I want to know if by using JSON pairs can we virtualize in LISA 7.5?

    Or do i have to convert the JSON to XML files and then virtualize?

     

    Regards,

    Careyann



  • 2.  Re: Is it possible to virtualize using JSON in LISA7.5?

    Broadcom Employee
    Posted Jan 30, 2017 01:35 PM

    This Communities link might be helpful:

     

    Virtualizing JSON message using RR pairs 



  • 3.  Re: Is it possible to virtualize using JSON in LISA7.5?

    Posted Jan 30, 2017 04:12 PM

    cr004d are you running 7.5 or 7.5.1?  

    For some reason, I recall that the JSON DPH in 7.5 did not handle the HTTP headers when recording from R/R pairs.  It worked for live system recording.  And, I believe the 7.5.1 upgrade resolved the issue.  Sorry, but I no longer have an instance of 7.5 to verify against.  

     

    I recall creating a DPH to read JSON R/R pairs, construct a Basic HTTP Request, and parse the headers into DevTest meta data properties.  I believe it was for 7.5, but it could have been for a 6.x or 7.1 version. 

     

    I would encourage anyone out there to correct me if I am wrong so that you are not misled.



  • 4.  Re: Is it possible to virtualize using JSON in LISA7.5?

    Posted Jan 31, 2017 07:31 AM

    Hi Joel,

    I am referring to 7.5 so i guess it won't work based on your comment.



  • 5.  Re: Is it possible to virtualize using JSON in LISA7.5?
    Best Answer

    Posted Jan 31, 2017 07:47 AM

    If you are using the recorder between the SUT and Live Endpoint, I would say yes it works.  

    Since you are using R/R pairs, your best bet is to review the link above ( Virtualizing JSON message using RR pairs ) about creating a proper REST header and try it out.  

     

    A test to determine if 7.5 will parse the headers correctly should only take a few minutes.  Copy/paste from the example and send it through the recorder to see how it behaves.  Like I said, I may be recollecting an issue with an earlier version so safest bet is to try it.



  • 6.  Re: Is it possible to virtualize using JSON in LISA7.5?

    Posted Feb 01, 2017 01:55 PM

    Careyann,

     

    Did Joel's last update help you out?

     

    Regards,

    Reid