mardi 2 août 2016

JMeter make random number return float

I have this:

  "latitude": ${__Random(-85,85)},
  "longitude": ${__Random(-180,180)},

I would like to have this:

  "latitude": ${__Random(42.06,42.08)},
  "longitude": ${__Random(20.02,20.04)},

but it does not work. How to change it to have a random number between 42.06 - 42.08 and 20.02 and 20.04 ?

Aucun commentaire:

Enregistrer un commentaire