Service Virtualization

  • 1.  How to update VSI?

    Posted May 24, 2017 09:40 AM

    How to update VSI

     

    In VSI below Code value is random code generator alphanumeric but Alpha characters are in Upper Case I want in lower case. How to update that in VSI?

     

    The VSI Response expected value is ' "Code_value" ' but if I put double quote then getting ' "{{CODE}}" '. So how I can put double quote in VSI and pass the argument too.

     

    {
    "status": "S",
    "traceId": {{Code}},
    "emailAddress": {{=request_emailAddress;/*qatest2850@vmware.com*/}},
    "displayName": "qatest2850 qatest2850",
    "message": "Email address is successfully verified",
    "valid": true
    }



  • 2.  Re: How to update VSI?
    Best Answer

    Broadcom Employee
    Posted May 31, 2017 11:13 PM

    Try the below Response:

     

    {
    "status": "S",
    "traceId": {{=Code.toLowerCase();}},
    "emailAddress": {{=request_emailAddress;/*qatest2850@vmware.com*/}},
    "displayName": "qatest2850 qatest2850",
    "message": "Email address is successfully verified",
    "valid": true
    }

     

    This should work.. 

     

    Thanks

     

    Shiney.