Skip to main content

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

VariableDescriptionExample Output
{{$randomInt}}Random integer between 0 and 999742
{{$randomFloat}}Random float between 0 and 10.4821
{{$randomBoolean}}true or falsetrue
{{$randomUUID}}UUID v4550e8400-e29b-41d4-a716-446655440000
{{$timestamp}}Current Unix timestamp (seconds)1710000000
{{$isoTimestamp}}Current ISO 8601 datetime2026-03-12T10:30:00.000Z
{{$randomEmail}}Random email addressuser742@example.com
{{$randomFirstName}}Random first nameAlice
{{$randomLastName}}Random last nameJohnson
{{$randomUrl}}Random URLhttps://example-742.com
{{$randomIp}}Random IP address192.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.