Dynamic Data
Generate realistic, randomized test data on every request using our built-in Faker.js engine.
How it Works
Static mocks are brittle. If your frontend expects a list of 10 unique users, copy-pasting JSON 10 times is tedious.
Mock66 solves this by integrating Faker.js. When you define a field as "Dynamic", we don't store a value; we store a recipe. Every time you hit the endpoint, we execute that recipe to generate fresh data.
Request 1
json
Request 2
json
Enabling Generators
In the Visual Schema Editor, every field has a toggle switch.
- 1
Toggle the Switch
Click the icon to switch from Static to Generator mode.
- 2
Select a Method
A dropdown will appear showing available methods (e.g.,
internet.email,finance.amount).
Popular Categories
We support the standard Faker API. Here are the most commonly used generators:
Person
- person.firstName
- person.lastName
- person.fullName
- person.jobTitle
Internet
- internet.email
- internet.userName
- internet.ip
- internet.avatar
Finance
- finance.amount
- finance.currencyCode
- finance.creditCardNumber
Date
- date.past
- date.future
- date.recent
- date.birthdate
UUIDs: Use
string.uuid to generate unique identifiers for your database primary keys.Consistency & Uniqueness
- By default, data is stateless. This means if you create a "User" and get ID
123, requesting/users/123immediately after will likely return a 404 or a different user, because the "database" effectively resets on every request. - Mock66 is designed for stateless UI testing (e.g., "Does my table render 50 rows correctly?") rather than stateful integration testing (e.g., "Create user -> Login as that user").