1

How would you create a mock for an Aggregator Microservice (stateless) which makes requests to other services for each request, transforms the data and then responds to the user?
I want to create a mock service where I don't t have to run the other services but it should create kinda realistic responses.
Have you had to create something like this?
I'd use it for testing another microservice that uses the aggregator.

Comments
  • 3
    i probably wouldn't mock a service, but just the methods that make calls to these services

    I think it achieves the same end goal?
  • 0
    I’ve been using Smoke https://github.com/sinedied/smoke as a mock server since an year now, one of the best frameworks available.
Add Comment