Requests Last Week
Developers are often blocked waiting for third-party APIs to be delivered.
Integration or acceptance tests may fail due to dependent APIs being unavailable.
Creating self-hosted mocks involves not only the implementation of their business logic but also other boilerplate, time-consuming tasks.
It can be challenging to test failure integration scenarios with live systems.
SMS, email sending, or any other billable transactions may generate additional costs.
Setting up a state in a live system may be a time-consuming process that lengthens the time needed to execute a test suite, and slows down the test feedback loop.
You don't need a credit card. We have a Free plan for those who want to check what is SmartMock.io and how to use its features to deliver more reliable software faster.
Create or import your first workspace. You may specify your own or generate a random subdomain which creates an HTTP(S) address uniquely identifying a particular workspace.
Adjust or add mocks using one or more request-matching mechanisms like comparing the path, query parameters, or header values.
Copy a workspace's HTTP(S) address and add it to the configuration file of the service you would like to test. Now you are ready to run tests without the need to call live third-party services.
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.