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.
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.
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.
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.
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.