Originally posted by Armytech on February 12, 2026
Hi
How do I set date as a global property?
I need to set a global property that when I send the API request it will then input the current date into the call and return what i need.
Regards ArmyTech
Originally posted by Armytech on February 12, 2026
Hi
How do I set date as a global property?
I need to set a global property that when I send the API request it will then input the current date into the call and return what i need.
Regards ArmyTech
Originally posted by Armytech on February 12, 2026
What I have so far
Originally posted by nastester on February 13, 2026
I haven’t tried this personally but I would think you’d be able to use Calendar.instance
${=Calendar.instance.time.format(“yyyy-MM-dd”)}
Originally posted by groovyguy on June 12, 2026
What nastester posted works. You can use a property value of an inline groovy script expression, which is what ${=Calendar.instance.time.format(“yyyy-MM-dd”)}. Every time you reference it and send it, say in a request, it’ll grab basically a now() timestamp.
If you put it in a variable called Date, you just put ${#Global#Date} in where you want that timestamp.