The Masters is here — and while golf pros are swinging for green jackets, we’re over here driving data into our APIs. Bruno makes that easy with built-in random variables that turn any request into a fresh new round of test coverage.
Bruno dynamic variables allow you to generate sample data on the fly. These values are generated at runtime and don’t require any setup — just drop them into your requests.
In this post, we’ll show how to simulate a golf scorecard submission using random variables and our Echo server.
When you’re testing APIs, hitting “Send” on the same data every time is like hitting the same shot every time. Boring... and definitely not real life.
Bruno’s dynamic variables let you send something different every time to better simulate an actual environment — randomized names, emails, timestamps, and more.
We’ll simulate a golfer submitting a scorecard. Here’s what we’ll send:
{
"X-Player-ID": ""
}
{
"name": "",
"email": "",
"country": "",
"tee_time": "",
"quote": ""
}
Now every time you send this request, you get a fresh golfer with unique details.
{
"headers": {
"x-player-id": "13f8c8a3-4ab5-4c2f-b128-9c61a2d727de"
},
"body": {
"name": "Leslie Hall",
"email": "leslie.hall54@example.com",
"country": "US",
"tee_time": "2025-04-10T14:32:11.842Z",
"quote": "Seamless 3rd generation extranet"
}
}
If you want to try this collection out, you can clone this GitHub repository, or click the button below to Fetch in Bruno!
Every API request should feel like a new round of golf — and with Bruno’s dynamic variables, you never know what you’ll get.
Fore! ⛳️