Sure, in the video I'm showing how to deploy WireMock in Kubernetes, there is no other installation required. K8s will run a pod/container from the WireMock image. Have a look at the linked materials in blog.sebastian-daschner.com/entries/acceptance_tests_wiremock_kubernetes and also feel free to see this video course that explains it with code on GitHub: blog.sebastian-daschner.com/entries/efficient-testing-video-course (esp. the system test part).
The problem of course then becomes instead: How do I keep my mocked response up to date with the external service, once the req/res are more complex than {"message":"hello"}. Maybe OpenAPI / GraphQL schema verification can help there.
Great video. Could you share details about setup/installation/deployment of wiremock to kubernetes? Thanks.
Sure, in the video I'm showing how to deploy WireMock in Kubernetes, there is no other installation required. K8s will run a pod/container from the WireMock image.
Have a look at the linked materials in blog.sebastian-daschner.com/entries/acceptance_tests_wiremock_kubernetes
and also feel free to see this video course that explains it with code on GitHub: blog.sebastian-daschner.com/entries/efficient-testing-video-course (esp. the system test part).
The problem of course then becomes instead: How do I keep my mocked response up to date with the external service, once the req/res are more complex than {"message":"hello"}. Maybe OpenAPI / GraphQL schema verification can help there.
Very informative and nicely explained.
Could you please share the files , if possible ?
You'll find the links here: blog.sebastian-daschner.com/entries/acceptance_tests_wiremock_kubernetes
Okay ... missing the most important details about the actual mock application ... useless