Mockoon v9.6.0: Enhanced Dynamic Mocks
Mockoon, a popular tool for API mocking, has released version 9.6.0. This minor update focuses on expanding its templating capabilities with new request helpers, allowing for more dynamic and context-aware mock responses. This release is dated 2026-03-31 and falls under Mobile and API Testing.
Key Changes
This update primarily introduces a suite of new request helpers for advanced templating:
- URL and Query Parameter Access: New
{{urlParam 'name'}}and{{queryParam 'name'}}helpers enable direct extraction of values from URL path and query string parameters. - Request Body and Header Access:
{{body 'path'}}and{{header 'name'}}helpers provide direct access to specific parts of the request body (using JSONPath) and individual header values. - Cookie Access: The
{{cookie 'name'}}helper allows retrieving specific cookie values from incoming requests. - Comprehensive Request Object Access: A new
{{request 'property'}}helper provides access to various request properties like method, URL, path, port, protocol, hostname, IP, user agent, and more, offering granular control over mock responses based on the full request context.
For a complete list of changes, refer to the official changelog.
Impact for QA Teams
QA teams can now create highly dynamic mock APIs that respond intelligently to diverse request inputs. This improves the realism of mock environments, enabling more thorough and accurate testing of client-side logic, error handling, and data transformations without relying on actual backend services. It streamlines testing workflows, especially for complex API interactions and edge cases.
