Skip to content

Launch a multi-micro scenario and test the flow

Goal: several micros launched at once, talking to each other, to test a complete flow.

In Scenarios → New scenario, check all the micros that take part in the flow and save it.

In the Dependencies panel, for the calls between micros of your scenario, choose local: this way each micro points to the peer launched alongside it and you test the real communication. The dependencies on cores that are not part of the scenario, leave them as cloud or mock as you prefer.

For local resolution to work, the target core has to be in the scenario; if not, MicroLab warns you.

The one you’re going to work on, native (fast); the background ones, container (isolated). It’s optional: you can leave them all native.

Click ▶ Start. MicroLab resolves the ports, rewrites the URLs between micros and launches them. When they are Healthy:

  • Use the Table or Cards view to open each micro’s Swagger or health and copy their URLs.
  • Send your entry request to the first micro of the flow and watch in Logs how the call travels down the chain.
  • The Graph shows you who calls whom and with what resolution.