Create and use custom responses. No need to wait for the backend!
Description : Create mock response to test your backend or downstream REST calls for any service. It can be used to integration with any service without calling actul service.
-
Spring boot application to mock API requests quickly.
-
All mock response are persisted in MongoDB.
-
Can be used to mock REST APIs
-
Can mock request to be sent to any service.
-
Mock response to any request from other service.
-
Test Service as a whole with endpoints by mocking request and response for a service.
-
Uses ReactiveMongo for db connection.
- Technology stack : Standalone Springboot appliation providing RESTful service written in JAVA 8 with Maven as Build tool and MongoDB as Database.
- Language: Java 8
- Database: MongoDb
- Framework: SpringBoot
- Build tool: Maven
- Install MongoDB or use any cloud service for mongodb.
- Run the app using spring boot or create an jar to deploy.
- Configure mongoDb instance/uri in application.yml
- Design your API response, customize headers and status
- Add network delay, if needed
- Hit submit, your mock link http://localhost:8080/mock/{mockUUID} is ready