Response Configuration

Overview

Once API Simulator matches a request and determines which simlet it is for, it constructs the response to return based on the simlet response configuration.

Notice that by default API Simulator streams the response back as it is being built. This makes it possible for API Simulator to return very large responses while running with only few MB of memory.

There are two types of responses with respect to the data they return:

  • Stubs/mocks, and

  • Dynamic responses.

Stubs/Mocks

Stubs/mocks are practically canned responses - responses that don’t change between requests for the same simlet.

Dynamic Responses

Dynamic responses, as their name suggests, are built dynamically per request and can change from one request for a simlet to the next.


We would love to hear your feedback! Shoot us a quick email to [feedback at APISimulator.com] to let us know what you think.

Happy API Simulating!