Home / Companies / WireMock / Blog / January 2025

January 2025 Summaries

3 posts from WireMock

Filter
Month: Year:
Post Summaries Back to Blog
WireMock Cloud can be deployed on Kubernetes, offering full API virtualization capabilities within a self-managed environment, which is ideal for air-gapped or highly-regulated industries that require limited connectivity. This Kubernetes edition allows teams to maintain control without sacrificing functionality, as it includes Kubernetes-native deployment features such as Helm charts, automated scaling, and monitoring, while supporting enterprise-grade performance and flexible database options. The solution ensures seamless upgrades and integrates OpenID Connect for user authentication, enabling teams to conduct API development and testing with the same reliability and ease found in the hosted version. This deployment method allows for scalability, from handling minimal test cases to simulating high-traffic production workloads, and provides the flexibility to run on-premises, in private clouds, or within restricted networks, thereby extending the WireMock experience to environments where external hosting is not feasible.
Jan 30, 2025 459 words in the original blog post.
The testing pyramid, introduced by Mike Cohn in 2004 and formalized in his 2009 book "Succeeding With Agile," has been a staple in agile methodologies, emphasizing a hierarchy of unit, integration, and end-to-end tests for software development. However, advancements in technology and development practices have challenged its relevance, leading to a shift towards a broader testing approach known as the "test trophy" or "test diamond," where integration tests play a more significant role. Modern tools and frameworks have reduced the cost and complexity of integration testing, enabling developers to run comprehensive tests quickly through public interfaces without excessive resources. This evolution allows for more robust and scalable testing strategies that accommodate large-scale refactoring and decoupling from external systems, suggesting that the traditional pyramid structure may no longer be the optimal model. As a result, developers are encouraged to adopt more flexible and efficient testing methodologies that better align with contemporary technological capabilities and project-specific needs.
Jan 20, 2025 770 words in the original blog post.
OAuth2, a widely-used protocol for app authentication, often complicates app development and testing due to the necessity of logging in through an external identity provider (IdP), which can slow down processes and create dependency issues. To address this, a mock IdP using the open-source tool WireMock can be implemented, providing a local, fast alternative that eliminates the need for extensive data management. This approach allows developers to simulate an OAuth2 IdP during development and testing, streamlining the login process and ensuring tests start from a clean state without maintaining separate user databases. By integrating WireMock with Spring Boot's OAuth2 security modules, developers can configure a basic app with OAuth2 authentication, using WireMock as a stand-in for the production IdP, thus enhancing development efficiency. This setup not only accelerates the development workflow but also allows for customization of user info and ID tokens, making it adaptable to specific requirements without the burden of managing test data synchronization.
Jan 16, 2025 1,662 words in the original blog post.