Jmeter - get current date and time

前端 未结 6 1838
情歌与酒
情歌与酒 2020-12-14 07:00

I want to get the current date and time as example date: 11/10/2014 and time 8:30 am or 6:00 pm and pass it as parameters to my Jmeter test. Can some help me do this.

6条回答
  •  一生所求
    2020-12-14 07:28

    Use this format: ${__time(yyyy-MM-dd'T'hh:mm:ss.SS'Z')}

    Which will give you: 2018-01-16T08:32:28.75Z

提交回复
热议问题