Forum Discussion

wen_huang's avatar
wen_huang
Occasional Contributor
15 years ago

Add assertion to check the date range

Can we have the assertion that check the return date and time is within certain date range?

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Assuming that you are getting this return date from response (since it's not quite clear from your post) you could assert it by Groovy inside "Script assertion". The same goes for asserting requests also.
    If you need further help please provide us with some more details.

    Regards,

    Dragica
    /eviware.com