Ozon lead QA engineer Evgeny Stepanenko has introduced oMockman, an open-source browser extension designed to streamline API mocking for UI testing. The tool allows developers, designers, and QA engineers to intercept and replace API responses directly within Chrome DevTools without modifying backend data.
The extension supports various testing scenarios, including error handling, network latency simulation, and layout verification with long text strings. It operates by wrapping fetch and XMLHttpRequest calls, enabling users to inject custom JSON responses, HTTP statuses, and delays to simulate specific application states.
oMockman integrates AI-driven features to automate test data generation based on OpenAPI specifications. Users can define parameters for 'Happy' paths, edge cases, and error states. The tool also includes an MCP server, allowing AI agents to manage mock collections and execute test scenarios automatically.
The tool facilitates team collaboration by allowing users to export and share mock collections. This enables developers to reproduce bugs using the exact data set that triggered them, while designers can use the mocks to verify UI implementation against original design specifications.





