Session

API Mock8s. Mocking your APIs in Kubernetes

Distributed and microservice architectures are all about APIs these days, whether you use gRPC, REST API, Websockets or any other interface. There are tools for integration testing that involve API providers, including mocking them based on OpenAPI specifications. There are even Kubernetes native tools like Microcks that are scalable and provide valuable features and observability out of the box. More classic tools, including my favorite WireMock, are available on Kubernetes too.

If you’ve ever developed for JVM or .NET stacks, most likely you’ve heard about WireMock. It's a popular open-source tool and framework for API mock testing, with over 5 million downloads per month. It has implementations and adapters for many languages, including Golang or Rust. The project offers container images and charts for K8s and Testcontainers. There are also gRPC adapters and Quarkus extensions for cloud native Java. Sounds like a good toolkit for a cloud native App development cycle, right? Let’s talk!

In this talk I will focus on using WireMock for testing Cloud Native applications in Kubernetes, including using it for common continuous delivery and deployment use-cases. We will see how to use WireMock as a standalone deployment, or together with Microcks. I’ll also show how these approaches can be used for contract testing and chaos engineering.

This is a talk heavily focused on the demos and on some live coding. I will need to present from my laptop. Good network connectivity might be needed too. The talk can be from 25 to 45 minutes

Oleg Nenashev

Community Builder, CNCF Ambassador, Jenkins core maintainer

Neuchâtel, Switzerland

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top