Jmeter - get current date and time

前端 未结 6 1850
情歌与酒
情歌与酒 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:35

    JMeter is using java SimpleDateFormat

    For UTC with timezone use this

    ${__time(yyyy-MM-dd'T'hh:mm:ssX)}
    

提交回复
热议问题