Features


Static, Template, and Dynamic Responses

SmartMock.io supports three types of mocks: static, template, and dynamic. For the most uncomplicated use cases, static response bodies like JSON or XML are provided. You may also use Moustache templates and built-in helpers to to make responses more dynamic and production-like. The most complex problems may need the implementation of mocks logic in plain Javascript using the provided utility libraries.

Static, Template, and Dynamic Responses

Stateless and Stateful Behaviors

Use the state feature to simulate multi-step interaction scenarios. Setting up states in live systems may be an error-prone and time-consuming task. Dynamic mocks can do this with only a few lines of code. This feature is especially useful for more advanced acceptance test use cases and to prepare frontend-rendered user interface demos.

Stateless and Stateful Behaviors

Proxy Mocks

Selectively forward requests to real services. Use proxy mocks in conjunction with other types of mocks or response delay features within the single workspace to simulate the impossible or difficult behaviors to generate on-demand with the real services.

Easy Troubleshooting

Import from OpenAPI/Swagger

Use the import feature if you have the OpenAPI or Swagger definition of an API. SmartMock.io parses API definition, creates appropriate URL mappings, and produces sample responses for you. After the import, you may adjust generated response bodies and start reaping the benefits of a hosted mock service.

Import from OpenAPI/Swagger

Simulate Timeouts and Network Failures

Test how your services behave in error and unexpected scenarios like long response times, request timeouts, connectivity issues, and malformed responses. With SmartMock.io, you can easily simulate these scenarios.

Simulate Timeouts and Network Failures

Teams and Collaboration

Share workspaces with your teammates or business partners. They can modify and create mocks assigned to your account. Your business partners can set up mocks so you can test integration with their systems. You can also create mocks for your business partners to consume while you are still testing your application.

Teams and Collaboration

Do you think we can help you?