Service Virtualization

  • 1.  Is their a way to validate dynamically response if its from meta response?

    Posted Sep 06, 2016 09:57 AM

    Hi All,

     

    I need to know if their is any way we can validate the response if its from meta response?

     

    Can above implemented?

     

    LISA/DevTest - 7.5.1/9.1.0

     

    Thanks,

    Abhishek



  • 2.  Re: Is their a way to validate dynamically response if its from meta response?

    Posted Sep 07, 2016 05:00 AM

    Hi All,

     

    Any  Idea on how this can be implemented?

     

    Thanks,

    Abhishek



  • 3.  Re: Is their a way to validate dynamically response if its from meta response?
    Best Answer

    Posted Sep 07, 2016 12:18 PM

    Hello Abhishek,

     

    In the META response you can add new meta data key to be returned -> isMeta=true

     

    and then in the VSM/ VS Image Response Selection step you can add an assertion to verify if you got the value isMeta=true.

     

    You can change what will be the next step when it finds the string "isMeta".

     

    Hope it helps, if not, please, provide more details on what you need to accomplish.

     

    Thank you,

    Heloisa



  • 4.  Re: Is their a way to validate dynamically response if its from meta response?

    Posted Sep 08, 2016 05:04 AM

    Hi Maria,

     

    Thanks for the above steps, you are correct again. Implemented above code and its working.

     

    Very much appreciated

     

    Thanks,

    Abhishek