Testing - Mock server (Mock Backend)
About
mock server are backend application that mocks a real one by responding to request with pre-defined result.
They are used mainly in the development of web application in order to mock a Web service (such as rest)
Articles Related
Configuration
A mock server is configured as a proxy gateway in the development environment.
List
Specific
- http://jsonplaceholder.typicode.com/ - Fake data response with
- …
Proxy
proxy or/and sniffer can also respond
OpenAPI support
- https://github.com/stoplightio/prism (swagger and postman doc) - node
yarn global add @stoplight/prism-cli
prism mock -d https://raw.githack.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore-expanded.yaml
- https://www.mock-server.com/ - Java