Forum Discussion
henil_shah
8 years agoContributor
I generally use this and works everytime in the request body.
PeterKlim wrote:
Hi, We need helping storing the current system time/date stamp into a variable.
The steps are:
DataSource > Property Transfer > CreateRequest (HTTP) > GetRequestID > Delay[1000] > CheckRequest (HTTP) > HandleResponse (GroovyScript) > DataSourceLoop
We need to set a variable = to system time/date stamp when CreateRequest and CheckRequest are submitted. Preferably it will include the hours, minutes and seconds. But right now I am unable to get system time/date value in any format at all. There are other variables we use to hold response values (such as requestID) and then write into an excel file. But we do not know how to capture the time/date stamp.
"timestamp": "${=System.currentTimeMillis()}"
Related Content
- 6 years ago
- 2 months ago
- 9 years ago
Recent Discussions
- 9 days ago