I am trying to use Venom to automate some API test, and I can use {{.venom.datetime}} to get the current date and time, like 2023-11-22T16:43:25-05:00. But I would like to get something like 2023-11-21T00:00:00 and 2023-11-21T23:59:59. How to do that?
while there is no direct way to get that from the
venomframework itself, but you can useexecsteps for that. See below examples where the date value is also stored in a var for being reused in subsequent stepsabove shell commands are for mac, similar can be found for linux using
-dparam