March 2025 Summaries
6 posts from WireMock
Filter
Month:
Year:
Post Summaries
Back to Blog
WireMock has introduced a new CLI-based feature that allows developers to record and simulate non-public APIs locally, overcoming the limitation of needing web service access for recording. This feature is particularly useful for APIs that operate within private clouds or require advanced authentication, such as microservices. By installing the CLI, users can record API traffic on their local machines, even behind firewalls, and update their WireMock Cloud stubs instantaneously. The CLI supports client certificate authentication, facilitating the capture of traffic to and from mTLS-secured microservices. This innovation aims to provide a faster and more empowering way for developers to set up mock endpoints, enabling them to simulate APIs that are not publicly accessible or not yet live. This approach allows developers to maintain their workflow while creating high-resolution mocks without needing extensive prior knowledge of the APIs.
Mar 24, 2025
545 words in the original blog post.
Core 4 is a framework for assessing engineering productivity by examining four key dimensions: Speed, Effectiveness, Quality, and Impact. WireMock Cloud aids in improving these metrics by allowing teams to simulate APIs, which accelerates development by removing dependencies on unfinished or unreliable external systems. Speed is evaluated through pull requests per engineer per week, which increases when teams can work in parallel using mock environments. Effectiveness is gauged by the Developer Experience Index, with WireMock Cloud enhancing developer satisfaction by offering stable environments free from third-party disruptions. Quality is measured by Change Failure Rate, and by using WireMock Cloud, teams can run tests more consistently, catching bugs early and reducing production issues. Impact reflects the time spent on new capabilities, boosted by WireMock Cloud's ability to facilitate immediate API mock-ups and more efficient development cycles. Together, these dimensions provide a comprehensive picture of productivity, and WireMock Cloud helps teams maintain a high level of performance and innovation by eliminating common bottlenecks.
Mar 21, 2025
1,094 words in the original blog post.
WireMock Cloud has introduced a new automation feature to simplify the creation of stateful mocks, which are particularly useful for testing multi-step application flows and reflecting app state changes. This feature allows users to easily set up a full set of stateful stubs with REST endpoints through an automated workflow, significantly reducing the complexity and time required to implement stateful mocking. By using a REST template, users can configure endpoints with a collection path, sample request, and expected response, and WireMock Cloud will automatically generate CRUD endpoints with persistent state management. This innovation aims to make stateful mocking more accessible to developers by eliminating the need for in-depth knowledge of templating or state management, thus enhancing testing, prototyping, and development processes. The feature is available in all WireMock Cloud plans, including the free edition, and interested users can learn more through live demos and interactive sessions with the WireMock team.
Mar 20, 2025
415 words in the original blog post.
DX Core 4 is a new framework designed to address the long-standing challenge of measuring developer productivity by unifying aspects of the popular DORA, SPACE, and DevEx frameworks, and it focuses on four key metrics: Speed, Effectiveness, Quality, and Impact. While the WireMock team approached it with skepticism due to past experiences with productivity metrics, they found that DX Core 4 aligns well with their perceptions of productivity, providing tangible targets for team reflection and process discussions. The framework's ease of use, quick self-assessment, and readily available metrics offer a non-intrusive way to establish a baseline for progress, contrasting with more complex systems like DORA. Although the team is undecided about fully adopting DX Core 4, they appreciate its contribution to the ongoing discourse on measuring engineering effectiveness and plan to use it for periodic comparisons throughout the year.
Mar 18, 2025
817 words in the original blog post.
WireMock version 3.12.1 has been released, featuring bug fixes, performance improvements to XML utilities, and updates to dependencies. Users are encouraged to upgrade to this version, available for download as a standalone jar or via updated Docker images, with dependencies accessible in Maven Central. The release includes fixes such as the use of a thread-local document builder and handling unbound namespace prefixes when printing XML. Additionally, there are dependency updates like upgrading the jackson-bom, awaitility, and json-schema-validator libraries, as well as changes to the fileName property in the request-pattern schema. Users can find more information and support through the WireMock Community Slack channel.
Mar 06, 2025
231 words in the original blog post.
API simulation, or API mocking, is a practice used by developers to create realistic API responses for testing applications without relying on live systems, offering benefits like faster development cycles, predictable test results, and lower costs compared to full integration environments. Despite its advantages, some teams are skeptical of API simulation due to issues like low-fidelity implementations and maintenance difficulties, which can lead to gaps in test coverage and unexpected failures in production. While critics argue that fully integrated environments are more reliable, they also face challenges such as handling legacy services and slower response times. The key to effective API simulation lies in creating high-fidelity mocks that accurately replicate real-world conditions, a strategy championed by WireMock, which emphasizes maintaining up-to-date simulations and validating them against OpenAPI standards. Ultimately, the most successful approach combines API simulation with integrated testing, using each where appropriate to balance speed, cost, and reliability in the development lifecycle.
Mar 04, 2025
942 words in the original blog post.