Home / Companies / WireMock / Blog / March 2023

March 2023 Summaries

3 posts from WireMock

Filter
Month: Year:
Post Summaries Back to Blog
WireMock Cloud's new Chaos feature enables developers to simulate complex API failure scenarios to enhance the resilience of their applications by introducing chaos engineering practices into API testing. Initially developed by Netflix, chaos engineering is used to intentionally create controlled failure scenarios such as network latency or API response delays, allowing teams to identify system weaknesses and improve fault tolerance. The feature allows users to simulate various API failures, including socket issues, long delays, and invalid HTTP responses, thus enabling more realistic integration tests and helping to prevent production disasters by uncovering issues in a test environment. By using the WireMock Cloud web UI, users can easily configure the extent and type of failures they want to test, facilitating early problem detection and cost-effective testing. Available to all WireMock users, this innovation aims to prepare applications for real-world disruptions by offering both free and paid account holders the chance to test their systems under simulated stress conditions.
Mar 02, 2023 630 words in the original blog post.
API mocking can help development teams reduce delays caused by unavailable, incomplete, or changing internal and third-party APIs, particularly as applications adopt more microservices and progress from unit to integration testing. The discussion argues that building an in-house mock API service introduces operational challenges, including hosting and DNS configuration, HTTPS certificate management, updating mocked responses, detailed logging and debugging, keeping mocks aligned with evolving APIs, collaboration controls, and ongoing maintenance. It notes that self-hosted or open-source approaches remain viable but require engineering time for deployment, tooling, documentation, security, and support. As a commercial alternative, WireMock Cloud is presented as a managed platform that provides hosted mock APIs, trusted TLS certificates, browser-based response editing, request logs, OpenAPI import, and team access controls, with a free tier available for limited API usage.
Mar 02, 2023 1,407 words in the original blog post.
API mocking tools simulate real APIs to help development and testing continue when dependent services are unavailable or unfinished, reducing delays and enabling more realistic testing than static data alone. Selecting a solution involves deciding whether to build or buy, whether local or hosted deployment is needed, and which capabilities—such as flexible request matching, stateful behavior, dynamic responses, failure simulation, protocol support, test-data integration, collaboration, and CI/CD compatibility—fit current and future requirements. Available options range from inexpensive SaaS tools suited to simple use cases, API design platforms with limited built-in mocking, customizable open-source frameworks that require technical maintenance, and enterprise service-virtualization products that can be costly and complex. WireMock Cloud is presented as a cloud-native alternative built on the WireMock open-source framework, combining lightweight deployment and collaboration with advanced features including dynamic and stateful mocking, chaos engineering, API prototyping, and flexible deployment options.
Mar 02, 2023 1,442 words in the original blog post.