Skip to content

Instantly share code, notes, and snippets.

@appkr
Last active Jul 24, 2019
Embed
What would you like to do?
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