World Congress 2024

Fake it until you `make it`. API Integration Testing with testcontainers and WireMock

July 19, 2024 16:20 – 16:50 · 30 min STAGE 10 (120)

What this session covers

Testcontainers has become one of the most popular tools for software integration testing. If you can put your system-under-test into a container, Docker compose cluster or a pod, this is what you’re likely to use. If your target isn’t ready, not containerizable or just too heavy for testing as is, you can always use mock testing frameworks, e.g. WireMock or MockServer in the JVM ecosystem. Can you combine both approaches? Sure!

In this talk, we will classify integration testing and discuss areas for WireMock and Testcontainers, and discuss which tool to choose for each use-case. And why not both? We will discuss putting WireMock into Testcontainers, and getting best from them thanks to the new WireMock modules for Testcontainers. Last but not least, we will see how to put WireMock in front of the Testcontainers or your real system to do deeper tests or even chaos engineering.

P.S: We will focus on the Java, Golang or Python examples, but the same approaches can be used everywhere

Related talks at this congress

Open session

World Congress 2024

July 18, 2024 · 15:45–17:45

Workshop room M2 (40)

Docker Best Practices

Ajeet Raina

Developer Advocate

Ajeet Raina
Open session

World Congress 2024

July 19, 2024 · 15:00–15:30

STAGE 10 (120)

Test Intelligence for Developers

Elmar Jürgens

Data driven architecture decisions

Elmar Jürgens
Open session

World Congress 2024

July 18, 2024 · 10:50–11:20

STAGE 1 (120)

Chaos in Containers - Unleashing Resilience

Maish Saidel-Keesing

A public speaker, a creator of things, a writer of books, a contributor to community, and yes, also an ambulance driver. Senior Developer Advocate @AWS

Maish Saidel-Keesing
Open session

World Congress 2024

July 19, 2024 · 09:40–10:10

STAGE 7 (500)

Test-reduction - Doing more with less

Ewald

QA Automation Advocate

Ewald
All sessions at this congress