Unanswered question

How to generate 16 digits timestamp

How to generate 16 digits timestamp in neoload.

i.e "1568792894635392"

CHINNIKRISHNA REDDY B.
CHINNIKRISHNA REDDY B.

CHINNIKRISHNA REDDY B.

Level
1
162 / 750
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

You can concatenate a date variable from NeoLoad variables using the millisecond format with a random integer variable.

CHINNIKRISHNA REDDY B.
CHINNIKRISHNA REDDY B.

CHINNIKRISHNA REDDY B.

Level
1
162 / 750
points

Hi Nouredine,

Thanks for reply.

Actually we need 16 digits timestamp it's means Microseconds timestamp in Neolaod date Variable we are able get only milliseconds timestamp i.e 13 digits only.

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

Yes that's right that's why i suggested to concatenate two variables. You can use a random variable to generate the micro/nanoseconds. For instance something like this: ${dateVariable}${RandomVariable} where dateVariable is the value in millisecond et the Randomvariable the rest of the digits. With your example it's 1568792894 and 635392