Introduction
Front-end development often relies on back-end API, and it is difficult to start the front-end work without the back-end API in place. Thats why we have Mock to deal with this issue. With Mock, front-end and back-end can cooperate concurrently. While back-end API is getting ready, front-end developers can utilize Mock to generate dummy data for development and debugging.
Smart Mock
When you do not provide mock rules for the fields in the return response (or data structure), the system will automatically generate realistic mock data without any manual configuration.
Advanced Mock
View details for advanced mock here.
Cloud Mock
The cloud mock feature is well-suited for collaborative scenarios within a team. The cloud mock address is a fixed address relative to the local mock address, through which other members can access the cloud mock server.
Default Mock
You can adjust the order in which the API mock engine takes effect. Go to "Settings" → "Mock Settings" to set the default mock priority method.
Self-hosted Runner Mock
The Runner Mock is designed for scenarios where an intranet or private network requires the ability to provide Mock services. Actual requests are sent to the server where the Runner is located, and then the Runner returns Mock results by providing Mock services.