Skip to content

Instantly share code, notes, and snippets.

@appkr
Last active July 24, 2019 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appkr/fadbb644dd1eddae5b2d71f95d065b90 to your computer and use it in GitHub Desktop.
Save appkr/fadbb644dd1eddae5b2d71f95d065b90 to your computer and use it in GitHub Desktop.
Jmeter

CSV Dataset, JDBC Request, Parameterized Controller

Random

Function

"latitude": 42.0${__Random(6,8,)},
"longitude": 20.0${__Random(2,4,)}
"latitude": ${__javaScript((Math.random() * (180) - 90).toFixed(2) * 1,)},
"longitude": ${__javaScript((Math.random() * (360) - 180).toFixed(2) * 1,)},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment