Built-in Variables
Rostyman includes built-in dynamic variables that generate random or time-based values at the moment a request is sent. No setup required — just use them directly.
Reference
| Variable | Description | Example Output |
|---|---|---|
{{$randomInt}} | Random integer between 0 and 999 | 742 |
{{$randomFloat}} | Random float between 0 and 1 | 0.4821 |
{{$randomBoolean}} | true or false | true |
{{$randomUUID}} | UUID v4 | 550e8400-e29b-41d4-a716-446655440000 |
{{$timestamp}} | Current Unix timestamp (seconds) | 1710000000 |
{{$isoTimestamp}} | Current ISO 8601 datetime | 2026-03-12T10:30:00.000Z |
{{$randomEmail}} | Random email address | user742@example.com |
{{$randomFirstName}} | Random first name | Alice |
{{$randomLastName}} | Random last name | Johnson |
{{$randomUrl}} | Random URL | https://example-742.com |
{{$randomIp}} | Random IP address | 192.168.1.42 |
Example Usage
Create a user with random data:
{
"id": "{{$randomUUID}}",
"email": "{{$randomEmail}}",
"name": "{{$randomFirstName}} {{$randomLastName}}",
"createdAt": "{{$isoTimestamp}}"
}
Unique request ID header:
X-Request-ID: {{$randomUUID}}
Each time you send the request, new values are generated automatically.