Use of _time function in JMeter
In the 14th issue of ZOOXIN original,
sometimes during interface testing, its parameters need to be timestamp or date format data. To solve this problem, you can use the _time function that comes with JMeter to solve the above problems
. Steps:
1. Generate a _time function through the function assistant:
2. If the parameter is a timestamp, the formula is:
${__time(,)}: By default, the formula is accurate to the millisecond level, with 13 digits
${__time(/1000,)}: The formula is accurate to the second level, 10 digits
3. If the parameter needs to be the current date, the formula is:
${__time(yyyy-MM-dd,)}
${__time(YMDHMS,)}
4. The execution result is:
- End -
Author: Brain hole big food goods Leo likes specializes in technology, diligent summarized, make friends with words, good and love to kill one life, happy to share a technical madman.
Software Tester
I heard that this account can kill the leader
· Guess the article you like·