Feature: random value helper #148

Closed
opened 2025-12-29 14:23:44 +01:00 by adam · 0 comments
Owner

Originally created by @StefH on GitHub (Oct 25, 2018).

See http://wiremock.org/docs/response-templating/#random-value-helper

Random strings of various kinds can be generated:

{{randomValue length=33 type='ALPHANUMERIC'}}
{{randomValue length=12 type='ALPHANUMERIC' uppercase=true}}
{{randomValue length=55 type='ALPHABETIC'}}
{{randomValue length=27 type='ALPHABETIC' uppercase=true}}
{{randomValue length=10 type='NUMERIC'}}
{{randomValue length=5 type='ALPHANUMERIC_AND_SYMBOLS'}}
{{randomValue type='UUID'}}
Originally created by @StefH on GitHub (Oct 25, 2018). See http://wiremock.org/docs/response-templating/#random-value-helper Random strings of various kinds can be generated: ``` js {{randomValue length=33 type='ALPHANUMERIC'}} {{randomValue length=12 type='ALPHANUMERIC' uppercase=true}} {{randomValue length=55 type='ALPHABETIC'}} {{randomValue length=27 type='ALPHABETIC' uppercase=true}} {{randomValue length=10 type='NUMERIC'}} {{randomValue length=5 type='ALPHANUMERIC_AND_SYMBOLS'}} {{randomValue type='UUID'}} ```
adam added the feature label 2025-12-29 14:23:44 +01:00
adam closed this issue 2025-12-29 14:23:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#148