Managing more than ten rules is now smoother with an upgraded, stable interface.
Read the whole post
Beeceptor now supports localized test data for mock responses, enabling you for region-accurate demos.
You can set a preferred locale per endpoint, and Beeceptor will generate names, addresses, phone numbers, dates, and more based on that region. The synthetic data generation is supported in Portuguese, Spanish, English, French, Indonesian, or Chinese languages.
Beeceptor supports path templates that work the same way developers define routes in Django, Spring Boot, Express, FastAPI, and Rails. Write something like /orders/:orderId/items/:itemIndex and it matches just as you expect. Beeceptor extracts each named parameter, URL-decodes it, and makes it available in responses using below syntax:
/orders/:orderId/items/:itemIndex
{{pathParam 'orderId'}}
A rule matching with path template ensures -
Try today, and keep your mock rules clean instead.
Beeceptor’s stateful lists just became far more powerful! You can now simulate dynamic data structures like stacks, queues, sets, and arrays — bringing real-world stateful API behavior in your mock services.
The upgraded list now supports several intuitive operations:
size
shift
The new Body Parameter Matching operator enhances request matching for REST APIs that send structured JSON data in the request body. Beeceptor now parses the body and evaluates specific parameters—making it possible to match requests based on nested fields or items in an array.
You use dot notation to reference any field within a JSON data. This is like XPath, but for JSON. For example, match requests using keys like user.email, user.demographic.country, or user.addresses.0.city.
user.email
user.demographic.country
user.addresses.0.city