Service Virtualization

Regarding Magic date in VSI

  • 1.  Regarding Magic date in VSI

    Posted Dec 24, 2015 06:05 AM

    Hi All,

     

    The magic date present in the response follows this format: YYYY-MM-dd'T'HH:mm:ss.SSSZ   but i have to apply the magic date only on YYYY-MM-DD the time stamp should be constant.

     

    Example :2015-12-26T12:00:00.000+0000

     

    In this I should apply magic date for YYYY-MM-DD.

     

    It should be like:  {{=doDateDeltaFromCurrent("yyyy-MM-dd","2D");/*2015-12-26*/}}T12:00:00.000+0000

     

    I tried different option by changing magic date property in Lisa.properties but no luck. Can anyone please provide input ?

     

    This is REST service 1000+ transaction will be recorded. The dotcom application will display the values based on time and date, so i need to achieve this behavior while recording.

     

     

    Regards,

    Hariharasudhan M